Struct cyclos_core::cyclos_core::SwapCache
source · [−]pub struct SwapCache {
pub fee_protocol: u8,
pub liquidity_start: u64,
pub block_timestamp: u32,
pub tick_cumulative: i64,
pub seconds_per_liquidity_cumulative_x32: u64,
pub computed_latest_observation: bool,
}Fields
fee_protocol: u8liquidity_start: u64block_timestamp: u32tick_cumulative: i64seconds_per_liquidity_cumulative_x32: u64computed_latest_observation: boolAuto Trait Implementations
impl RefUnwindSafe for SwapCache
impl Send for SwapCache
impl Sync for SwapCache
impl Unpin for SwapCache
impl UnwindSafe for SwapCache
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more