pub struct CheckEsdtMapContents {
pub contents: BTreeMap<BytesKey, CheckEsdt>,
pub other_esdts_allowed: bool,
}
Fields§
§contents: BTreeMap<BytesKey, CheckEsdt>
§other_esdts_allowed: bool
Implementations§
Source§impl CheckEsdtMapContents
impl CheckEsdtMapContents
pub fn contains_token(&self, token_identifier: &[u8]) -> bool
Trait Implementations§
Source§impl Clone for CheckEsdtMapContents
impl Clone for CheckEsdtMapContents
Source§fn clone(&self) -> CheckEsdtMapContents
fn clone(&self) -> CheckEsdtMapContents
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 CheckEsdtMapContents
impl Debug for CheckEsdtMapContents
Source§impl InterpretableFrom<CheckEsdtMapContentsRaw> for CheckEsdtMapContents
impl InterpretableFrom<CheckEsdtMapContentsRaw> for CheckEsdtMapContents
fn interpret_from( from: CheckEsdtMapContentsRaw, context: &InterpreterContext, ) -> Self
Source§impl IntoRaw<CheckEsdtMapContentsRaw> for CheckEsdtMapContents
impl IntoRaw<CheckEsdtMapContentsRaw> for CheckEsdtMapContents
fn into_raw(self) -> CheckEsdtMapContentsRaw
Auto Trait Implementations§
impl Freeze for CheckEsdtMapContents
impl RefUnwindSafe for CheckEsdtMapContents
impl Send for CheckEsdtMapContents
impl Sync for CheckEsdtMapContents
impl Unpin for CheckEsdtMapContents
impl UnwindSafe for CheckEsdtMapContents
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§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
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