Struct clockwork_network_program::objects::WorkerSettings
source · [−]pub struct WorkerSettings {
pub commission_rate: u64,
pub signatory: Pubkey,
}
Expand description
WorkerSettings
Fields
commission_rate: u64
signatory: Pubkey
Trait Implementations
sourceimpl BorshDeserialize for WorkerSettingswhere
u64: BorshDeserialize,
Pubkey: BorshDeserialize,
impl BorshDeserialize for WorkerSettingswhere
u64: BorshDeserialize,
Pubkey: 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.
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<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