pub enum PlatformOrderCommandClientFrame {
Authenticate {
owner_wallet: String,
session_public_key: String,
signature: String,
batch_format: Option<PlatformOrderCommandBatchFormat>,
},
Command {
request_id: String,
sequence: String,
command: PlatformOrderCommand,
},
}Expand description
Frames sent by an external agent. Authentication proves possession of the declared session key; individual order authorizations and transactions keep their existing exact external-signing boundaries. Authentication is a singleton frame. After authentication, the transport accepts either one command or a bounded array of commands; every command retains its own request ID and contiguous sequence.
Variants§
Authenticate
Fields
§
batch_format: Option<PlatformOrderCommandBatchFormat>Optional negotiated result framing. Omitted clients retain the complete-event array format.
Command
Trait Implementations§
Source§impl Clone for PlatformOrderCommandClientFrame
impl Clone for PlatformOrderCommandClientFrame
Source§fn clone(&self) -> PlatformOrderCommandClientFrame
fn clone(&self) -> PlatformOrderCommandClientFrame
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 PlatformOrderCommandClientFrame
impl<'de> Deserialize<'de> for PlatformOrderCommandClientFrame
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformOrderCommandClientFrame, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformOrderCommandClientFrame, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformOrderCommandClientFrame
Source§impl Serialize for PlatformOrderCommandClientFrame
impl Serialize for PlatformOrderCommandClientFrame
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 PlatformOrderCommandClientFrame
Auto Trait Implementations§
impl Freeze for PlatformOrderCommandClientFrame
impl RefUnwindSafe for PlatformOrderCommandClientFrame
impl Send for PlatformOrderCommandClientFrame
impl Sync for PlatformOrderCommandClientFrame
impl Unpin for PlatformOrderCommandClientFrame
impl UnsafeUnpin for PlatformOrderCommandClientFrame
impl UnwindSafe for PlatformOrderCommandClientFrame
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