#[non_exhaustive]pub struct DeleteLabelsInput {
pub resource_id: Option<String>,
pub authentication_token: Option<String>,
pub labels: Option<Vec<String>>,
pub delete_all: Option<bool>,
}
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.resource_id: Option<String>
The ID of the resource.
authentication_token: Option<String>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
labels: Option<Vec<String>>
List of labels to delete from the resource.
delete_all: Option<bool>
Flag to request removal of all labels from the specified resource.
Implementations§
source§impl DeleteLabelsInput
impl DeleteLabelsInput
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the resource.
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 labels(&self) -> &[String]
pub fn labels(&self) -> &[String]
List of labels to delete from the resource.
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 delete_all(&self) -> Option<bool>
pub fn delete_all(&self) -> Option<bool>
Flag to request removal of all labels from the specified resource.
source§impl DeleteLabelsInput
impl DeleteLabelsInput
sourcepub fn builder() -> DeleteLabelsInputBuilder
pub fn builder() -> DeleteLabelsInputBuilder
Creates a new builder-style object to manufacture DeleteLabelsInput
.
Trait Implementations§
source§impl Clone for DeleteLabelsInput
impl Clone for DeleteLabelsInput
source§fn clone(&self) -> DeleteLabelsInput
fn clone(&self) -> DeleteLabelsInput
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 DeleteLabelsInput
impl Debug for DeleteLabelsInput
source§impl PartialEq for DeleteLabelsInput
impl PartialEq for DeleteLabelsInput
source§fn eq(&self, other: &DeleteLabelsInput) -> bool
fn eq(&self, other: &DeleteLabelsInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteLabelsInput
Auto Trait Implementations§
impl Freeze for DeleteLabelsInput
impl RefUnwindSafe for DeleteLabelsInput
impl Send for DeleteLabelsInput
impl Sync for DeleteLabelsInput
impl Unpin for DeleteLabelsInput
impl UnwindSafe for DeleteLabelsInput
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.