Struct aws_sdk_connect::types::SegmentAttributeValue
source · #[non_exhaustive]pub struct SegmentAttributeValue {
pub value_string: Option<String>,
}
Expand description
A value for a segment attribute. This is structured as a map where the key is valueString
and the value is a 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.value_string: Option<String>
The value of a segment attribute.
Implementations§
source§impl SegmentAttributeValue
impl SegmentAttributeValue
sourcepub fn value_string(&self) -> Option<&str>
pub fn value_string(&self) -> Option<&str>
The value of a segment attribute.
source§impl SegmentAttributeValue
impl SegmentAttributeValue
sourcepub fn builder() -> SegmentAttributeValueBuilder
pub fn builder() -> SegmentAttributeValueBuilder
Creates a new builder-style object to manufacture SegmentAttributeValue
.
Trait Implementations§
source§impl Clone for SegmentAttributeValue
impl Clone for SegmentAttributeValue
source§fn clone(&self) -> SegmentAttributeValue
fn clone(&self) -> SegmentAttributeValue
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 SegmentAttributeValue
impl Debug for SegmentAttributeValue
source§impl PartialEq for SegmentAttributeValue
impl PartialEq for SegmentAttributeValue
source§fn eq(&self, other: &SegmentAttributeValue) -> bool
fn eq(&self, other: &SegmentAttributeValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SegmentAttributeValue
Auto Trait Implementations§
impl RefUnwindSafe for SegmentAttributeValue
impl Send for SegmentAttributeValue
impl Sync for SegmentAttributeValue
impl Unpin for SegmentAttributeValue
impl UnwindSafe for SegmentAttributeValue
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.