Enum aleo::helpers::serialize::TransferTypeArg
source · pub enum TransferTypeArg {
Private,
PrivateToPublic,
Public,
PublicToPrivate,
}
Expand description
Transfer Type to Perform
Variants§
Private
Private credit transfer done via records associated with the account
PrivateToPublic
Transfer credits from a record to the public account mapping for an Aleo account
Public
Public credit transfer done via the account mapping
PublicToPrivate
Transfer credits from the public account mapping to a record for an Aleo account
Trait Implementations§
source§impl Clone for TransferTypeArg
impl Clone for TransferTypeArg
source§fn clone(&self) -> TransferTypeArg
fn clone(&self) -> TransferTypeArg
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 TransferTypeArg
impl Debug for TransferTypeArg
source§impl From<TransferTypeArg> for TransferType
impl From<TransferTypeArg> for TransferType
source§fn from(arg: TransferTypeArg) -> Self
fn from(arg: TransferTypeArg) -> Self
Converts to this type from the input type.
source§impl PartialEq for TransferTypeArg
impl PartialEq for TransferTypeArg
source§fn eq(&self, other: &TransferTypeArg) -> bool
fn eq(&self, other: &TransferTypeArg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ValueEnum for TransferTypeArg
impl ValueEnum for TransferTypeArg
impl Eq for TransferTypeArg
impl StructuralPartialEq for TransferTypeArg
Auto Trait Implementations§
impl RefUnwindSafe for TransferTypeArg
impl Send for TransferTypeArg
impl Sync for TransferTypeArg
impl Unpin for TransferTypeArg
impl UnwindSafe for TransferTypeArg
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.