Struct google_drive::types::Revision
source · pub struct Revision {Show 14 fields
pub export_links: String,
pub id: String,
pub keep_forever: Option<bool>,
pub kind: String,
pub last_modifying_user: Option<User>,
pub md_5_checksum: String,
pub mime_type: String,
pub modified_time: Option<DateTime<Utc>>,
pub original_filename: String,
pub publish_auto: Option<bool>,
pub published: Option<bool>,
pub published_link: String,
pub published_outside_domain: Option<bool>,
pub size: i64,
}
Expand description
The metadata for a revision to a file.
Fields§
§export_links: String
The metadata for a revision to a file.
id: String
The metadata for a revision to a file.
keep_forever: Option<bool>
The metadata for a revision to a file.
kind: String
The metadata for a revision to a file.
last_modifying_user: Option<User>
The metadata for a revision to a file.
md_5_checksum: String
The metadata for a revision to a file.
mime_type: String
The metadata for a revision to a file.
modified_time: Option<DateTime<Utc>>
The metadata for a revision to a file.
original_filename: String
The metadata for a revision to a file.
publish_auto: Option<bool>
The metadata for a revision to a file.
published: Option<bool>
The metadata for a revision to a file.
published_link: String
The metadata for a revision to a file.
published_outside_domain: Option<bool>
The metadata for a revision to a file.
size: i64
The metadata for a revision to a file.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Revision
impl<'de> Deserialize<'de> for Revision
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 JsonSchema for Revision
impl JsonSchema for Revision
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<Revision> for Revision
impl PartialEq<Revision> for Revision
impl StructuralPartialEq for Revision
Auto Trait Implementations§
impl RefUnwindSafe for Revision
impl Send for Revision
impl Sync for Revision
impl Unpin for Revision
impl UnwindSafe for Revision
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