pub struct GuardFactoryConfig {
pub name: String,
pub params: HashMap<String, String>,
pub skip_license_check: bool,
}Expand description
Configuration for guard factory.
Fields§
§name: StringGuard name.
params: HashMap<String, String>Additional configuration parameters.
skip_license_check: boolWhether to skip license validation.
Implementations§
Trait Implementations§
Source§impl Clone for GuardFactoryConfig
impl Clone for GuardFactoryConfig
Source§fn clone(&self) -> GuardFactoryConfig
fn clone(&self) -> GuardFactoryConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GuardFactoryConfig
impl Debug for GuardFactoryConfig
Source§impl Default for GuardFactoryConfig
impl Default for GuardFactoryConfig
Source§fn default() -> GuardFactoryConfig
fn default() -> GuardFactoryConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GuardFactoryConfig
impl RefUnwindSafe for GuardFactoryConfig
impl Send for GuardFactoryConfig
impl Sync for GuardFactoryConfig
impl Unpin for GuardFactoryConfig
impl UnwindSafe for GuardFactoryConfig
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