pub struct PlatformTwapChallengeResponse {
pub schema_version: u16,
pub contract_version: String,
pub challenge_id: String,
pub market_id: String,
pub action: PlatformTwapControlAction,
pub twap_id: 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§market_id: String§action: PlatformTwapControlAction§twap_id: String§server_time_ms: u64§expires_at_ms: u64Trait Implementations§
Source§impl Clone for PlatformTwapChallengeResponse
impl Clone for PlatformTwapChallengeResponse
Source§fn clone(&self) -> PlatformTwapChallengeResponse
fn clone(&self) -> PlatformTwapChallengeResponse
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<'de> Deserialize<'de> for PlatformTwapChallengeResponse
impl<'de> Deserialize<'de> for PlatformTwapChallengeResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformTwapChallengeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformTwapChallengeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformTwapChallengeResponse
Source§impl Serialize for PlatformTwapChallengeResponse
impl Serialize for PlatformTwapChallengeResponse
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 PlatformTwapChallengeResponse
Auto Trait Implementations§
impl Freeze for PlatformTwapChallengeResponse
impl RefUnwindSafe for PlatformTwapChallengeResponse
impl Send for PlatformTwapChallengeResponse
impl Sync for PlatformTwapChallengeResponse
impl Unpin for PlatformTwapChallengeResponse
impl UnsafeUnpin for PlatformTwapChallengeResponse
impl UnwindSafe for PlatformTwapChallengeResponse
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