pub struct CommandRejection {
pub attempt_id: Option<CommandAttemptId>,
pub request_id: Option<CommandRequestId>,
pub retained_revision: u64,
pub rejected_at: SimTime,
pub error: CanwuError,
}Fields§
§attempt_id: Option<CommandAttemptId>§request_id: Option<CommandRequestId>§retained_revision: u64Authoritative revision after persisted rejection evidence commits. Non-persisted conflicts retain the already committed current revision.
rejected_at: SimTime§error: CanwuErrorTrait Implementations§
Source§impl Clone for CommandRejection
impl Clone for CommandRejection
Source§impl Debug for CommandRejection
impl Debug for CommandRejection
Source§impl<'de> Deserialize<'de> for CommandRejection
impl<'de> Deserialize<'de> for CommandRejection
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
Source§impl PartialEq for CommandRejection
impl PartialEq for CommandRejection
Source§impl Serialize for CommandRejection
impl Serialize for CommandRejection
impl StructuralPartialEq for CommandRejection
Auto Trait Implementations§
impl Freeze for CommandRejection
impl RefUnwindSafe for CommandRejection
impl Send for CommandRejection
impl Sync for CommandRejection
impl Unpin for CommandRejection
impl UnsafeUnpin for CommandRejection
impl UnwindSafe for CommandRejection
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