//! This code was AUTOGENERATED using the codama library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun codama to update it.
//!
//! <https://github.com/codama-idl/codama>
//!
use borsh::BorshDeserialize;
use borsh::BorshSerialize;
/// The element of observations in ObservationState
#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Observation {
/// The block timestamp of the observation
pub block_timestamp: u32,
/// the cumulative of tick during the duration time
pub tick_cumulative: i64,
/// padding for feature update
pub padding: [u64; 4],
}