pub struct ServPath {
pub src_path: String,
pub url_path: String,
pub not_found: String,
pub not_auth: String,
pub is_restricted: bool,
pub redirect_to: String,
}Expand description
ServPath collects dir path to server as static content
Fields§
§src_path: String§url_path: String§not_found: String§not_auth: String§is_restricted: bool§redirect_to: StringTrait Implementations§
source§impl<'de> Deserialize<'de> for ServPath
impl<'de> Deserialize<'de> for ServPath
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more