Struct multiversx_sc_scenario::scenario::model::AddressValue
source · pub struct AddressValue {
pub value: Address,
pub original: ValueSubTree,
}
Fields§
§value: Address
§original: ValueSubTree
Implementations§
source§impl AddressValue
impl AddressValue
pub fn to_address(&self) -> Address
pub fn to_vm_address(&self) -> VMAddress
Trait Implementations§
source§impl Clone for AddressValue
impl Clone for AddressValue
source§fn clone(&self) -> AddressValue
fn clone(&self) -> AddressValue
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 AddressValue
impl Debug for AddressValue
source§impl Default for AddressValue
impl Default for AddressValue
source§impl Display for AddressValue
impl Display for AddressValue
source§impl From<&Address> for AddressValue
impl From<&Address> for AddressValue
source§impl From<&AddressKey> for AddressValue
impl From<&AddressKey> for AddressValue
source§fn from(from: &AddressKey) -> Self
fn from(from: &AddressKey) -> Self
Converts to this type from the input type.
source§impl From<&AddressValue> for AddressKey
impl From<&AddressValue> for AddressKey
source§fn from(from: &AddressValue) -> Self
fn from(from: &AddressValue) -> Self
Converts to this type from the input type.
source§impl From<&AddressValue> for AddressValue
impl From<&AddressValue> for AddressValue
source§fn from(from: &AddressValue) -> Self
fn from(from: &AddressValue) -> Self
Converts to this type from the input type.
source§impl<P: ProxyObjBase> From<&ContractInfo<P>> for AddressValue
impl<P: ProxyObjBase> From<&ContractInfo<P>> for AddressValue
source§fn from(from: &ContractInfo<P>) -> Self
fn from(from: &ContractInfo<P>) -> Self
Converts to this type from the input type.
source§impl From<&str> for AddressValue
impl From<&str> for AddressValue
source§impl From<AddressKey> for AddressValue
impl From<AddressKey> for AddressValue
source§fn from(from: AddressKey) -> Self
fn from(from: AddressKey) -> Self
Converts to this type from the input type.
source§impl From<AddressValue> for AddressKey
impl From<AddressValue> for AddressKey
source§fn from(from: AddressValue) -> Self
fn from(from: AddressValue) -> Self
Converts to this type from the input type.
source§impl<P: ProxyObjBase> From<ContractInfo<P>> for AddressValue
impl<P: ProxyObjBase> From<ContractInfo<P>> for AddressValue
source§fn from(from: ContractInfo<P>) -> Self
fn from(from: ContractInfo<P>) -> Self
Converts to this type from the input type.
source§impl InterpretableFrom<&str> for AddressValue
impl InterpretableFrom<&str> for AddressValue
fn interpret_from(from: &str, context: &InterpreterContext) -> Self
source§impl InterpretableFrom<ValueSubTree> for AddressValue
impl InterpretableFrom<ValueSubTree> for AddressValue
fn interpret_from(from: ValueSubTree, context: &InterpreterContext) -> Self
source§impl IntoRaw<ValueSubTree> for AddressValue
impl IntoRaw<ValueSubTree> for AddressValue
fn into_raw(self) -> ValueSubTree
source§impl PartialEq for AddressValue
impl PartialEq for AddressValue
source§fn eq(&self, other: &AddressValue) -> bool
fn eq(&self, other: &AddressValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AddressValue
impl StructuralPartialEq for AddressValue
Auto Trait Implementations§
impl CodecFromSelf for AddressValue
impl Freeze for AddressValue
impl RefUnwindSafe for AddressValue
impl Send for AddressValue
impl Sync for AddressValue
impl Unpin for AddressValue
impl UnwindSafe for AddressValue
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.