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 {Show 15 fields
owner: Expr,
freeze_authority: Option<Expr>,
decimals: Expr,
token_program: Option<Expr>,
group_pointer_authority: Option<Expr>,
group_pointer_group_address: Option<Expr>,
group_member_pointer_authority: Option<Expr>,
group_member_pointer_member_address: Option<Expr>,
metadata_pointer_authority: Option<Expr>,
metadata_pointer_metadata_address: Option<Expr>,
close_authority: Option<Expr>,
permanent_delegate: Option<Expr>,
transfer_hook_authority: Option<Expr>,
transfer_hook_program_id: Option<Expr>,
pausable_authority: Option<Expr>,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl !Send for InitKind
impl !Sync for InitKind
impl Freeze for InitKind
impl RefUnwindSafe for InitKind
impl Unpin for InitKind
impl UnsafeUnpin 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