pub struct FsPermissionRuleSet {
pub default: Option<PermissionMode>,
pub rules: Vec<FsPermissionRule>,
}Fields§
§default: Option<PermissionMode>§rules: Vec<FsPermissionRule>Trait Implementations§
Source§impl Clone for FsPermissionRuleSet
impl Clone for FsPermissionRuleSet
Source§fn clone(&self) -> FsPermissionRuleSet
fn clone(&self) -> FsPermissionRuleSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FsPermissionRuleSet
impl Debug for FsPermissionRuleSet
Source§impl<'de> Deserialize<'de> for FsPermissionRuleSet
impl<'de> Deserialize<'de> for FsPermissionRuleSet
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
impl Eq for FsPermissionRuleSet
Source§impl Hash for FsPermissionRuleSet
impl Hash for FsPermissionRuleSet
Source§impl PartialEq for FsPermissionRuleSet
impl PartialEq for FsPermissionRuleSet
Source§fn eq(&self, other: &FsPermissionRuleSet) -> bool
fn eq(&self, other: &FsPermissionRuleSet) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FsPermissionRuleSet
impl Serialize for FsPermissionRuleSet
impl StructuralPartialEq for FsPermissionRuleSet
Auto Trait Implementations§
impl Freeze for FsPermissionRuleSet
impl RefUnwindSafe for FsPermissionRuleSet
impl Send for FsPermissionRuleSet
impl Sync for FsPermissionRuleSet
impl Unpin for FsPermissionRuleSet
impl UnsafeUnpin for FsPermissionRuleSet
impl UnwindSafe for FsPermissionRuleSet
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