Struct aws_sdk_connect::types::StringReference
source · #[non_exhaustive]pub struct StringReference {
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
Information about a reference when the referenceType
is STRING
. Otherwise, null.
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>
Identifier of the string reference.
value: Option<String>
A valid string.
Implementations§
source§impl StringReference
impl StringReference
sourcepub fn builder() -> StringReferenceBuilder
pub fn builder() -> StringReferenceBuilder
Creates a new builder-style object to manufacture StringReference
.
Trait Implementations§
source§impl Clone for StringReference
impl Clone for StringReference
source§fn clone(&self) -> StringReference
fn clone(&self) -> StringReference
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 StringReference
impl Debug for StringReference
source§impl PartialEq for StringReference
impl PartialEq for StringReference
source§fn eq(&self, other: &StringReference) -> bool
fn eq(&self, other: &StringReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StringReference
Auto Trait Implementations§
impl Freeze for StringReference
impl RefUnwindSafe for StringReference
impl Send for StringReference
impl Sync for StringReference
impl Unpin for StringReference
impl UnwindSafe for StringReference
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.