Struct soroban_env_guest::xdr::ScMapEntry
Fields
key: ScVal
val: ScVal
Trait Implementations
impl Clone for ScMapEntry
impl Clone for ScMapEntry
fn clone(&self) -> ScMapEntry
fn clone(&self) -> ScMapEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Debug for ScMapEntry
impl Debug for ScMapEntry
impl Hash for ScMapEntry
impl Hash for ScMapEntry
impl Ord for ScMapEntry
impl Ord for ScMapEntry
fn cmp(&self, other: &ScMapEntry) -> Ordering
fn cmp(&self, other: &ScMapEntry) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
impl PartialEq<ScMapEntry> for ScMapEntry
impl PartialEq<ScMapEntry> for ScMapEntry
fn eq(&self, other: &ScMapEntry) -> bool
fn eq(&self, other: &ScMapEntry) -> bool
impl PartialOrd<ScMapEntry> for ScMapEntry
impl PartialOrd<ScMapEntry> for ScMapEntry
fn partial_cmp(&self, other: &ScMapEntry) -> Option<Ordering>
fn partial_cmp(&self, other: &ScMapEntry) -> Option<Ordering>
1.0.0 · sourcefn 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<K, V> TryFrom<(K, V)> for ScMapEntrywhere
K: TryInto<ScVal>,
V: TryInto<ScVal>,
impl<K, V> TryFrom<(K, V)> for ScMapEntrywhere
K: TryInto<ScVal>,
V: TryInto<ScVal>,
fn try_from(
v: (K, V)
) -> Result<ScMapEntry, <ScMapEntry as TryFrom<(K, V)>>::Error>
fn try_from(
v: (K, V)
) -> Result<ScMapEntry, <ScMapEntry as TryFrom<(K, V)>>::Error>
Performs the conversion.
impl Eq for ScMapEntry
impl ReadXdr for ScMapEntry
impl StructuralEq for ScMapEntry
impl StructuralPartialEq for ScMapEntry
impl WriteXdr for ScMapEntry
Auto Trait Implementations
impl RefUnwindSafe for ScMapEntry
impl Send for ScMapEntry
impl Sync for ScMapEntry
impl Unpin for ScMapEntry
impl UnwindSafe for ScMapEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more