Struct hapi_core::instruction::UpdateCommunity
source · [−]pub struct UpdateCommunity {
pub stake_unlock_epochs: u64,
pub confirmation_threshold: u8,
pub validator_stake: u64,
pub tracer_stake: u64,
pub full_stake: u64,
pub authority_stake: u64,
}
Expand description
Instruction.
Fields
stake_unlock_epochs: u64
confirmation_threshold: u8
validator_stake: u64
tracer_stake: u64
full_stake: u64
Trait Implementations
sourceimpl BorshDeserialize for UpdateCommunity where
u64: BorshDeserialize,
u8: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for UpdateCommunity where
u64: BorshDeserialize,
u8: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: 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 UpdateCommunity
impl Send for UpdateCommunity
impl Sync for UpdateCommunity
impl Unpin for UpdateCommunity
impl UnwindSafe for UpdateCommunity
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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