Enum anchor_syn::InitKind
source · pub enum InitKind {
Program {
owner: Option<Expr>,
},
Interface {
owner: Option<Expr>,
},
Token {
owner: Expr,
mint: Expr,
token_program: Option<Expr>,
},
AssociatedToken {
owner: Expr,
mint: Expr,
token_program: Option<Expr>,
},
Mint {
owner: Expr,
freeze_authority: Option<Expr>,
decimals: Expr,
token_program: Option<Expr>,
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for InitKind
impl !Send for InitKind
impl !Sync for InitKind
impl Unpin for InitKind
impl UnwindSafe for InitKind
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