pub struct WebConfig {Show 18 fields
pub configured: bool,
pub strategy: Vec<String>,
pub cookie_name: String,
pub cookie_path: String,
pub cookie_domain: Option<String>,
pub cookie_max_age: u64,
pub cookie_same_site: String,
pub cookie_secure: bool,
pub cookie_http_only: bool,
pub local_storage_key: String,
pub global_variable_name: Option<String>,
pub prefix_default_locale: bool,
pub base_path: String,
pub trailing_slash: String,
pub redirect: bool,
pub origin: Option<String>,
pub exclude: Vec<String>,
pub localize_links: bool,
}Fields§
§configured: bool§strategy: Vec<String>§local_storage_key: String§global_variable_name: Option<String>§prefix_default_locale: bool§base_path: String§trailing_slash: String§redirect: bool§origin: Option<String>§exclude: Vec<String>§localize_links: boolTrait Implementations§
impl Eq for WebConfig
impl StructuralPartialEq for WebConfig
Auto Trait Implementations§
impl Freeze for WebConfig
impl RefUnwindSafe for WebConfig
impl Send for WebConfig
impl Sync for WebConfig
impl Unpin for WebConfig
impl UnsafeUnpin for WebConfig
impl UnwindSafe for WebConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more