#[repr(C)]pub struct PoolsLog {Show 14 fields
pub id: [u8; 8],
pub time: [u8; 8],
pub event_type: [u8; 4],
pub fractions: [u8; 4],
pub task_id: [u8; 4],
pub pool_id: [u8; 4],
pub instr_id: [u8; 4],
pub counter: [u8; 8],
pub pubkey: Pubkey,
pub cost: [u8; 8],
pub px: [[u8; 8]; 95],
pub qty: [[u8; 4]; 95],
pub vanilla_memo: [u8; 49],
pub vanilla_cost: [[u8; 8]; 4],
}Fields§
§id: [u8; 8]§time: [u8; 8]§event_type: [u8; 4]§fractions: [u8; 4]§task_id: [u8; 4]§pool_id: [u8; 4]§instr_id: [u8; 4]§counter: [u8; 8]§pubkey: Pubkey§cost: [u8; 8]§px: [[u8; 8]; 95]§qty: [[u8; 4]; 95]§vanilla_memo: [u8; 49]§vanilla_cost: [[u8; 8]; 4]Implementations§
source§impl PoolsLog
impl PoolsLog
pub fn get_id(&self) -> i64
pub fn set_id(&mut self, value: i64)
pub fn get_time(&self) -> i64
pub fn set_time(&mut self, value: i64)
pub fn get_event_type(&self) -> u32
pub fn set_event_type(&mut self, value: u32)
pub fn get_fractions(&self) -> u32
pub fn set_fractions(&mut self, value: u32)
pub fn get_task_id(&self) -> u32
pub fn set_task_id(&mut self, value: u32)
pub fn get_pool_id(&self) -> u32
pub fn set_pool_id(&mut self, value: u32)
pub fn get_instr_id(&self) -> u32
pub fn set_instr_id(&mut self, value: u32)
pub fn get_counter(&self) -> u64
pub fn set_counter(&mut self, value: u64)
pub fn get_cost(&self) -> i64
pub fn set_cost(&mut self, value: i64)
pub fn get_px(&self, index: usize) -> i64
pub fn set_px(&mut self, index: usize, value: i64)
pub fn set_qty(&mut self, index: usize, value: i32)
pub fn get_qty(&self, index: usize) -> i32
pub fn get_vanilla_cost(&self, index: usize) -> i64
pub fn set_vanilla_cost(&mut self, index: usize, value: i64)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PoolsLog
impl RefUnwindSafe for PoolsLog
impl Send for PoolsLog
impl Sync for PoolsLog
impl Unpin for PoolsLog
impl UnwindSafe for PoolsLog
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