Enum race_api::types::RecipientSlotOwner
source · pub enum RecipientSlotOwner {
Unassigned {
identifier: String,
},
Assigned {
addr: String,
},
}Variants§
Trait Implementations§
source§impl BorshDeserialize for RecipientSlotOwnerwhere
String: BorshDeserialize,
impl BorshDeserialize for RecipientSlotOwnerwhere String: BorshDeserialize,
source§impl BorshSerialize for RecipientSlotOwnerwhere
String: BorshSerialize,
impl BorshSerialize for RecipientSlotOwnerwhere String: BorshSerialize,
source§impl Clone for RecipientSlotOwner
impl Clone for RecipientSlotOwner
source§fn clone(&self) -> RecipientSlotOwner
fn clone(&self) -> RecipientSlotOwner
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 Debug for RecipientSlotOwner
impl Debug for RecipientSlotOwner
source§impl PartialEq for RecipientSlotOwner
impl PartialEq for RecipientSlotOwner
source§fn eq(&self, other: &RecipientSlotOwner) -> bool
fn eq(&self, other: &RecipientSlotOwner) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RecipientSlotOwner
impl StructuralEq for RecipientSlotOwner
impl StructuralPartialEq for RecipientSlotOwner
Auto Trait Implementations§
impl RefUnwindSafe for RecipientSlotOwner
impl Send for RecipientSlotOwner
impl Sync for RecipientSlotOwner
impl Unpin for RecipientSlotOwner
impl UnwindSafe for RecipientSlotOwner
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