#[non_exhaustive]pub struct EventStreamDestinationDetails {
pub uri: String,
pub status: EventStreamDestinationStatus,
pub unhealthy_since: Option<DateTime>,
pub message: Option<String>,
}
Expand description
Details of the destination being used for the EventStream.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
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
.
message: Option<String>
The human-readable string that corresponds to the error or success while enabling the streaming destination.
Implementations§
source§impl EventStreamDestinationDetails
impl EventStreamDestinationDetails
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 EventStreamDestinationDetails
impl EventStreamDestinationDetails
sourcepub fn builder() -> EventStreamDestinationDetailsBuilder
pub fn builder() -> EventStreamDestinationDetailsBuilder
Creates a new builder-style object to manufacture EventStreamDestinationDetails
.
Trait Implementations§
source§impl Clone for EventStreamDestinationDetails
impl Clone for EventStreamDestinationDetails
source§fn clone(&self) -> EventStreamDestinationDetails
fn clone(&self) -> EventStreamDestinationDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for EventStreamDestinationDetails
impl PartialEq for EventStreamDestinationDetails
source§fn eq(&self, other: &EventStreamDestinationDetails) -> bool
fn eq(&self, other: &EventStreamDestinationDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventStreamDestinationDetails
Auto Trait Implementations§
impl Freeze for EventStreamDestinationDetails
impl RefUnwindSafe for EventStreamDestinationDetails
impl Send for EventStreamDestinationDetails
impl Sync for EventStreamDestinationDetails
impl Unpin for EventStreamDestinationDetails
impl UnwindSafe for EventStreamDestinationDetails
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
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>
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>
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 more