#[non_exhaustive]pub struct CreateCustomMetadataInput {
pub authentication_token: Option<String>,
pub resource_id: Option<String>,
pub version_id: Option<String>,
pub custom_metadata: Option<HashMap<String, String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.authentication_token: Option<String>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
resource_id: Option<String>The ID of the resource.
version_id: Option<String>The ID of the version, if the custom metadata is being added to a document version.
custom_metadata: Option<HashMap<String, String>>Custom metadata in the form of name-value pairs.
Implementations§
source§impl CreateCustomMetadataInput
impl CreateCustomMetadataInput
sourcepub fn authentication_token(&self) -> Option<&str>
pub fn authentication_token(&self) -> Option<&str>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the resource.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The ID of the version, if the custom metadata is being added to a document version.
source§impl CreateCustomMetadataInput
impl CreateCustomMetadataInput
sourcepub fn builder() -> CreateCustomMetadataInputBuilder
pub fn builder() -> CreateCustomMetadataInputBuilder
Creates a new builder-style object to manufacture CreateCustomMetadataInput.
Trait Implementations§
source§impl Clone for CreateCustomMetadataInput
impl Clone for CreateCustomMetadataInput
source§fn clone(&self) -> CreateCustomMetadataInput
fn clone(&self) -> CreateCustomMetadataInput
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 moresource§impl Debug for CreateCustomMetadataInput
impl Debug for CreateCustomMetadataInput
source§impl PartialEq for CreateCustomMetadataInput
impl PartialEq for CreateCustomMetadataInput
source§fn eq(&self, other: &CreateCustomMetadataInput) -> bool
fn eq(&self, other: &CreateCustomMetadataInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateCustomMetadataInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateCustomMetadataInput
impl Send for CreateCustomMetadataInput
impl Sync for CreateCustomMetadataInput
impl Unpin for CreateCustomMetadataInput
impl UnwindSafe for CreateCustomMetadataInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.