pub struct OrderVerificationContext<'a> {
pub challenge: Option<&'a PlatformOrderChallengeResponse>,
pub operation: &'a PlatformOrderChallengeRequest,
pub market_id: &'a str,
pub prepared: &'a PlatformOrderPrepareResponse,
pub owner_wallet: &'a str,
pub session_public_key: &'a str,
}Expand description
Everything a verifier needs to decide whether the session may sign one prepared resting-order transaction.
Fields§
§challenge: Option<&'a PlatformOrderChallengeResponse>Present only on the two-step (challenge) path.
operation: &'a PlatformOrderChallengeRequestThe bound operation: exactly as sent (direct path) or as made effective by the challenge (order command channel).
market_id: &'a str§prepared: &'a PlatformOrderPrepareResponse§owner_wallet: &'a str§session_public_key: &'a strTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for OrderVerificationContext<'a>
impl<'a> RefUnwindSafe for OrderVerificationContext<'a>
impl<'a> Send for OrderVerificationContext<'a>
impl<'a> Sync for OrderVerificationContext<'a>
impl<'a> Unpin for OrderVerificationContext<'a>
impl<'a> UnsafeUnpin for OrderVerificationContext<'a>
impl<'a> UnwindSafe for OrderVerificationContext<'a>
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