Expand description
Params needed to stake tickets
Fields
amount: u64
number of tickets to stake
ticket_seed: Vec<u8>
uniqueness seed to allow a user to have many ClaimTicket
s
Trait Implementations
sourceimpl BorshDeserialize for StakeTicketsParamswhere
u64: BorshDeserialize,
Vec<u8>: BorshDeserialize,
impl BorshDeserialize for StakeTicketsParamswhere
u64: BorshDeserialize,
Vec<u8>: 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 StakeTicketsParams
impl Send for StakeTicketsParams
impl Sync for StakeTicketsParams
impl Unpin for StakeTicketsParams
impl UnwindSafe for StakeTicketsParams
Blanket Implementations
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