pub struct DirectoryRule {
pub pattern: String,
pub include: bool,
}Fields§
§pattern: String§include: boolTrait Implementations§
Source§impl Clone for DirectoryRule
impl Clone for DirectoryRule
Source§fn clone(&self) -> DirectoryRule
fn clone(&self) -> DirectoryRule
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 DirectoryRule
impl Debug for DirectoryRule
Source§impl Described for DirectoryRule
impl Described for DirectoryRule
impl Eq for DirectoryRule
Source§impl MemorySize for DirectoryRule
impl MemorySize for DirectoryRule
fn memory_size(&self) -> usize
Source§const INLINE_ONLY: bool = false
const INLINE_ONLY: bool = false
True only when every value occupies exactly
size_of::<Self>() bytes,
with no separately owned allocations or additional accounting charge.Source§impl PartialEq for DirectoryRule
impl PartialEq for DirectoryRule
impl StructuralPartialEq for DirectoryRule
Source§impl Value for DirectoryRule
impl Value for DirectoryRule
fn write(&self, bytes: &mut Vec<u8>)
fn size(&self) -> usize
fn memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn read(input: &mut Reader<'_>) -> Result<DirectoryRule, MessageError>
fn size_many(values: &[Self]) -> usize
fn write_many(values: &[Self], bytes: &mut Vec<u8>)
fn memory_many( input: &mut Reader<'_>, count: usize, ) -> Result<usize, MessageError>
fn read_many( input: &mut Reader<'_>, count: usize, ) -> Result<Vec<Self>, MessageError>
Auto Trait Implementations§
impl Freeze for DirectoryRule
impl RefUnwindSafe for DirectoryRule
impl Send for DirectoryRule
impl Sync for DirectoryRule
impl Unpin for DirectoryRule
impl UnsafeUnpin for DirectoryRule
impl UnwindSafe for DirectoryRule
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