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: StringThe metadata for a revision to a file.
id: StringThe metadata for a revision to a file.
keep_forever: Option<bool>The metadata for a revision to a file.
kind: StringThe metadata for a revision to a file.
last_modifying_user: Option<User>The metadata for a revision to a file.
md_5_checksum: StringThe metadata for a revision to a file.
mime_type: StringThe metadata for a revision to a file.
modified_time: Option<DateTime<Utc>>The metadata for a revision to a file.
original_filename: StringThe 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: StringThe metadata for a revision to a file.
published_outside_domain: Option<bool>The metadata for a revision to a file.
size: i64The 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 more