lighthouse_sol/types/
assertion_result.rs

1//! This code was AUTOGENERATED using the codama library.
2//! Please DO NOT EDIT THIS FILE, instead use visitors
3//! to add features, then rerun codama to update it.
4//!
5//! <https://github.com/codama-idl/codama>
6//!
7
8use borsh::BorshDeserialize;
9use borsh::BorshSerialize;
10use solana_pubkey::Pubkey;
11
12#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
13#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
14pub enum AssertionResult {
15    U8(Option<u8>, Option<u8>, u8, bool),
16    U16(Option<u16>, Option<u16>, u8, bool),
17    U32(Option<u32>, Option<u32>, u8, bool),
18    U64(Option<u64>, Option<u64>, u8, bool),
19    U128(Option<u128>, Option<u128>, u8, bool),
20    I8(Option<i8>, Option<i8>, u8, bool),
21    I16(Option<i16>, Option<i16>, u8, bool),
22    I32(Option<i32>, Option<i32>, u8, bool),
23    I64(Option<i64>, Option<i64>, u8, bool),
24    I128(Option<i128>, Option<i128>, u8, bool),
25    Pubkey(Option<Pubkey>, Option<Pubkey>, u8, bool),
26    Bytes(Vec<u8>, Vec<u8>, u8, bool),
27    Bool(Option<bool>, Option<bool>, u8, bool),
28}