[][src]Struct discord_game_sdk::FileStat

#[repr(transparent)]pub struct FileStat(_);

Implementations

impl FileStat[src]

pub fn filename(&self) -> &str[src]

The name of the file

pub fn size(&self) -> u64[src]

The total size in bytes

pub fn last_modified(&self) -> UnixTimestamp[src]

When the file was last modified, in UNIX Time

Trait Implementations

impl Clone for FileStat[src]

impl Debug for FileStat[src]

impl Eq for FileStat[src]

impl PartialEq<FileStat> for FileStat[src]

impl StructuralEq for FileStat[src]

impl StructuralPartialEq for FileStat[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.