Struct RiskDecision
pub struct RiskDecision {
pub client_intent_id: ClientIntentId,
pub decision: Decision,
pub reason_code: RiskReasonCode,
pub reason_detail: Option<String>,
pub limits_snapshot: Option<Value>,
pub modified_intent: Option<OrderIntent>,
}Expand description
§8.6 — Risk gateway decision.
Fields§
§client_intent_id: ClientIntentId§decision: Decision§reason_code: RiskReasonCode§reason_detail: Option<String>§limits_snapshot: Option<Value>§modified_intent: Option<OrderIntent>Trait Implementations§
§impl Clone for RiskDecision
impl Clone for RiskDecision
§fn clone(&self) -> RiskDecision
fn clone(&self) -> RiskDecision
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for RiskDecision
impl Debug for RiskDecision
§impl<'de> Deserialize<'de> for RiskDecision
impl<'de> Deserialize<'de> for RiskDecision
§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 Serialize for RiskDecision
impl Serialize for RiskDecision
Auto Trait Implementations§
impl Freeze for RiskDecision
impl RefUnwindSafe for RiskDecision
impl Send for RiskDecision
impl Sync for RiskDecision
impl Unpin for RiskDecision
impl UnsafeUnpin for RiskDecision
impl UnwindSafe for RiskDecision
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)