pub struct DecisionMessage {
pub phase_id: PhaseId,
pub batch_id: BatchId,
pub decision: StateValue,
pub batch: Option<CommandBatch>,
}
Fields§
§phase_id: PhaseId
§batch_id: BatchId
§decision: StateValue
§batch: Option<CommandBatch>
Trait Implementations§
Source§impl Clone for DecisionMessage
impl Clone for DecisionMessage
Source§fn clone(&self) -> DecisionMessage
fn clone(&self) -> DecisionMessage
Returns a duplicate 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 DecisionMessage
impl Debug for DecisionMessage
Source§impl<'de> Deserialize<'de> for DecisionMessage
impl<'de> Deserialize<'de> for DecisionMessage
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
Auto Trait Implementations§
impl Freeze for DecisionMessage
impl RefUnwindSafe for DecisionMessage
impl Send for DecisionMessage
impl Sync for DecisionMessage
impl Unpin for DecisionMessage
impl UnwindSafe for DecisionMessage
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