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