pub struct EpisodeContext {Show 20 fields
pub schema_version: u32,
pub episode_id: String,
pub summary: Option<String>,
pub continuity_state: String,
pub actor_ids: Vec<String>,
pub goal: Option<String>,
pub outcome: Option<String>,
pub started_at_unix_ms: Option<u64>,
pub ended_at_unix_ms: Option<u64>,
pub last_active_unix_ms: Option<u64>,
pub recurrence_key: Option<String>,
pub recurrence_interval_ms: Option<u64>,
pub boundary_label: Option<String>,
pub previous_record_id: Option<String>,
pub next_record_id: Option<String>,
pub causal_record_ids: Vec<String>,
pub related_record_ids: Vec<String>,
pub linked_artifact_uris: Vec<String>,
pub salience: Option<EpisodeSalience>,
pub affective: Option<AffectiveAnnotation>,
}Fields§
§schema_version: u32§episode_id: String§summary: Option<String>§continuity_state: String§actor_ids: Vec<String>§goal: Option<String>§outcome: Option<String>§started_at_unix_ms: Option<u64>§ended_at_unix_ms: Option<u64>§last_active_unix_ms: Option<u64>§recurrence_key: Option<String>§recurrence_interval_ms: Option<u64>§boundary_label: Option<String>§previous_record_id: Option<String>§next_record_id: Option<String>§causal_record_ids: Vec<String>§linked_artifact_uris: Vec<String>§salience: Option<EpisodeSalience>§affective: Option<AffectiveAnnotation>Implementations§
Source§impl EpisodeContext
impl EpisodeContext
Sourcepub fn summary(&self) -> &str
pub fn summary(&self) -> &str
Returns the value of summary, or the default value if summary is unset.
Sourcepub fn outcome(&self) -> &str
pub fn outcome(&self) -> &str
Returns the value of outcome, or the default value if outcome is unset.
Sourcepub fn started_at_unix_ms(&self) -> u64
pub fn started_at_unix_ms(&self) -> u64
Returns the value of started_at_unix_ms, or the default value if started_at_unix_ms is unset.
Sourcepub fn ended_at_unix_ms(&self) -> u64
pub fn ended_at_unix_ms(&self) -> u64
Returns the value of ended_at_unix_ms, or the default value if ended_at_unix_ms is unset.
Sourcepub fn last_active_unix_ms(&self) -> u64
pub fn last_active_unix_ms(&self) -> u64
Returns the value of last_active_unix_ms, or the default value if last_active_unix_ms is unset.
Sourcepub fn previous_record_id(&self) -> &str
pub fn previous_record_id(&self) -> &str
Returns the value of previous_record_id, or the default value if previous_record_id is unset.
Sourcepub fn next_record_id(&self) -> &str
pub fn next_record_id(&self) -> &str
Returns the value of next_record_id, or the default value if next_record_id is unset.
Sourcepub fn recurrence_key(&self) -> &str
pub fn recurrence_key(&self) -> &str
Returns the value of recurrence_key, or the default value if recurrence_key is unset.
Sourcepub fn recurrence_interval_ms(&self) -> u64
pub fn recurrence_interval_ms(&self) -> u64
Returns the value of recurrence_interval_ms, or the default value if recurrence_interval_ms is unset.
Sourcepub fn boundary_label(&self) -> &str
pub fn boundary_label(&self) -> &str
Returns the value of boundary_label, or the default value if boundary_label is unset.
Trait Implementations§
Source§impl Clone for EpisodeContext
impl Clone for EpisodeContext
Source§fn clone(&self) -> EpisodeContext
fn clone(&self) -> EpisodeContext
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EpisodeContext
impl Debug for EpisodeContext
Source§impl Default for EpisodeContext
impl Default for EpisodeContext
Source§impl Message for EpisodeContext
impl Message for EpisodeContext
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for EpisodeContext
impl PartialEq for EpisodeContext
Source§fn eq(&self, other: &EpisodeContext) -> bool
fn eq(&self, other: &EpisodeContext) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EpisodeContext
Auto Trait Implementations§
impl Freeze for EpisodeContext
impl RefUnwindSafe for EpisodeContext
impl Send for EpisodeContext
impl Sync for EpisodeContext
impl Unpin for EpisodeContext
impl UnsafeUnpin for EpisodeContext
impl UnwindSafe for EpisodeContext
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request