Struct multiversx_chain_vm::scenario::model::AddressValue
source · pub struct AddressValue {
pub value: Address,
pub original: ValueSubTree,
}Fields§
§value: Address§original: ValueSubTreeImplementations§
source§impl AddressValue
impl AddressValue
pub fn to_address(&self) -> Address
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<AddressValue> for AddressValue
impl PartialEq<AddressValue> 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 StructuralEq for AddressValue
impl StructuralPartialEq for AddressValue
Auto Trait Implementations§
impl CodecFromSelf for AddressValue
impl RefUnwindSafe for AddressValue
impl Send for AddressValue
impl Sync for AddressValue
impl Unpin for AddressValue
impl UnwindSafe for AddressValue
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.