pub struct TwapAuthorization {
pub bytes: Vec<u8>,
pub recent_blockhash: String,
pub last_valid_block_height: u64,
}Expand description
A parsed two-step TWAP 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 TwapAuthorization
impl Clone for TwapAuthorization
Source§fn clone(&self) -> TwapAuthorization
fn clone(&self) -> TwapAuthorization
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 TwapAuthorization
impl Debug for TwapAuthorization
impl Eq for TwapAuthorization
Source§impl PartialEq for TwapAuthorization
impl PartialEq for TwapAuthorization
impl StructuralPartialEq for TwapAuthorization
Auto Trait Implementations§
impl Freeze for TwapAuthorization
impl RefUnwindSafe for TwapAuthorization
impl Send for TwapAuthorization
impl Sync for TwapAuthorization
impl Unpin for TwapAuthorization
impl UnsafeUnpin for TwapAuthorization
impl UnwindSafe for TwapAuthorization
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