pub struct OperationRejection {
pub operation_id: OperationId,
pub code: RejectionCode,
pub message: String,
}Expand description
A permanent operation rejection that should not be retried unchanged.
Fields§
§operation_id: OperationIdRejected operation.
code: RejectionCodeMachine-readable category.
message: StringBounded, non-sensitive explanation suitable for a conflict inbox.
Trait Implementations§
Source§impl Clone for OperationRejection
impl Clone for OperationRejection
Source§fn clone(&self) -> OperationRejection
fn clone(&self) -> OperationRejection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OperationRejection
impl Debug for OperationRejection
Source§impl<'de> Deserialize<'de> for OperationRejection
impl<'de> Deserialize<'de> for OperationRejection
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 OperationRejection
Source§impl PartialEq for OperationRejection
impl PartialEq for OperationRejection
Source§impl Serialize for OperationRejection
impl Serialize for OperationRejection
impl StructuralPartialEq for OperationRejection
Auto Trait Implementations§
impl Freeze for OperationRejection
impl RefUnwindSafe for OperationRejection
impl Send for OperationRejection
impl Sync for OperationRejection
impl Unpin for OperationRejection
impl UnsafeUnpin for OperationRejection
impl UnwindSafe for OperationRejection
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