Struct aws_sdk_workdocs::model::ResourceMetadata
source · [−]#[non_exhaustive]pub struct ResourceMetadata { /* private fields */ }
Expand description
Describes the metadata of a resource.
Implementations
sourceimpl 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.
sourceimpl ResourceMetadata
impl ResourceMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResourceMetadata
.
Trait Implementations
sourceimpl Clone for ResourceMetadata
impl Clone for ResourceMetadata
sourcefn clone(&self) -> ResourceMetadata
fn clone(&self) -> ResourceMetadata
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 moresourceimpl Debug for ResourceMetadata
impl Debug for ResourceMetadata
sourceimpl PartialEq<ResourceMetadata> for ResourceMetadata
impl PartialEq<ResourceMetadata> for ResourceMetadata
sourcefn eq(&self, other: &ResourceMetadata) -> bool
fn eq(&self, other: &ResourceMetadata) -> bool
impl StructuralPartialEq for ResourceMetadata
Auto Trait Implementations
impl RefUnwindSafe for ResourceMetadata
impl Send for ResourceMetadata
impl Sync for ResourceMetadata
impl Unpin for ResourceMetadata
impl UnwindSafe for ResourceMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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