[][src]Struct misskey_api::model::drive::DriveFile

pub struct DriveFile {
    pub id: Id<DriveFile>,
    pub created_at: DateTime<Utc>,
    pub name: String,
    pub type_: Mime,
    pub md5: String,
    pub size: u64,
    pub url: Option<Url>,
    pub folder_id: Option<Id<DriveFolder>>,
    pub comment: Option<String>,
    pub user_id: Option<Id<User>>,
    pub user: Option<User>,
    pub folder: Option<DriveFolder>,
    pub is_sensitive: bool,
}

Fields

id: Id<DriveFile>created_at: DateTime<Utc>name: Stringtype_: Mimemd5: Stringsize: u64url: Option<Url>folder_id: Option<Id<DriveFolder>>comment: Option<String>
This is supported on crate feature 12-48-0 only.
user_id: Option<Id<User>>
This is supported on crate feature 12-48-0 only.
user: Option<User>folder: Option<DriveFolder>is_sensitive: bool

Trait Implementations

impl Clone for DriveFile[src]

impl Debug for DriveFile[src]

impl<'de> Deserialize<'de> for DriveFile[src]

impl Entity for DriveFile[src]

impl PaginationItem for DriveFile[src]

type Id = Id<DriveFile>

The ID type.

impl Serialize for DriveFile[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.