Struct aws_sdk_workdocs::model::ResourceMetadata
source · #[non_exhaustive]pub struct ResourceMetadata { /* private fields */ }
Expand description
Describes the metadata of a resource.
Implementations§
source§impl ResourceMetadata
impl ResourceMetadata
sourcepub fn type(&self) -> Option<&ResourceType>
pub fn type(&self) -> Option<&ResourceType>
The type of resource.
sourcepub fn original_name(&self) -> Option<&str>
pub fn original_name(&self) -> Option<&str>
The original name of the resource before a rename operation.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The version ID of the resource. This is an optional field and is filled for action on document version.
sourcepub fn owner(&self) -> Option<&UserMetadata>
pub fn owner(&self) -> Option<&UserMetadata>
The owner of the resource.
source§impl ResourceMetadata
impl ResourceMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResourceMetadata
.
Trait Implementations§
source§impl Clone for ResourceMetadata
impl Clone for ResourceMetadata
source§fn clone(&self) -> ResourceMetadata
fn clone(&self) -> ResourceMetadata
Returns a copy 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 more