//! 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 crate::generated::types::YieldDistribution;
use borsh::BorshSerialize;
use borsh::BorshDeserialize;
#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Capture {
pub min_capture_value: u64,
pub capture_interval: i64,
pub last_capture_timestamp: i64,
pub yield_distro: YieldDistribution,
}