pub struct Metadata {
pub mode: u32,
pub uid: u32,
pub gid: u32,
pub atime: i64,
pub mtime: i64,
pub atime_nsec: i64,
pub mtime_nsec: i64,
}Fields§
§mode: u32§uid: u32§gid: u32§atime: i64§mtime: i64§atime_nsec: i64§mtime_nsec: i64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata for &Metadata
impl Metadata for &Metadata
fn uid(&self) -> u32
fn gid(&self) -> u32
fn atime(&self) -> i64
fn atime_nsec(&self) -> i64
fn mtime(&self) -> i64
fn mtime_nsec(&self) -> i64
fn permissions(&self) -> Permissions
fn ctime(&self) -> i64
fn ctime_nsec(&self) -> i64
fn size(&self) -> u64
Source§impl Metadata for Metadata
impl Metadata for Metadata
fn uid(&self) -> u32
fn gid(&self) -> u32
fn atime(&self) -> i64
fn atime_nsec(&self) -> i64
fn mtime(&self) -> i64
fn mtime_nsec(&self) -> i64
fn permissions(&self) -> Permissions
fn ctime(&self) -> i64
fn ctime_nsec(&self) -> i64
fn size(&self) -> u64
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request