Struct aws_sdk_workdocs::model::FolderMetadata
source · [−]#[non_exhaustive]pub struct FolderMetadata {
pub id: Option<String>,
pub name: Option<String>,
pub creator_id: Option<String>,
pub parent_folder_id: Option<String>,
pub created_timestamp: Option<DateTime>,
pub modified_timestamp: Option<DateTime>,
pub resource_state: Option<ResourceStateType>,
pub signature: Option<String>,
pub labels: Option<Vec<String>>,
pub size: Option<i64>,
pub latest_version_size: Option<i64>,
}
Expand description
Describes a folder.
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 folder.
name: Option<String>
The name of the folder.
creator_id: Option<String>
The ID of the creator.
parent_folder_id: Option<String>
The ID of the parent folder.
created_timestamp: Option<DateTime>
The time when the folder was created.
modified_timestamp: Option<DateTime>
The time when the folder was updated.
resource_state: Option<ResourceStateType>
The resource state of the folder.
signature: Option<String>
The unique identifier created from the subfolders and documents of the folder.
labels: Option<Vec<String>>
List of labels on the folder.
size: Option<i64>
The size of the folder metadata.
latest_version_size: Option<i64>
The size of the latest version of the folder metadata.
Implementations
sourceimpl FolderMetadata
impl FolderMetadata
sourcepub fn creator_id(&self) -> Option<&str>
pub fn creator_id(&self) -> Option<&str>
The ID of the creator.
sourcepub fn parent_folder_id(&self) -> Option<&str>
pub fn parent_folder_id(&self) -> Option<&str>
The ID of the parent folder.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The time when the folder was created.
sourcepub fn modified_timestamp(&self) -> Option<&DateTime>
pub fn modified_timestamp(&self) -> Option<&DateTime>
The time when the folder was updated.
sourcepub fn resource_state(&self) -> Option<&ResourceStateType>
pub fn resource_state(&self) -> Option<&ResourceStateType>
The resource state of the folder.
sourcepub fn signature(&self) -> Option<&str>
pub fn signature(&self) -> Option<&str>
The unique identifier created from the subfolders and documents of the folder.
sourcepub fn latest_version_size(&self) -> Option<i64>
pub fn latest_version_size(&self) -> Option<i64>
The size of the latest version of the folder metadata.
sourceimpl FolderMetadata
impl FolderMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FolderMetadata
Trait Implementations
sourceimpl Clone for FolderMetadata
impl Clone for FolderMetadata
sourcefn clone(&self) -> FolderMetadata
fn clone(&self) -> FolderMetadata
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 FolderMetadata
impl Debug for FolderMetadata
sourceimpl PartialEq<FolderMetadata> for FolderMetadata
impl PartialEq<FolderMetadata> for FolderMetadata
sourcefn eq(&self, other: &FolderMetadata) -> bool
fn eq(&self, other: &FolderMetadata) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FolderMetadata) -> bool
fn ne(&self, other: &FolderMetadata) -> bool
This method tests for !=
.
impl StructuralPartialEq for FolderMetadata
Auto Trait Implementations
impl RefUnwindSafe for FolderMetadata
impl Send for FolderMetadata
impl Sync for FolderMetadata
impl Unpin for FolderMetadata
impl UnwindSafe for FolderMetadata
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