pub enum DecisionAttemptOutcome {
Accepted {
trace_id: Option<DecisionTraceId>,
command_request_id: Option<CommandRequestId>,
},
Rejected {
code: DecisionAttemptErrorCode,
message: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for DecisionAttemptOutcome
impl Clone for DecisionAttemptOutcome
Source§fn clone(&self) -> DecisionAttemptOutcome
fn clone(&self) -> DecisionAttemptOutcome
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 DecisionAttemptOutcome
impl Debug for DecisionAttemptOutcome
Source§impl<'de> Deserialize<'de> for DecisionAttemptOutcome
impl<'de> Deserialize<'de> for DecisionAttemptOutcome
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DecisionAttemptOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DecisionAttemptOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DecisionAttemptOutcome
Source§impl PartialEq for DecisionAttemptOutcome
impl PartialEq for DecisionAttemptOutcome
Source§impl Serialize for DecisionAttemptOutcome
impl Serialize for DecisionAttemptOutcome
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DecisionAttemptOutcome
Auto Trait Implementations§
impl Freeze for DecisionAttemptOutcome
impl RefUnwindSafe for DecisionAttemptOutcome
impl Send for DecisionAttemptOutcome
impl Sync for DecisionAttemptOutcome
impl Unpin for DecisionAttemptOutcome
impl UnsafeUnpin for DecisionAttemptOutcome
impl UnwindSafe for DecisionAttemptOutcome
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