#[non_exhaustive]pub struct DestinationSummary {
pub uri: String,
pub status: EventStreamDestinationStatus,
pub unhealthy_since: Option<DateTime>,
}
Expand description
Summary information about the Kinesis data stream
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.uri: String
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
status: EventStreamDestinationStatus
The status of enabling the Kinesis stream as a destination for export.
unhealthy_since: Option<DateTime>
The timestamp when the status last changed to UNHEALHY
.
Implementations§
source§impl DestinationSummary
impl DestinationSummary
sourcepub fn uri(&self) -> &str
pub fn uri(&self) -> &str
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.
sourcepub fn status(&self) -> &EventStreamDestinationStatus
pub fn status(&self) -> &EventStreamDestinationStatus
The status of enabling the Kinesis stream as a destination for export.
sourcepub fn unhealthy_since(&self) -> Option<&DateTime>
pub fn unhealthy_since(&self) -> Option<&DateTime>
The timestamp when the status last changed to UNHEALHY
.
source§impl DestinationSummary
impl DestinationSummary
sourcepub fn builder() -> DestinationSummaryBuilder
pub fn builder() -> DestinationSummaryBuilder
Creates a new builder-style object to manufacture DestinationSummary
.
Trait Implementations§
source§impl Clone for DestinationSummary
impl Clone for DestinationSummary
source§fn clone(&self) -> DestinationSummary
fn clone(&self) -> DestinationSummary
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 DestinationSummary
impl Debug for DestinationSummary
source§impl PartialEq for DestinationSummary
impl PartialEq for DestinationSummary
source§fn eq(&self, other: &DestinationSummary) -> bool
fn eq(&self, other: &DestinationSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DestinationSummary
Auto Trait Implementations§
impl Freeze for DestinationSummary
impl RefUnwindSafe for DestinationSummary
impl Send for DestinationSummary
impl Sync for DestinationSummary
impl Unpin for DestinationSummary
impl UnwindSafe for DestinationSummary
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.