Struct aws_sdk_connect::types::PredefinedAttribute
source · #[non_exhaustive]pub struct PredefinedAttribute {
pub name: Option<String>,
pub values: Option<PredefinedAttributeValues>,
pub last_modified_time: Option<DateTime>,
pub last_modified_region: Option<String>,
}
Expand description
Information about a predefined 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.name: Option<String>
The name of the predefined attribute.
values: Option<PredefinedAttributeValues>
The values of the predefined attribute.
last_modified_time: Option<DateTime>
Last modified time.
last_modified_region: Option<String>
Last modified region.
Implementations§
source§impl PredefinedAttribute
impl PredefinedAttribute
sourcepub fn values(&self) -> Option<&PredefinedAttributeValues>
pub fn values(&self) -> Option<&PredefinedAttributeValues>
The values of the predefined attribute.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
Last modified time.
sourcepub fn last_modified_region(&self) -> Option<&str>
pub fn last_modified_region(&self) -> Option<&str>
Last modified region.
source§impl PredefinedAttribute
impl PredefinedAttribute
sourcepub fn builder() -> PredefinedAttributeBuilder
pub fn builder() -> PredefinedAttributeBuilder
Creates a new builder-style object to manufacture PredefinedAttribute
.
Trait Implementations§
source§impl Clone for PredefinedAttribute
impl Clone for PredefinedAttribute
source§fn clone(&self) -> PredefinedAttribute
fn clone(&self) -> PredefinedAttribute
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 PredefinedAttribute
impl Debug for PredefinedAttribute
source§impl PartialEq for PredefinedAttribute
impl PartialEq for PredefinedAttribute
source§fn eq(&self, other: &PredefinedAttribute) -> bool
fn eq(&self, other: &PredefinedAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PredefinedAttribute
Auto Trait Implementations§
impl RefUnwindSafe for PredefinedAttribute
impl Send for PredefinedAttribute
impl Sync for PredefinedAttribute
impl Unpin for PredefinedAttribute
impl UnwindSafe for PredefinedAttribute
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.