pub struct PlatformOrderPrepareAuthorization {
pub challenge_id: String,
pub authorization_signature: Option<String>,
}Expand description
A prepared challenge, signed: the two-step path.
Fields§
§challenge_id: StringBase58 Ed25519 signature over authorization_payload_base64. Required
over HTTP. Over the session-authenticated order command channel it may
be omitted: the socket already proved the session and the challenge is
bound to it, so the session signs only the transaction (one signature).
Trait Implementations§
Source§impl Clone for PlatformOrderPrepareAuthorization
impl Clone for PlatformOrderPrepareAuthorization
Source§fn clone(&self) -> PlatformOrderPrepareAuthorization
fn clone(&self) -> PlatformOrderPrepareAuthorization
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 PlatformOrderPrepareAuthorization
impl<'de> Deserialize<'de> for PlatformOrderPrepareAuthorization
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformOrderPrepareAuthorization, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformOrderPrepareAuthorization, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformOrderPrepareAuthorization
Source§impl Serialize for PlatformOrderPrepareAuthorization
impl Serialize for PlatformOrderPrepareAuthorization
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 PlatformOrderPrepareAuthorization
Auto Trait Implementations§
impl Freeze for PlatformOrderPrepareAuthorization
impl RefUnwindSafe for PlatformOrderPrepareAuthorization
impl Send for PlatformOrderPrepareAuthorization
impl Sync for PlatformOrderPrepareAuthorization
impl Unpin for PlatformOrderPrepareAuthorization
impl UnsafeUnpin for PlatformOrderPrepareAuthorization
impl UnwindSafe for PlatformOrderPrepareAuthorization
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