Struct access_protocol::instruction::create_stake_account::Params
source · pub struct Params {
pub nonce: u8,
pub owner: Pubkey,
}Expand description
The required parameters for the create_stake_account instruction
Fields§
§nonce: u8§owner: PubkeyTrait Implementations§
source§impl BorshDeserialize for Paramswhere
u8: BorshDeserialize,
Pubkey: BorshDeserialize,
impl BorshDeserialize for Paramswhere u8: BorshDeserialize, Pubkey: BorshDeserialize,
source§impl BorshSerialize for Paramswhere
u8: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for Paramswhere u8: BorshSerialize, Pubkey: BorshSerialize,
Auto Trait Implementations§
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
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