Struct clockwork_thread_program::objects::ThreadSettings
source · [−]pub struct ThreadSettings {
pub fee: Option<u64>,
pub kickoff_instruction: Option<InstructionData>,
pub rate_limit: Option<u64>,
pub trigger: Option<Trigger>,
}Expand description
The properties of threads which are updatable.
Fields
fee: Option<u64>kickoff_instruction: Option<InstructionData>rate_limit: Option<u64>trigger: Option<Trigger>Trait Implementations
sourceimpl BorshDeserialize for ThreadSettingswhere
Option<u64>: BorshDeserialize,
Option<InstructionData>: BorshDeserialize,
Option<u64>: BorshDeserialize,
Option<Trigger>: BorshDeserialize,
impl BorshDeserialize for ThreadSettingswhere
Option<u64>: BorshDeserialize,
Option<InstructionData>: BorshDeserialize,
Option<u64>: BorshDeserialize,
Option<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 ThreadSettingswhere
Option<u64>: BorshSerialize,
Option<InstructionData>: BorshSerialize,
Option<u64>: BorshSerialize,
Option<Trigger>: BorshSerialize,
impl BorshSerialize for ThreadSettingswhere
Option<u64>: BorshSerialize,
Option<InstructionData>: BorshSerialize,
Option<u64>: BorshSerialize,
Option<Trigger>: BorshSerialize,
Auto Trait Implementations
impl RefUnwindSafe for ThreadSettings
impl Send for ThreadSettings
impl Sync for ThreadSettings
impl Unpin for ThreadSettings
impl UnwindSafe for ThreadSettings
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