pub struct OrderAuthorization {
pub bytes: Vec<u8>,
pub recent_blockhash: String,
pub last_valid_block_height: u64,
}Expand description
A parsed two-step order authorization: the exact bytes to sign and the blockhash lease they bind.
Fields§
§bytes: Vec<u8>§recent_blockhash: String§last_valid_block_height: u64Trait Implementations§
Source§impl Clone for OrderAuthorization
impl Clone for OrderAuthorization
Source§fn clone(&self) -> OrderAuthorization
fn clone(&self) -> OrderAuthorization
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 OrderAuthorization
impl Debug for OrderAuthorization
impl Eq for OrderAuthorization
Source§impl PartialEq for OrderAuthorization
impl PartialEq for OrderAuthorization
impl StructuralPartialEq for OrderAuthorization
Auto Trait Implementations§
impl Freeze for OrderAuthorization
impl RefUnwindSafe for OrderAuthorization
impl Send for OrderAuthorization
impl Sync for OrderAuthorization
impl Unpin for OrderAuthorization
impl UnsafeUnpin for OrderAuthorization
impl UnwindSafe for OrderAuthorization
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