pub struct DriveFile {Show 13 fields
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: String§type_: Mime§md5: String§size: u64§url: Option<Url>§folder_id: Option<Id<DriveFolder>>§comment: Option<String>Available on crate feature
§12-48-0 only.user_id: Option<Id<User>>Available on crate feature
§12-48-0 only.user: Option<User>§folder: Option<DriveFolder>§is_sensitive: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for DriveFile
impl<'de> Deserialize<'de> for DriveFile
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 PaginationItem for DriveFile
impl PaginationItem for DriveFile
Auto Trait Implementations§
impl Freeze for DriveFile
impl RefUnwindSafe for DriveFile
impl Send for DriveFile
impl Sync for DriveFile
impl Unpin for DriveFile
impl UnwindSafe for DriveFile
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