pub struct ProtectionPattern {
pub default: Option<bool>,
pub exclude: Option<Vec<String>>,
pub include: Option<Vec<String>>,
}Fields§
§default: Option<bool>§exclude: Option<Vec<String>>§include: Option<Vec<String>>Implementations§
Source§impl ProtectionPattern
impl ProtectionPattern
pub fn new() -> ProtectionPattern
Trait Implementations§
Source§impl Clone for ProtectionPattern
impl Clone for ProtectionPattern
Source§fn clone(&self) -> ProtectionPattern
fn clone(&self) -> ProtectionPattern
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 ProtectionPattern
impl Debug for ProtectionPattern
Source§impl Default for ProtectionPattern
impl Default for ProtectionPattern
Source§fn default() -> ProtectionPattern
fn default() -> ProtectionPattern
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProtectionPattern
impl<'de> Deserialize<'de> for ProtectionPattern
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
Source§impl PartialEq for ProtectionPattern
impl PartialEq for ProtectionPattern
Source§impl Serialize for ProtectionPattern
impl Serialize for ProtectionPattern
impl StructuralPartialEq for ProtectionPattern
Auto Trait Implementations§
impl Freeze for ProtectionPattern
impl RefUnwindSafe for ProtectionPattern
impl Send for ProtectionPattern
impl Sync for ProtectionPattern
impl Unpin for ProtectionPattern
impl UnwindSafe for ProtectionPattern
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