Struct aws_sdk_ivs::types::StreamSessionSummary
source · #[non_exhaustive]pub struct StreamSessionSummary {
pub stream_id: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub has_error_event: bool,
}
Expand description
Summary information about a stream session.
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.stream_id: Option<String>
Unique identifier for a live or previously live stream in the specified channel.
start_time: Option<DateTime>
Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.
end_time: Option<DateTime>
Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a string. For live streams, this is NULL
.
has_error_event: bool
If true
, this stream encountered a quota breach or failure.
Implementations§
source§impl StreamSessionSummary
impl StreamSessionSummary
sourcepub fn stream_id(&self) -> Option<&str>
pub fn stream_id(&self) -> Option<&str>
Unique identifier for a live or previously live stream in the specified channel.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a string. For live streams, this is NULL
.
sourcepub fn has_error_event(&self) -> bool
pub fn has_error_event(&self) -> bool
If true
, this stream encountered a quota breach or failure.
source§impl StreamSessionSummary
impl StreamSessionSummary
sourcepub fn builder() -> StreamSessionSummaryBuilder
pub fn builder() -> StreamSessionSummaryBuilder
Creates a new builder-style object to manufacture StreamSessionSummary
.
Trait Implementations§
source§impl Clone for StreamSessionSummary
impl Clone for StreamSessionSummary
source§fn clone(&self) -> StreamSessionSummary
fn clone(&self) -> StreamSessionSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StreamSessionSummary
impl Debug for StreamSessionSummary
source§impl PartialEq for StreamSessionSummary
impl PartialEq for StreamSessionSummary
source§fn eq(&self, other: &StreamSessionSummary) -> bool
fn eq(&self, other: &StreamSessionSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StreamSessionSummary
Auto Trait Implementations§
impl Freeze for StreamSessionSummary
impl RefUnwindSafe for StreamSessionSummary
impl Send for StreamSessionSummary
impl Sync for StreamSessionSummary
impl Unpin for StreamSessionSummary
impl UnwindSafe for StreamSessionSummary
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