pub trait Nullable:
AnchorSerialize
+ AnchorDeserialize
+ PartialEq {
const NONE: Self;
// Provided methods
fn is_some(&self) -> bool { ... }
fn is_none(&self) -> bool { ... }
}Expand description
Used for Borsh types that can have a None value.
Required Associated Constants§
Provided Methods§
Object Safety§
This trait is not object safe.