pub struct UpdateTaskQueueArgsV0 {
pub min_crank_reward: Option<u64>,
pub capacity: Option<u16>,
pub lookup_tables: Option<Vec<Pubkey>>,
pub update_authority: Option<Pubkey>,
pub stale_task_age: Option<u32>,
}Fields§
§min_crank_reward: Option<u64>§capacity: Option<u16>§lookup_tables: Option<Vec<Pubkey>>§stale_task_age: Option<u32>Trait Implementations§
Source§impl BorshDeserialize for UpdateTaskQueueArgsV0where
Option<u64>: BorshDeserialize,
Option<u16>: BorshDeserialize,
Option<Vec<Pubkey>>: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
Option<u32>: BorshDeserialize,
impl BorshDeserialize for UpdateTaskQueueArgsV0where
Option<u64>: BorshDeserialize,
Option<u16>: BorshDeserialize,
Option<Vec<Pubkey>>: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
Option<u32>: BorshDeserialize,
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
Source§fn 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.
Source§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.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for UpdateTaskQueueArgsV0where
Option<u64>: BorshSerialize,
Option<u16>: BorshSerialize,
Option<Vec<Pubkey>>: BorshSerialize,
Option<Pubkey>: BorshSerialize,
Option<u32>: BorshSerialize,
impl BorshSerialize for UpdateTaskQueueArgsV0where
Option<u64>: BorshSerialize,
Option<u16>: BorshSerialize,
Option<Vec<Pubkey>>: BorshSerialize,
Option<Pubkey>: BorshSerialize,
Option<u32>: BorshSerialize,
Source§impl Clone for UpdateTaskQueueArgsV0
impl Clone for UpdateTaskQueueArgsV0
Source§fn clone(&self) -> UpdateTaskQueueArgsV0
fn clone(&self) -> UpdateTaskQueueArgsV0
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateTaskQueueArgsV0
impl Debug for UpdateTaskQueueArgsV0
Source§impl Default for UpdateTaskQueueArgsV0
impl Default for UpdateTaskQueueArgsV0
Source§fn default() -> UpdateTaskQueueArgsV0
fn default() -> UpdateTaskQueueArgsV0
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateTaskQueueArgsV0
impl RefUnwindSafe for UpdateTaskQueueArgsV0
impl Send for UpdateTaskQueueArgsV0
impl Sync for UpdateTaskQueueArgsV0
impl Unpin for UpdateTaskQueueArgsV0
impl UnwindSafe for UpdateTaskQueueArgsV0
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