lighthouse_sol/types/clock_field.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 num_derive::FromPrimitive;
11
12#[derive(
13 BorshSerialize,
14 BorshDeserialize,
15 Clone,
16 Debug,
17 Eq,
18 PartialEq,
19 Copy,
20 PartialOrd,
21 Hash,
22 FromPrimitive,
23)]
24#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
25pub enum ClockField {
26 Slot,
27 EpochStartTimestamp,
28 Epoch,
29 LeaderScheduleEpoch,
30 UnixTimestamp,
31}