Struct aws_sdk_identitystore::types::AttributeOperation
source · #[non_exhaustive]pub struct AttributeOperation {
pub attribute_path: String,
pub attribute_value: Option<Document>,
}
Expand description
An operation that applies to the requested group. This operation might add, replace, or remove an attribute.
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.attribute_path: String
A string representation of the path to a given attribute or sub-attribute. Supports JMESPath.
attribute_value: Option<Document>
The value of the attribute. This is a Document
type. This type is not supported by Java V1, Go V1, and older versions of the CLI.
Implementations§
source§impl AttributeOperation
impl AttributeOperation
sourcepub fn attribute_path(&self) -> &str
pub fn attribute_path(&self) -> &str
A string representation of the path to a given attribute or sub-attribute. Supports JMESPath.
sourcepub fn attribute_value(&self) -> Option<&Document>
pub fn attribute_value(&self) -> Option<&Document>
The value of the attribute. This is a Document
type. This type is not supported by Java V1, Go V1, and older versions of the CLI.
source§impl AttributeOperation
impl AttributeOperation
sourcepub fn builder() -> AttributeOperationBuilder
pub fn builder() -> AttributeOperationBuilder
Creates a new builder-style object to manufacture AttributeOperation
.
Trait Implementations§
source§impl Clone for AttributeOperation
impl Clone for AttributeOperation
source§fn clone(&self) -> AttributeOperation
fn clone(&self) -> AttributeOperation
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 AttributeOperation
impl Debug for AttributeOperation
source§impl PartialEq for AttributeOperation
impl PartialEq for AttributeOperation
source§fn eq(&self, other: &AttributeOperation) -> bool
fn eq(&self, other: &AttributeOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttributeOperation
Auto Trait Implementations§
impl Freeze for AttributeOperation
impl RefUnwindSafe for AttributeOperation
impl Send for AttributeOperation
impl Sync for AttributeOperation
impl Unpin for AttributeOperation
impl UnwindSafe for AttributeOperation
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.