pub enum SeedKind {
Const,
Account,
Arg,
}Expand description
Classification of a PDA seed.
Variants§
Const
Constant byte array seed (often a UTF-8 string like “pool”, “lb_pair”).
Account
Reference to another account in the instruction.
Arg
Reference to an instruction argument.
Trait Implementations§
impl Eq for SeedKind
impl StructuralPartialEq for SeedKind
Auto Trait Implementations§
impl Freeze for SeedKind
impl RefUnwindSafe for SeedKind
impl Send for SeedKind
impl Sync for SeedKind
impl Unpin for SeedKind
impl UnsafeUnpin for SeedKind
impl UnwindSafe for SeedKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more