pub struct DocumentMetadata {
pub created_timestamp: Option<f64>,
pub creator_id: Option<String>,
pub id: Option<String>,
pub labels: Option<Vec<String>>,
pub latest_version_metadata: Option<DocumentVersionMetadata>,
pub modified_timestamp: Option<f64>,
pub parent_folder_id: Option<String>,
pub resource_state: Option<String>,
}
Expand description
Describes the document.
Fields§
§created_timestamp: Option<f64>
The time when the document was created.
creator_id: Option<String>
The ID of the creator.
id: Option<String>
The ID of the document.
labels: Option<Vec<String>>
List of labels on the document.
latest_version_metadata: Option<DocumentVersionMetadata>
The latest version of the document.
modified_timestamp: Option<f64>
The time when the document was updated.
parent_folder_id: Option<String>
The ID of the parent folder.
resource_state: Option<String>
The resource state.
Trait Implementations§
Source§impl Clone for DocumentMetadata
impl Clone for DocumentMetadata
Source§fn clone(&self) -> DocumentMetadata
fn clone(&self) -> DocumentMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DocumentMetadata
impl Debug for DocumentMetadata
Source§impl Default for DocumentMetadata
impl Default for DocumentMetadata
Source§fn default() -> DocumentMetadata
fn default() -> DocumentMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentMetadata
impl<'de> Deserialize<'de> for DocumentMetadata
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 PartialEq for DocumentMetadata
impl PartialEq for DocumentMetadata
impl StructuralPartialEq for DocumentMetadata
Auto Trait Implementations§
impl Freeze for DocumentMetadata
impl RefUnwindSafe for DocumentMetadata
impl Send for DocumentMetadata
impl Sync for DocumentMetadata
impl Unpin for DocumentMetadata
impl UnwindSafe for DocumentMetadata
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