#[non_exhaustive]pub struct EventPredictionSummary {
pub event_id: Option<String>,
pub event_type_name: Option<String>,
pub event_timestamp: Option<String>,
pub prediction_timestamp: Option<String>,
pub detector_id: Option<String>,
pub detector_version_id: Option<String>,
}
Expand description
Information about the summary of an event prediction.
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.event_id: Option<String>
The event ID.
event_type_name: Option<String>
The event type.
event_timestamp: Option<String>
The timestamp of the event.
prediction_timestamp: Option<String>
The timestamp when the prediction was generated.
detector_id: Option<String>
The detector ID.
detector_version_id: Option<String>
The detector version ID.
Implementations§
source§impl EventPredictionSummary
impl EventPredictionSummary
sourcepub fn event_type_name(&self) -> Option<&str>
pub fn event_type_name(&self) -> Option<&str>
The event type.
sourcepub fn event_timestamp(&self) -> Option<&str>
pub fn event_timestamp(&self) -> Option<&str>
The timestamp of the event.
sourcepub fn prediction_timestamp(&self) -> Option<&str>
pub fn prediction_timestamp(&self) -> Option<&str>
The timestamp when the prediction was generated.
sourcepub fn detector_id(&self) -> Option<&str>
pub fn detector_id(&self) -> Option<&str>
The detector ID.
sourcepub fn detector_version_id(&self) -> Option<&str>
pub fn detector_version_id(&self) -> Option<&str>
The detector version ID.
source§impl EventPredictionSummary
impl EventPredictionSummary
sourcepub fn builder() -> EventPredictionSummaryBuilder
pub fn builder() -> EventPredictionSummaryBuilder
Creates a new builder-style object to manufacture EventPredictionSummary
.
Trait Implementations§
source§impl Clone for EventPredictionSummary
impl Clone for EventPredictionSummary
source§fn clone(&self) -> EventPredictionSummary
fn clone(&self) -> EventPredictionSummary
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 EventPredictionSummary
impl Debug for EventPredictionSummary
source§impl PartialEq for EventPredictionSummary
impl PartialEq for EventPredictionSummary
source§fn eq(&self, other: &EventPredictionSummary) -> bool
fn eq(&self, other: &EventPredictionSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventPredictionSummary
Auto Trait Implementations§
impl Freeze for EventPredictionSummary
impl RefUnwindSafe for EventPredictionSummary
impl Send for EventPredictionSummary
impl Sync for EventPredictionSummary
impl Unpin for EventPredictionSummary
impl UnwindSafe for EventPredictionSummary
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.