pub struct PlatformTwapPrepareAuthorization {
pub challenge_id: String,
pub authorization_signature: String,
}Expand description
A prepared TWAP challenge, signed: the two-step path.
Fields§
§challenge_id: StringBase58 Ed25519 signature over authorization_payload_base64.
Trait Implementations§
Source§impl Clone for PlatformTwapPrepareAuthorization
impl Clone for PlatformTwapPrepareAuthorization
Source§fn clone(&self) -> PlatformTwapPrepareAuthorization
fn clone(&self) -> PlatformTwapPrepareAuthorization
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 PlatformTwapPrepareAuthorization
impl<'de> Deserialize<'de> for PlatformTwapPrepareAuthorization
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformTwapPrepareAuthorization, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformTwapPrepareAuthorization, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformTwapPrepareAuthorization
Source§impl Serialize for PlatformTwapPrepareAuthorization
impl Serialize for PlatformTwapPrepareAuthorization
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 PlatformTwapPrepareAuthorization
Auto Trait Implementations§
impl Freeze for PlatformTwapPrepareAuthorization
impl RefUnwindSafe for PlatformTwapPrepareAuthorization
impl Send for PlatformTwapPrepareAuthorization
impl Sync for PlatformTwapPrepareAuthorization
impl Unpin for PlatformTwapPrepareAuthorization
impl UnsafeUnpin for PlatformTwapPrepareAuthorization
impl UnwindSafe for PlatformTwapPrepareAuthorization
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