#[non_exhaustive]pub struct PaperDocGetMetadataResult {
pub doc_id: PaperDocId,
pub owner: String,
pub title: String,
pub created_date: DropboxTimestamp,
pub status: PaperDocStatus,
pub revision: i64,
pub last_updated_date: DropboxTimestamp,
pub last_editor: String,
}Available on crate feature
dbx_paper only.Expand description
Metadata returned by docs/get_metadata.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.doc_id: PaperDocIdThe Paper doc ID.
owner: StringThe Paper doc owner’s email address.
title: StringThe Paper doc title.
created_date: DropboxTimestampThe Paper doc creation date.
status: PaperDocStatusThe Paper doc status.
revision: i64The Paper doc revision. Simply an ever increasing number.
last_updated_date: DropboxTimestampThe date when the Paper doc was last edited.
last_editor: StringThe email address of the last editor of the Paper doc.
Implementations§
Source§impl PaperDocGetMetadataResult
impl PaperDocGetMetadataResult
pub fn new( doc_id: PaperDocId, owner: String, title: String, created_date: DropboxTimestamp, status: PaperDocStatus, revision: i64, last_updated_date: DropboxTimestamp, last_editor: String, ) -> Self
Trait Implementations§
Source§impl Clone for PaperDocGetMetadataResult
impl Clone for PaperDocGetMetadataResult
Source§fn clone(&self) -> PaperDocGetMetadataResult
fn clone(&self) -> PaperDocGetMetadataResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaperDocGetMetadataResult
impl Debug for PaperDocGetMetadataResult
Source§impl<'de> Deserialize<'de> for PaperDocGetMetadataResult
impl<'de> Deserialize<'de> for PaperDocGetMetadataResult
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PaperDocGetMetadataResult
impl PartialEq for PaperDocGetMetadataResult
Source§fn eq(&self, other: &PaperDocGetMetadataResult) -> bool
fn eq(&self, other: &PaperDocGetMetadataResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaperDocGetMetadataResult
impl StructuralPartialEq for PaperDocGetMetadataResult
Auto Trait Implementations§
impl Freeze for PaperDocGetMetadataResult
impl RefUnwindSafe for PaperDocGetMetadataResult
impl Send for PaperDocGetMetadataResult
impl Sync for PaperDocGetMetadataResult
impl Unpin for PaperDocGetMetadataResult
impl UnsafeUnpin for PaperDocGetMetadataResult
impl UnwindSafe for PaperDocGetMetadataResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.