pub struct FileAttr {
pub file_name: String,
pub file_size: usize,
pub read_rights: u32,
pub write_rights: u32,
}Fields§
§file_name: String§file_size: usize§read_rights: u32§write_rights: u32Implementations§
Trait Implementations§
Source§impl From<&FileAttribute> for FileAttr
impl From<&FileAttribute> for FileAttr
Source§fn from(value: &FileAttribute) -> Self
fn from(value: &FileAttribute) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileAttr
impl RefUnwindSafe for FileAttr
impl Send for FileAttr
impl Sync for FileAttr
impl Unpin for FileAttr
impl UnwindSafe for FileAttr
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