pub struct IncreaseObservationCardinalityNext {
pub observation_cardinality_next_old: u16,
pub observation_cardinality_next_new: u16,
}Expand description
Emitted by the pool for increases to the number of observations that can be stored
observation_cardinality_next is not the observation cardinality until an observation
is written at the index just before a mint/swap/burn.
Fields
observation_cardinality_next_old: u16The previous value of the next observation cardinality
observation_cardinality_next_new: u16The updated value of the next observation cardinality
Trait Implementations
sourceimpl BorshDeserialize for IncreaseObservationCardinalityNext where
u16: BorshDeserialize,
u16: BorshDeserialize,
impl BorshDeserialize for IncreaseObservationCardinalityNext where
u16: BorshDeserialize,
u16: BorshDeserialize,
sourceimpl BorshSerialize for IncreaseObservationCardinalityNext where
u16: BorshSerialize,
u16: BorshSerialize,
impl BorshSerialize for IncreaseObservationCardinalityNext where
u16: BorshSerialize,
u16: BorshSerialize,
Auto Trait Implementations
impl RefUnwindSafe for IncreaseObservationCardinalityNext
impl Send for IncreaseObservationCardinalityNext
impl Sync for IncreaseObservationCardinalityNext
impl Unpin for IncreaseObservationCardinalityNext
impl UnwindSafe for IncreaseObservationCardinalityNext
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