pub struct RecipientSlot {
pub id: u8,
pub slot_type: RecipientSlotType,
pub token_addr: String,
pub shares: Vec<RecipientSlotShare>,
pub balance: u64,
}Fields§
§id: u8§slot_type: RecipientSlotType§token_addr: String§balance: u64Trait Implementations§
Source§impl BorshDeserialize for RecipientSlot
impl BorshDeserialize for RecipientSlot
Source§impl BorshSerialize for RecipientSlot
impl BorshSerialize for RecipientSlot
Source§impl Clone for RecipientSlot
impl Clone for RecipientSlot
Source§fn clone(&self) -> RecipientSlot
fn clone(&self) -> RecipientSlot
Returns a duplicate 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 Debug for RecipientSlot
impl Debug for RecipientSlot
Source§impl PartialEq for RecipientSlot
impl PartialEq for RecipientSlot
impl Eq for RecipientSlot
impl StructuralPartialEq for RecipientSlot
Auto Trait Implementations§
impl Freeze for RecipientSlot
impl RefUnwindSafe for RecipientSlot
impl Send for RecipientSlot
impl Sync for RecipientSlot
impl Unpin for RecipientSlot
impl UnwindSafe for RecipientSlot
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