Struct clockwork_client::thread::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.