pub struct AllowAllRiskGate;Expand description
Pass-through risk hook for engines that rely on route-scoped limits.
Trait Implementations§
Source§impl Clone for AllowAllRiskGate
impl Clone for AllowAllRiskGate
Source§fn clone(&self) -> AllowAllRiskGate
fn clone(&self) -> AllowAllRiskGate
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 moreimpl Copy for AllowAllRiskGate
Source§impl Debug for AllowAllRiskGate
impl Debug for AllowAllRiskGate
Source§impl Default for AllowAllRiskGate
impl Default for AllowAllRiskGate
Source§fn default() -> AllowAllRiskGate
fn default() -> AllowAllRiskGate
Returns the “default value” for a type. Read more
impl Eq for AllowAllRiskGate
Source§impl PartialEq for AllowAllRiskGate
impl PartialEq for AllowAllRiskGate
Source§fn eq(&self, other: &AllowAllRiskGate) -> bool
fn eq(&self, other: &AllowAllRiskGate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RiskCheck for AllowAllRiskGate
impl RiskCheck for AllowAllRiskGate
Source§fn check_new(&self, _req: &OrderRequest, _ctx: &RiskContext) -> RiskDecision
fn check_new(&self, _req: &OrderRequest, _ctx: &RiskContext) -> RiskDecision
Checks a new order request.
Source§fn check_amend(&self, _req: &AmendRequest, _ctx: &RiskContext) -> RiskDecision
fn check_amend(&self, _req: &AmendRequest, _ctx: &RiskContext) -> RiskDecision
Checks an amend request.
Source§fn check_cancel(&self, _req: &CancelRequest, _ctx: &RiskContext) -> RiskDecision
fn check_cancel(&self, _req: &CancelRequest, _ctx: &RiskContext) -> RiskDecision
Checks a cancel request.
impl StructuralPartialEq for AllowAllRiskGate
Auto Trait Implementations§
impl Freeze for AllowAllRiskGate
impl RefUnwindSafe for AllowAllRiskGate
impl Send for AllowAllRiskGate
impl Sync for AllowAllRiskGate
impl Unpin for AllowAllRiskGate
impl UnsafeUnpin for AllowAllRiskGate
impl UnwindSafe for AllowAllRiskGate
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