pub struct ThreadCreate {
pub amount: u64,
pub id: Vec<u8>,
pub instructions: Vec<SerializableInstruction>,
pub trigger: Trigger,
}
Expand description
Instruction.
Fields§
§amount: u64
§id: Vec<u8>
§instructions: Vec<SerializableInstruction>
§trigger: Trigger
Trait Implementations§
source§impl BorshDeserialize for ThreadCreatewhere
u64: BorshDeserialize,
Vec<u8>: BorshDeserialize,
Vec<SerializableInstruction>: BorshDeserialize,
Trigger: BorshDeserialize,
impl BorshDeserialize for ThreadCreatewhere u64: BorshDeserialize, Vec<u8>: BorshDeserialize, Vec<SerializableInstruction>: BorshDeserialize, Trigger: BorshDeserialize,
source§impl BorshSerialize for ThreadCreatewhere
u64: BorshSerialize,
Vec<u8>: BorshSerialize,
Vec<SerializableInstruction>: BorshSerialize,
Trigger: BorshSerialize,
impl BorshSerialize for ThreadCreatewhere u64: BorshSerialize, Vec<u8>: BorshSerialize, Vec<SerializableInstruction>: BorshSerialize, Trigger: BorshSerialize,
source§impl Discriminator for ThreadCreate
impl Discriminator for ThreadCreate
const DISCRIMINATOR: [u8; 8] = _
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl RefUnwindSafe for ThreadCreate
impl Send for ThreadCreate
impl Sync for ThreadCreate
impl Unpin for ThreadCreate
impl UnwindSafe for ThreadCreate
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