pub enum BitokuInstructions {
InitBitoku,
RegisterClient,
RemoveClient {
client_id: u8,
},
SendRequest {
request: Request,
},
}Variants§
InitBitoku
[signer]fee_payer account[writable]bookkeeper PDA account 2.[]system_program account 3.[]sys_var program
RegisterClient
[signer]fee_payer account[writable]bookkeeper PDA account[]request Pda account 3.[]system_program account 4.[]sys_var program
RemoveClient
[signer]fee_payer account[writable]bookkeeper PDA account[writable]request Pda account
SendRequest
[signer]fee_payer account[writable]request Pda account
Implementations§
Trait Implementations§
Source§impl BorshSerialize for BitokuInstructions
impl BorshSerialize for BitokuInstructions
Source§impl Clone for BitokuInstructions
impl Clone for BitokuInstructions
Source§fn clone(&self) -> BitokuInstructions
fn clone(&self) -> BitokuInstructions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BitokuInstructions
impl RefUnwindSafe for BitokuInstructions
impl Send for BitokuInstructions
impl Sync for BitokuInstructions
impl Unpin for BitokuInstructions
impl UnwindSafe for BitokuInstructions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more