Struct clockwork_thread_program::instruction::ThreadCreate
source · [−]pub struct ThreadCreate {
pub id: String,
pub kickoff_instruction: InstructionData,
pub trigger: Trigger,
}Expand description
Instruction.
Fields
id: Stringkickoff_instruction: InstructionDatatrigger: TriggerTrait Implementations
sourceimpl BorshDeserialize for ThreadCreatewhere
String: BorshDeserialize,
InstructionData: BorshDeserialize,
Trigger: BorshDeserialize,
impl BorshDeserialize for ThreadCreatewhere
String: BorshDeserialize,
InstructionData: BorshDeserialize,
Trigger: BorshDeserialize,
sourcefn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes. Read more
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
sourceimpl BorshSerialize for ThreadCreatewhere
String: BorshSerialize,
InstructionData: BorshSerialize,
Trigger: BorshSerialize,
impl BorshSerialize for ThreadCreatewhere
String: BorshSerialize,
InstructionData: BorshSerialize,
Trigger: BorshSerialize,
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
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more