pub struct Version {
pub id: String,
pub created_at: String,
pub label: Option<String>,
pub description: Option<String>,
pub user: Box<User>,
pub thumbnail_url: Option<String>,
}
Expand description
Version : A version of a file
Fields§
§id: String
Unique identifier for version
created_at: String
The UTC ISO 8601 time at which the version was created
label: Option<String>
The label given to the version in the editor
description: Option<String>
The description of the version as entered in the editor
user: Box<User>
The user that created the version
thumbnail_url: Option<String>
A URL to a thumbnail image of the file version.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Version
impl<'de> Deserialize<'de> for Version
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
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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