pub struct Metadata_type { /* private fields */ }
Expand description
File attributes.
The attributes are metadata associated with the file that stores:
- The file type.
- The file creation time.
- The file modification time.
- The file access time.
- The file permissions.
- The file owner.
- The file group.
Implementations§
Source§impl Metadata_type
impl Metadata_type
pub const Identifier: u8 = 1u8
pub fn Get_default( Type: Type_type, Current_time: Time_type, User: User_identifier_type, Group: Group_identifier_type, ) -> Option<Self>
pub fn Get_inode(&self) -> Option<Inode_type>
pub fn Get_type(&self) -> Type_type
pub fn Get_creation_time(&self) -> Time_type
pub fn Get_modification_time(&self) -> Time_type
pub fn Get_access_time(&self) -> Time_type
pub fn Get_permissions(&self) -> Permissions_type
pub fn Get_user(&self) -> User_identifier_type
pub fn Get_group(&self) -> Group_identifier_type
pub fn Set_inode(&mut self, Inode: Inode_type)
pub fn Set_type(&mut self, Type: Type_type)
pub fn Set_creation_time(&mut self, Time: Time_type)
pub fn Set_modification_time(&mut self, Time: Time_type)
pub fn Set_access_time(&mut self, Time: Time_type)
pub fn Set_permissions(&mut self, Permissions: Permissions_type)
pub fn Set_owner(&mut self, Owner: User_identifier_type)
pub fn Set_group(&mut self, Group: Group_identifier_type)
Trait Implementations§
Source§impl Clone for Metadata_type
impl Clone for Metadata_type
Source§fn clone(&self) -> Metadata_type
fn clone(&self) -> Metadata_type
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 Debug for Metadata_type
impl Debug for Metadata_type
Source§impl PartialEq for Metadata_type
impl PartialEq for Metadata_type
impl Eq for Metadata_type
impl StructuralPartialEq for Metadata_type
Auto Trait Implementations§
impl Freeze for Metadata_type
impl RefUnwindSafe for Metadata_type
impl Send for Metadata_type
impl Sync for Metadata_type
impl Unpin for Metadata_type
impl UnwindSafe for Metadata_type
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