Struct drt_chain_vm::world_mock::DctInstance
source · pub struct DctInstance {
pub nonce: u64,
pub balance: BigUint,
pub metadata: DctInstanceMetadata,
}
Expand description
Holds the data for a DharitriOne standard digital token transaction
Fields§
§nonce: u64
§balance: BigUint
§metadata: DctInstanceMetadata
Implementations§
Trait Implementations§
source§impl Clone for DctInstance
impl Clone for DctInstance
source§fn clone(&self) -> DctInstance
fn clone(&self) -> DctInstance
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 DctInstance
impl Debug for DctInstance
source§impl Default for DctInstance
impl Default for DctInstance
source§fn default() -> DctInstance
fn default() -> DctInstance
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DctInstance
impl RefUnwindSafe for DctInstance
impl Send for DctInstance
impl Sync for DctInstance
impl Unpin for DctInstance
impl UnwindSafe for DctInstance
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more