Struct multiversx_chain_vm::scenario::model::BytesKey
source · pub struct BytesKey {
pub value: Vec<u8>,
pub original: String,
}
Fields§
§value: Vec<u8>
§original: String
Trait Implementations§
source§impl From<&BytesKey> for BytesValue
impl From<&BytesKey> for BytesValue
source§impl From<BytesKey> for BytesValue
impl From<BytesKey> for BytesValue
source§impl InterpretableFrom<&str> for BytesKey
impl InterpretableFrom<&str> for BytesKey
fn interpret_from(from: &str, context: &InterpreterContext) -> Self
source§impl InterpretableFrom<String> for BytesKey
impl InterpretableFrom<String> for BytesKey
fn interpret_from(from: String, context: &InterpreterContext) -> Self
source§impl Ord for BytesKey
impl Ord for BytesKey
source§impl PartialEq<BytesKey> for BytesKey
impl PartialEq<BytesKey> for BytesKey
source§impl PartialOrd<BytesKey> for BytesKey
impl PartialOrd<BytesKey> for BytesKey
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for BytesKey
Auto Trait Implementations§
impl CodecFromSelf for BytesKey
impl RefUnwindSafe for BytesKey
impl Send for BytesKey
impl Sync for BytesKey
impl Unpin for BytesKey
impl UnwindSafe for BytesKey
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.