#[repr(C)]pub struct InstrumentsData {
pub spot_address: Pubkey,
pub mint_id: u32,
pub px_decimals: u32,
pub strike_decimals: u32,
pub asset_ticker: [u8; 8],
pub assigned_oracle_num: i32,
pub reserved: u32,
pub oracle_time: i32,
pub workers_count: u32,
pub workers_data: [u8; 128],
}Fields§
§spot_address: Pubkey§mint_id: u32§px_decimals: u32§strike_decimals: u32§asset_ticker: [u8; 8]§assigned_oracle_num: i32§reserved: u32§oracle_time: i32§workers_count: u32§workers_data: [u8; 128]Trait Implementations§
source§impl Clone for InstrumentsData
impl Clone for InstrumentsData
source§fn clone(&self) -> InstrumentsData
fn clone(&self) -> InstrumentsData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InstrumentsData
Auto Trait Implementations§
impl Freeze for InstrumentsData
impl RefUnwindSafe for InstrumentsData
impl Send for InstrumentsData
impl Sync for InstrumentsData
impl Unpin for InstrumentsData
impl UnwindSafe for InstrumentsData
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more