#[non_exhaustive]pub struct DeleteCustomMetadataInput {
pub authentication_token: Option<String>,
pub resource_id: Option<String>,
pub version_id: Option<String>,
pub keys: Option<Vec<String>>,
pub delete_all: Option<bool>,
}
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.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, either a document or folder.
version_id: Option<String>
The ID of the version, if the custom metadata is being deleted from a document version.
keys: Option<Vec<String>>
List of properties to remove.
delete_all: Option<bool>
Flag to indicate removal of all custom metadata properties from the specified resource.
Implementations§
source§impl DeleteCustomMetadataInput
impl DeleteCustomMetadataInput
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, either a document or folder.
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 deleted from a document version.
sourcepub fn keys(&self) -> &[String]
pub fn keys(&self) -> &[String]
List of properties to remove.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .keys.is_none()
.
sourcepub fn delete_all(&self) -> Option<bool>
pub fn delete_all(&self) -> Option<bool>
Flag to indicate removal of all custom metadata properties from the specified resource.
source§impl DeleteCustomMetadataInput
impl DeleteCustomMetadataInput
sourcepub fn builder() -> DeleteCustomMetadataInputBuilder
pub fn builder() -> DeleteCustomMetadataInputBuilder
Creates a new builder-style object to manufacture DeleteCustomMetadataInput
.
Trait Implementations§
source§impl Clone for DeleteCustomMetadataInput
impl Clone for DeleteCustomMetadataInput
source§fn clone(&self) -> DeleteCustomMetadataInput
fn clone(&self) -> DeleteCustomMetadataInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteCustomMetadataInput
impl Debug for DeleteCustomMetadataInput
source§impl PartialEq for DeleteCustomMetadataInput
impl PartialEq for DeleteCustomMetadataInput
source§fn eq(&self, other: &DeleteCustomMetadataInput) -> bool
fn eq(&self, other: &DeleteCustomMetadataInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteCustomMetadataInput
Auto Trait Implementations§
impl Freeze for DeleteCustomMetadataInput
impl RefUnwindSafe for DeleteCustomMetadataInput
impl Send for DeleteCustomMetadataInput
impl Sync for DeleteCustomMetadataInput
impl Unpin for DeleteCustomMetadataInput
impl UnwindSafe for DeleteCustomMetadataInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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