pub struct Recipients {
pub recipients: [Recipient; 10],
pub recipients_count: u8,
}Fields§
§recipients: [Recipient; 10]§recipients_count: u8Trait Implementations§
Source§impl BorshDeserialize for Recipients
impl BorshDeserialize for Recipients
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 Recipients
impl BorshSerialize for Recipients
Source§impl Clone for Recipients
impl Clone for Recipients
Source§fn clone(&self) -> Recipients
fn clone(&self) -> Recipients
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Recipients
impl Debug for Recipients
impl Eq for Recipients
Source§impl PartialEq for Recipients
impl PartialEq for Recipients
Source§fn eq(&self, other: &Recipients) -> bool
fn eq(&self, other: &Recipients) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Recipients
Auto Trait Implementations§
impl Freeze for Recipients
impl RefUnwindSafe for Recipients
impl Send for Recipients
impl Sync for Recipients
impl Unpin for Recipients
impl UnsafeUnpin for Recipients
impl UnwindSafe for Recipients
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