Enum race_api::random::CipherOwner
source · pub enum CipherOwner {
Unclaimed,
Assigned(String),
MultiAssigned(Vec<String>),
Revealed,
}Variants§
Trait Implementations§
source§impl BorshDeserialize for CipherOwnerwhere
String: BorshDeserialize,
Vec<String>: BorshDeserialize,
impl BorshDeserialize for CipherOwnerwhere String: BorshDeserialize, Vec<String>: BorshDeserialize,
source§impl BorshSerialize for CipherOwnerwhere
String: BorshSerialize,
Vec<String>: BorshSerialize,
impl BorshSerialize for CipherOwnerwhere String: BorshSerialize, Vec<String>: BorshSerialize,
source§impl Clone for CipherOwner
impl Clone for CipherOwner
source§fn clone(&self) -> CipherOwner
fn clone(&self) -> CipherOwner
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 CipherOwner
impl Debug for CipherOwner
source§impl Default for CipherOwner
impl Default for CipherOwner
source§fn default() -> CipherOwner
fn default() -> CipherOwner
Returns the “default value” for a type. Read more
source§impl PartialEq for CipherOwner
impl PartialEq for CipherOwner
source§fn eq(&self, other: &CipherOwner) -> bool
fn eq(&self, other: &CipherOwner) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CipherOwner
impl StructuralEq for CipherOwner
impl StructuralPartialEq for CipherOwner
Auto Trait Implementations§
impl RefUnwindSafe for CipherOwner
impl Send for CipherOwner
impl Sync for CipherOwner
impl Unpin for CipherOwner
impl UnwindSafe for CipherOwner
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