pub struct BeginInterventionCommand {
pub context: CommerceContext,
pub intervention: InterventionState,
}Available on crate feature
payments only.Expand description
Canonical request to start an intervention flow.
Fields§
§context: CommerceContext§intervention: InterventionStateTrait Implementations§
Source§impl Clone for BeginInterventionCommand
impl Clone for BeginInterventionCommand
Source§fn clone(&self) -> BeginInterventionCommand
fn clone(&self) -> BeginInterventionCommand
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 BeginInterventionCommand
impl Debug for BeginInterventionCommand
Source§impl<'de> Deserialize<'de> for BeginInterventionCommand
impl<'de> Deserialize<'de> for BeginInterventionCommand
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BeginInterventionCommand, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BeginInterventionCommand, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BeginInterventionCommand
impl PartialEq for BeginInterventionCommand
Source§fn eq(&self, other: &BeginInterventionCommand) -> bool
fn eq(&self, other: &BeginInterventionCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BeginInterventionCommand
impl Serialize for BeginInterventionCommand
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 BeginInterventionCommand
Auto Trait Implementations§
impl Freeze for BeginInterventionCommand
impl RefUnwindSafe for BeginInterventionCommand
impl Send for BeginInterventionCommand
impl Sync for BeginInterventionCommand
impl Unpin for BeginInterventionCommand
impl UnsafeUnpin for BeginInterventionCommand
impl UnwindSafe for BeginInterventionCommand
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