Enum aleo_rust::program::helpers::TransferType
source · pub enum TransferType {
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 TransferType
impl Clone for TransferType
source§fn clone(&self) -> TransferType
fn clone(&self) -> TransferType
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 TransferType
impl Debug for TransferType
source§impl PartialEq for TransferType
impl PartialEq for TransferType
source§fn eq(&self, other: &TransferType) -> bool
fn eq(&self, other: &TransferType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TransferType
impl Eq for TransferType
impl StructuralPartialEq for TransferType
Auto Trait Implementations§
impl RefUnwindSafe for TransferType
impl Send for TransferType
impl Sync for TransferType
impl Unpin for TransferType
impl UnwindSafe for TransferType
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.