pub struct ExecutionChallengeResponse {
pub schema_version: u16,
pub contract_version: String,
pub challenge_id: String,
pub quote_id: String,
pub market_id: String,
pub side: QuoteSide,
pub amount_in_atoms: String,
pub minimum_output_atoms: String,
pub authorization_payload_base64: String,
pub server_time_ms: u64,
pub expires_at_ms: u64,
}Fields§
§schema_version: u16§contract_version: String§challenge_id: String§quote_id: String§market_id: String§side: QuoteSide§amount_in_atoms: String§minimum_output_atoms: StringThe sole customer-facing execution protection.
Canonical bytes to sign locally with the declared session key.
server_time_ms: u64§expires_at_ms: u64Trait Implementations§
Source§impl Clone for ExecutionChallengeResponse
impl Clone for ExecutionChallengeResponse
Source§fn clone(&self) -> ExecutionChallengeResponse
fn clone(&self) -> ExecutionChallengeResponse
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 ExecutionChallengeResponse
impl Debug for ExecutionChallengeResponse
Source§impl<'de> Deserialize<'de> for ExecutionChallengeResponse
impl<'de> Deserialize<'de> for ExecutionChallengeResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecutionChallengeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecutionChallengeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExecutionChallengeResponse
Source§impl Serialize for ExecutionChallengeResponse
impl Serialize for ExecutionChallengeResponse
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 ExecutionChallengeResponse
Auto Trait Implementations§
impl Freeze for ExecutionChallengeResponse
impl RefUnwindSafe for ExecutionChallengeResponse
impl Send for ExecutionChallengeResponse
impl Sync for ExecutionChallengeResponse
impl Unpin for ExecutionChallengeResponse
impl UnsafeUnpin for ExecutionChallengeResponse
impl UnwindSafe for ExecutionChallengeResponse
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