Struct ostree::DirMetaParsed
source · pub struct DirMetaParsed {
pub uid: u32,
pub gid: u32,
pub mode: u32,
pub xattrs: Vec<(Vec<u8>, Vec<u8>)>,
}
Expand description
Parsed representation of directory metadata.
Fields§
§uid: u32
The user ID.
gid: u32
The group ID.
mode: u32
The Unix mode, including file type flag.
xattrs: Vec<(Vec<u8>, Vec<u8>)>
Extended attributes.
Implementations§
source§impl DirMetaParsed
impl DirMetaParsed
sourcepub fn from_variant(
v: &Variant
) -> Result<DirMetaParsed, VariantTypeMismatchError>
pub fn from_variant( v: &Variant ) -> Result<DirMetaParsed, VariantTypeMismatchError>
Parse a directory metadata variant; must be of type (uuua(ayay))
.
Auto Trait Implementations§
impl RefUnwindSafe for DirMetaParsed
impl Send for DirMetaParsed
impl Sync for DirMetaParsed
impl Unpin for DirMetaParsed
impl UnwindSafe for DirMetaParsed
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