Struct diskplan_schema::Attributes
source · pub struct Attributes<'t> {
pub owner: Option<Expression<'t>>,
pub group: Option<Expression<'t>>,
pub mode: Option<u16>,
}
Expand description
Owner, group and UNIX permissions
Fields§
§owner: Option<Expression<'t>>
The owner to be set, if given
group: Option<Expression<'t>>
The group to be set, if given
mode: Option<u16>
The UNIX permissions to be set, if given
Implementations§
Trait Implementations§
source§impl<'t> Clone for Attributes<'t>
impl<'t> Clone for Attributes<'t>
source§fn clone(&self) -> Attributes<'t>
fn clone(&self) -> Attributes<'t>
Returns a copy 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<'t> Debug for Attributes<'t>
impl<'t> Debug for Attributes<'t>
source§impl<'t> Default for Attributes<'t>
impl<'t> Default for Attributes<'t>
source§fn default() -> Attributes<'t>
fn default() -> Attributes<'t>
Returns the “default value” for a type. Read more
source§impl<'t> PartialEq for Attributes<'t>
impl<'t> PartialEq for Attributes<'t>
source§fn eq(&self, other: &Attributes<'t>) -> bool
fn eq(&self, other: &Attributes<'t>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'t> Eq for Attributes<'t>
impl<'t> StructuralEq for Attributes<'t>
impl<'t> StructuralPartialEq for Attributes<'t>
Auto Trait Implementations§
impl<'t> RefUnwindSafe for Attributes<'t>
impl<'t> Send for Attributes<'t>
impl<'t> Sync for Attributes<'t>
impl<'t> Unpin for Attributes<'t>
impl<'t> UnwindSafe for Attributes<'t>
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