pub struct PendingOperation {
pub id: OperationId,
pub operation: GroupOperation,
pub proposed_at: SystemTime,
pub proposer: ParticipantId,
pub approvals: Vec<ParticipantApproval>,
pub rejections: Vec<ParticipantRejection>,
pub status: ConsensusStatus,
}Expand description
Pending operation awaiting consensus
Fields§
§id: OperationId§operation: GroupOperation§proposed_at: SystemTime§proposer: ParticipantId§approvals: Vec<ParticipantApproval>§rejections: Vec<ParticipantRejection>§status: ConsensusStatusTrait Implementations§
Source§impl Clone for PendingOperation
impl Clone for PendingOperation
Source§fn clone(&self) -> PendingOperation
fn clone(&self) -> PendingOperation
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 moreAuto Trait Implementations§
impl Freeze for PendingOperation
impl RefUnwindSafe for PendingOperation
impl Send for PendingOperation
impl Sync for PendingOperation
impl Unpin for PendingOperation
impl UnwindSafe for PendingOperation
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