Struct clockwork_client::network::state::WorkerSettings
source · pub struct WorkerSettings {
pub commission_rate: u64,
pub signatory: Pubkey,
}Expand description
WorkerSettings
Fields§
§commission_rate: u64§signatory: PubkeyTrait Implementations§
source§impl BorshDeserialize for WorkerSettingswhere
u64: BorshDeserialize,
Pubkey: BorshDeserialize,
impl BorshDeserialize for WorkerSettingswhere u64: BorshDeserialize, Pubkey: BorshDeserialize,
source§fn deserialize(buf: &mut &[u8]) -> Result<WorkerSettings, Error>
fn deserialize(buf: &mut &[u8]) -> Result<WorkerSettings, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§impl BorshSerialize for WorkerSettingswhere
u64: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for WorkerSettingswhere u64: BorshSerialize, Pubkey: BorshSerialize,
Auto Trait Implementations§
impl RefUnwindSafe for WorkerSettings
impl Send for WorkerSettings
impl Sync for WorkerSettings
impl Unpin for WorkerSettings
impl UnwindSafe for WorkerSettings
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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