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