pub struct DirMeta {
pub uid: u32,
pub gid: u32,
pub mode: u32,
pub xattrs: Xattrs,
}Expand description
An owned dirmeta object. Scalar fields are host-order.
Fields§
§uid: u32The owner uid.
gid: u32The owner gid.
mode: u32Full st_mode including the directory file-type bits.
xattrs: XattrsThe directory’s extended attributes.
Implementations§
Trait Implementations§
impl Eq for DirMeta
Source§impl GvEncode for DirMeta
The encode path is purely mechanical: the directory-mode check runs in
DirMeta::serialize, the only caller.
impl GvEncode for DirMeta
The encode path is purely mechanical: the directory-mode check runs in
DirMeta::serialize, the only caller.
Source§impl GvType for DirMeta
impl GvType for DirMeta
Source§const SIGNATURE: &'static str = "(uuua(ayay))"
const SIGNATURE: &'static str = "(uuua(ayay))"
The GVariant type signature, for the nameable leaf and object types.
Composite container impls (tuples, arrays) leave it empty: their
signature is compositional and is not needed to encode.
Source§const FIXED_SIZE: Option<usize> = None
const FIXED_SIZE: Option<usize> = None
Serialized size if fixed-size, else
None.impl StructuralPartialEq for DirMeta
Auto Trait Implementations§
impl Freeze for DirMeta
impl RefUnwindSafe for DirMeta
impl Send for DirMeta
impl Sync for DirMeta
impl Unpin for DirMeta
impl UnsafeUnpin for DirMeta
impl UnwindSafe for DirMeta
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