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: bool

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.