Struct devol_accounts_kit::accounts::client::client_account::client_pool::ClientPool
source · #[repr(C)]pub struct ClientPool {Show 19 fields
pub id: u32,
pub worker_id: u32,
pub instr_id: u32,
pub fractions: u32,
pub counter: i64,
pub orig_counter: i64,
pub time: i64,
pub depo: [i64; 95],
pub cost: [i64; 95],
pub result: [i64; 95],
pub calls: [u32; 95],
pub puts: [u32; 95],
pub puts_cost: [i64; 95],
pub puts_result: [i64; 95],
pub last_cost: i64,
pub last_fees: i64,
pub last_trade: [i32; 95],
pub basket_length_memo: u8,
pub basket_memo: [BasketData; 4],
/* private fields */
}Fields§
§id: u32§worker_id: u32§instr_id: u32§fractions: u32§counter: i64§orig_counter: i64§time: i64§depo: [i64; 95]§cost: [i64; 95]§result: [i64; 95]§calls: [u32; 95]§puts: [u32; 95]§puts_cost: [i64; 95]§puts_result: [i64; 95]§last_cost: i64§last_fees: i64§last_trade: [i32; 95]§basket_length_memo: u8§basket_memo: [BasketData; 4]Implementations§
source§impl ClientPool
impl ClientPool
pub fn get_start(&self) -> i64
pub fn set_start(&mut self, value: i64)
pub fn get_expiration(&self) -> i64
pub fn set_expiration(&mut self, value: i64)
pub fn get_calls_cost(&self, index: usize) -> i64
pub fn set_calls_cost(&mut self, index: usize, value: i64)
pub fn get_calls_result(&self, index: usize) -> i64
pub fn set_calls_result(&mut self, index: usize, value: i64)
pub fn get_vanilla_cost(&self, index: usize) -> i64
pub fn set_vanilla_cost(&mut self, index: usize, value: i64)
pub fn get_last_px(&self, index: usize) -> i64
pub fn set_last_px(&mut self, index: usize, value: i64)
pub fn get_strikes(&self, index: usize) -> i64
pub fn set_strikes(&mut self, index: usize, value: i64)
pub fn get_bounds(&self, index: usize) -> i64
pub fn set_bounds(&mut self, index: usize, value: i64)
Trait Implementations§
source§impl Clone for ClientPool
impl Clone for ClientPool
source§fn clone(&self) -> ClientPool
fn clone(&self) -> ClientPool
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 moresource§impl Debug for ClientPool
impl Debug for ClientPool
source§impl Default for ClientPool
impl Default for ClientPool
source§impl PartialEq for ClientPool
impl PartialEq for ClientPool
source§fn eq(&self, other: &ClientPool) -> bool
fn eq(&self, other: &ClientPool) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ClientPool
impl StructuralPartialEq for ClientPool
Auto Trait Implementations§
impl Freeze for ClientPool
impl RefUnwindSafe for ClientPool
impl Send for ClientPool
impl Sync for ClientPool
impl Unpin for ClientPool
impl UnwindSafe for ClientPool
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