Struct clockwork_sdk::state::ThreadSettings
source · pub struct ThreadSettings {
pub fee: Option<u64>,
pub instructions: Option<Vec<SerializableInstruction, Global>>,
pub name: Option<String>,
pub rate_limit: Option<u64>,
pub trigger: Option<Trigger>,
}
Expand description
The properties of threads which are updatable.
Fields§
§fee: Option<u64>
§instructions: Option<Vec<SerializableInstruction, Global>>
§name: Option<String>
§rate_limit: Option<u64>
§trigger: Option<Trigger>
Trait Implementations§
source§impl BorshDeserialize for ThreadSettingswhere
Option<u64>: BorshDeserialize,
Option<Vec<SerializableInstruction, Global>>: BorshDeserialize,
Option<String>: BorshDeserialize,
Option<Trigger>: BorshDeserialize,
impl BorshDeserialize for ThreadSettingswhere Option<u64>: BorshDeserialize, Option<Vec<SerializableInstruction, Global>>: BorshDeserialize, Option<String>: BorshDeserialize, Option<Trigger>: BorshDeserialize,
source§fn deserialize(buf: &mut &[u8]) -> Result<ThreadSettings, Error>
fn deserialize(buf: &mut &[u8]) -> Result<ThreadSettings, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§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.
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§
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