pub enum PlatformOrderPrepareRequest {
Authorized(PlatformOrderPrepareAuthorization),
Direct(PlatformOrderChallengeRequest),
}Expand description
Prepare an order-control transaction. Either hand back a signed challenge
(Authorized, two signatures per action) or send the operation itself
(Direct, one signature per action): Strata builds the transaction from
the operation immediately and the session’s signature over that
transaction is the whole authorization. The response is identical.
Variants§
Authorized(PlatformOrderPrepareAuthorization)
Direct(PlatformOrderChallengeRequest)
Trait Implementations§
Source§impl Clone for PlatformOrderPrepareRequest
impl Clone for PlatformOrderPrepareRequest
Source§fn clone(&self) -> PlatformOrderPrepareRequest
fn clone(&self) -> PlatformOrderPrepareRequest
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 PlatformOrderPrepareRequest
impl Debug for PlatformOrderPrepareRequest
Source§impl<'de> Deserialize<'de> for PlatformOrderPrepareRequest
impl<'de> Deserialize<'de> for PlatformOrderPrepareRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformOrderPrepareRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformOrderPrepareRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformOrderPrepareRequest
Source§impl Serialize for PlatformOrderPrepareRequest
impl Serialize for PlatformOrderPrepareRequest
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 PlatformOrderPrepareRequest
Auto Trait Implementations§
impl Freeze for PlatformOrderPrepareRequest
impl RefUnwindSafe for PlatformOrderPrepareRequest
impl Send for PlatformOrderPrepareRequest
impl Sync for PlatformOrderPrepareRequest
impl Unpin for PlatformOrderPrepareRequest
impl UnsafeUnpin for PlatformOrderPrepareRequest
impl UnwindSafe for PlatformOrderPrepareRequest
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