#[non_exhaustive]pub struct RestartReceipt {
pub command_id: String,
pub session_stream: StreamRef,
pub target_stream: Option<StreamRef>,
pub status: String,
pub reason: Option<String>,
pub candidate_id: Option<String>,
pub terminal_outcome: String,
}Expand description
One restartReceipts entry on session/resume: a copy of the runtime
ManualCompactionReceipt in its own serde vocabulary — display event ids,
StreamRef streams, and the runtime’s snake-case status/reason/outcome
words.
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.command_id: StringThe compaction command’s event id, display form.
session_stream: StreamRefThe session stream the command was accepted on.
target_stream: Option<StreamRef>The compaction target run; absent on target-less receipts.
status: StringThe runtime status word (e.g. failed_before_start).
reason: Option<String>The runtime reason word, when the receipt carries one.
candidate_id: Option<String>The summary candidate id, when the receipt carries one.
terminal_outcome: StringThe runtime terminal-outcome word (e.g. failed).
Trait Implementations§
Source§impl Clone for RestartReceipt
impl Clone for RestartReceipt
Source§impl Debug for RestartReceipt
impl Debug for RestartReceipt
Source§impl<'de> Deserialize<'de> for RestartReceipt
impl<'de> Deserialize<'de> for RestartReceipt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RestartReceipt
Source§impl PartialEq for RestartReceipt
impl PartialEq for RestartReceipt
Source§impl Serialize for RestartReceipt
impl Serialize for RestartReceipt
impl StructuralPartialEq for RestartReceipt
Auto Trait Implementations§
impl Forget for RestartReceipt
impl Freeze for RestartReceipt
impl Move for RestartReceipt
impl RefUnwindSafe for RestartReceipt
impl Send for RestartReceipt
impl Sync for RestartReceipt
impl Unpin for RestartReceipt
impl UnsafeUnpin for RestartReceipt
impl UnwindSafe for RestartReceipt
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