Struct frac_stake::StakeAnimalBumps
source · pub struct StakeAnimalBumps {
pub animal: u8,
pub deposit: u8,
pub staker_info: u8,
}
Fields§
§animal: u8
§deposit: u8
§staker_info: u8
Trait Implementations§
source§impl BorshDeserialize for StakeAnimalBumpswhere
u8: BorshDeserialize,
impl BorshDeserialize for StakeAnimalBumpswhere u8: 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 StakeAnimalBumpswhere
u8: BorshSerialize,
impl BorshSerialize for StakeAnimalBumpswhere u8: BorshSerialize,
source§impl Clone for StakeAnimalBumps
impl Clone for StakeAnimalBumps
source§fn clone(&self) -> StakeAnimalBumps
fn clone(&self) -> StakeAnimalBumps
Returns a copy 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 Default for StakeAnimalBumps
impl Default for StakeAnimalBumps
source§fn default() -> StakeAnimalBumps
fn default() -> StakeAnimalBumps
Returns the “default value” for a type. Read more
impl Copy for StakeAnimalBumps
Auto Trait Implementations§
impl RefUnwindSafe for StakeAnimalBumps
impl Send for StakeAnimalBumps
impl Sync for StakeAnimalBumps
impl Unpin for StakeAnimalBumps
impl UnwindSafe for StakeAnimalBumps
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