Struct zone::SecurityFlagsScope
source · pub struct SecurityFlagsScope<'a> { /* private fields */ }
Expand description
Generated scope for the SecurityFlags resource.
This object represents the resource scope for a zone configuration, and automatically closes that scope when dropped.
To construct this object, refer to Config::add_security_flags.
Implementations§
source§impl<'a> SecurityFlagsScope<'a>
impl<'a> SecurityFlagsScope<'a>
source§impl<'a> SecurityFlagsScope<'a>
impl<'a> SecurityFlagsScope<'a>
pub fn set_default( &mut self, value: impl Into<BTreeSet<SecurityFlag>> ) -> &mut Self
source§impl<'a> SecurityFlagsScope<'a>
impl<'a> SecurityFlagsScope<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SecurityFlagsScope<'a>
impl<'a> Send for SecurityFlagsScope<'a>
impl<'a> Sync for SecurityFlagsScope<'a>
impl<'a> Unpin for SecurityFlagsScope<'a>
impl<'a> !UnwindSafe for SecurityFlagsScope<'a>
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