Struct aws_sdk_workdocs::model::DocumentVersionMetadata
source · [−]#[non_exhaustive]pub struct DocumentVersionMetadata {Show 13 fields
pub id: Option<String>,
pub name: Option<String>,
pub content_type: Option<String>,
pub size: Option<i64>,
pub signature: Option<String>,
pub status: Option<DocumentStatusType>,
pub created_timestamp: Option<DateTime>,
pub modified_timestamp: Option<DateTime>,
pub content_created_timestamp: Option<DateTime>,
pub content_modified_timestamp: Option<DateTime>,
pub creator_id: Option<String>,
pub thumbnail: Option<HashMap<DocumentThumbnailType, String>>,
pub source: Option<HashMap<DocumentSourceType, String>>,
}
Expand description
Describes a version of a document.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The ID of the version.
name: Option<String>
The name of the version.
content_type: Option<String>
The content type of the document.
size: Option<i64>
The size of the document, in bytes.
signature: Option<String>
The signature of the document.
status: Option<DocumentStatusType>
The status of the document.
created_timestamp: Option<DateTime>
The timestamp when the document was first uploaded.
modified_timestamp: Option<DateTime>
The timestamp when the document was last uploaded.
content_created_timestamp: Option<DateTime>
The timestamp when the content of the document was originally created.
content_modified_timestamp: Option<DateTime>
The timestamp when the content of the document was modified.
creator_id: Option<String>
The ID of the creator.
thumbnail: Option<HashMap<DocumentThumbnailType, String>>
The thumbnail of the document.
source: Option<HashMap<DocumentSourceType, String>>
The source of the document.
Implementations
sourceimpl DocumentVersionMetadata
impl DocumentVersionMetadata
sourcepub fn content_type(&self) -> Option<&str>
pub fn content_type(&self) -> Option<&str>
The content type of the document.
sourcepub fn status(&self) -> Option<&DocumentStatusType>
pub fn status(&self) -> Option<&DocumentStatusType>
The status of the document.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The timestamp when the document was first uploaded.
sourcepub fn modified_timestamp(&self) -> Option<&DateTime>
pub fn modified_timestamp(&self) -> Option<&DateTime>
The timestamp when the document was last uploaded.
sourcepub fn content_created_timestamp(&self) -> Option<&DateTime>
pub fn content_created_timestamp(&self) -> Option<&DateTime>
The timestamp when the content of the document was originally created.
sourcepub fn content_modified_timestamp(&self) -> Option<&DateTime>
pub fn content_modified_timestamp(&self) -> Option<&DateTime>
The timestamp when the content of the document was modified.
sourcepub fn creator_id(&self) -> Option<&str>
pub fn creator_id(&self) -> Option<&str>
The ID of the creator.
sourceimpl DocumentVersionMetadata
impl DocumentVersionMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DocumentVersionMetadata
Trait Implementations
sourceimpl Clone for DocumentVersionMetadata
impl Clone for DocumentVersionMetadata
sourcefn clone(&self) -> DocumentVersionMetadata
fn clone(&self) -> DocumentVersionMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DocumentVersionMetadata
impl Debug for DocumentVersionMetadata
sourceimpl PartialEq<DocumentVersionMetadata> for DocumentVersionMetadata
impl PartialEq<DocumentVersionMetadata> for DocumentVersionMetadata
sourcefn eq(&self, other: &DocumentVersionMetadata) -> bool
fn eq(&self, other: &DocumentVersionMetadata) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DocumentVersionMetadata) -> bool
fn ne(&self, other: &DocumentVersionMetadata) -> bool
This method tests for !=
.
impl StructuralPartialEq for DocumentVersionMetadata
Auto Trait Implementations
impl RefUnwindSafe for DocumentVersionMetadata
impl Send for DocumentVersionMetadata
impl Sync for DocumentVersionMetadata
impl Unpin for DocumentVersionMetadata
impl UnwindSafe for DocumentVersionMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more