pub enum AccountIdentifier {
Single(Identifier),
Multi(Identifier),
}
Variants§
Single(Identifier)
Multi(Identifier)
Trait Implementations§
source§impl Arbitrary for AccountIdentifier
impl Arbitrary for AccountIdentifier
source§impl Arbitrary for AccountIdentifier
impl Arbitrary for AccountIdentifier
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = BoxedStrategy<AccountIdentifier>
type Strategy = BoxedStrategy<AccountIdentifier>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy
fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy
source§impl Clone for AccountIdentifier
impl Clone for AccountIdentifier
source§fn clone(&self) -> AccountIdentifier
fn clone(&self) -> AccountIdentifier
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 AccountIdentifier
impl Debug for AccountIdentifier
source§impl Hash for AccountIdentifier
impl Hash for AccountIdentifier
source§impl PartialEq<AccountIdentifier> for AccountIdentifier
impl PartialEq<AccountIdentifier> for AccountIdentifier
source§fn eq(&self, other: &AccountIdentifier) -> bool
fn eq(&self, other: &AccountIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AccountIdentifier
impl StructuralEq for AccountIdentifier
impl StructuralPartialEq for AccountIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for AccountIdentifier
impl Send for AccountIdentifier
impl Sync for AccountIdentifier
impl Unpin for AccountIdentifier
impl UnwindSafe for AccountIdentifier
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