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