Struct aws_sdk_workdocs::types::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§
source§impl 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 labels(&self) -> &[String]
pub fn labels(&self) -> &[String]
List of labels on the folder.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .labels.is_none()
.
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.
source§impl FolderMetadata
impl FolderMetadata
sourcepub fn builder() -> FolderMetadataBuilder
pub fn builder() -> FolderMetadataBuilder
Creates a new builder-style object to manufacture FolderMetadata
.
Trait Implementations§
source§impl Clone for FolderMetadata
impl Clone for FolderMetadata
source§fn clone(&self) -> FolderMetadata
fn clone(&self) -> FolderMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FolderMetadata
impl Debug for FolderMetadata
source§impl PartialEq for FolderMetadata
impl PartialEq for FolderMetadata
source§fn eq(&self, other: &FolderMetadata) -> bool
fn eq(&self, other: &FolderMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FolderMetadata
Auto Trait Implementations§
impl Freeze for FolderMetadata
impl RefUnwindSafe for FolderMetadata
impl Send for FolderMetadata
impl Sync for FolderMetadata
impl Unpin for FolderMetadata
impl UnwindSafe for FolderMetadata
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more