//! This code was AUTOGENERATED using the Codama library.
use crate::types::EmodeEntry;
/// An emode configuration. Each bank has one such configuration, but this may
/// also be the intersection of many configurations (see
/// `reconcile_emode_configs`). For example, the risk engine creates such an
/// intersection from all the emode config of all banks the user is borrowing
/// from.
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct EmodeConfig {
pub entries: [EmodeEntry; 10],
}