pub struct InterpretationEnd {
pub interpretation_id: InterpretationId,
pub connection_id: ConnectionId,
pub external_session_id: Option<ExternalSessionId>,
pub kind: InterpretationEndKind,
pub canonical_event_count: u64,
pub completed_sentence_count: u64,
pub completed_structure_count: u64,
pub unresolved_text_bytes: u64,
pub source_bytes_consumed: u64,
pub safe_diagnostics: Vec<String>,
}Expand description
Exactly one terminal report per interpretation.
Fields§
§interpretation_id: InterpretationIdInterpretation identity.
connection_id: ConnectionIdConnection identity.
external_session_id: Option<ExternalSessionId>External session when present.
kind: InterpretationEndKindTerminal kind.
canonical_event_count: u64Canonical events published.
completed_sentence_count: u64Completed sentences.
completed_structure_count: u64Completed structures.
unresolved_text_bytes: u64Unresolved text bytes at end.
source_bytes_consumed: u64Source bytes consumed.
safe_diagnostics: Vec<String>Bounded safe diagnostics.
Trait Implementations§
Source§impl Clone for InterpretationEnd
impl Clone for InterpretationEnd
Source§fn clone(&self) -> InterpretationEnd
fn clone(&self) -> InterpretationEnd
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InterpretationEnd
impl Debug for InterpretationEnd
Source§impl<'de> Deserialize<'de> for InterpretationEnd
impl<'de> Deserialize<'de> for InterpretationEnd
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InterpretationEnd, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InterpretationEnd, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InterpretationEnd
Source§impl PartialEq for InterpretationEnd
impl PartialEq for InterpretationEnd
Source§impl Serialize for InterpretationEnd
impl Serialize for InterpretationEnd
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for InterpretationEnd
Auto Trait Implementations§
impl Freeze for InterpretationEnd
impl RefUnwindSafe for InterpretationEnd
impl Send for InterpretationEnd
impl Sync for InterpretationEnd
impl Unpin for InterpretationEnd
impl UnsafeUnpin for InterpretationEnd
impl UnwindSafe for InterpretationEnd
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.