Struct soroban_env_guest::xdr::Thresholds
Tuple Fields
0: [u8; 4]
Implementations
impl Thresholds
impl Thresholds
Trait Implementations
impl AsRef<[u8; 4]> for Thresholds
impl AsRef<[u8; 4]> for Thresholds
impl AsRef<[u8]> for Thresholds
impl AsRef<[u8]> for Thresholds
impl Clone for Thresholds
impl Clone for Thresholds
fn clone(&self) -> Thresholds
fn clone(&self) -> Thresholds
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 Thresholds
impl Debug for Thresholds
impl Display for Thresholds
impl Display for Thresholds
impl From<[u8; 4]> for Thresholds
impl From<[u8; 4]> for Thresholds
fn from(x: [u8; 4]) -> Thresholds
fn from(x: [u8; 4]) -> Thresholds
Converts to this type from the input type.
impl Hash for Thresholds
impl Hash for Thresholds
impl Ord for Thresholds
impl Ord for Thresholds
fn cmp(&self, other: &Thresholds) -> Ordering
fn cmp(&self, other: &Thresholds) -> 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<Thresholds> for Thresholds
impl PartialEq<Thresholds> for Thresholds
fn eq(&self, other: &Thresholds) -> bool
fn eq(&self, other: &Thresholds) -> bool
impl PartialOrd<Thresholds> for Thresholds
impl PartialOrd<Thresholds> for Thresholds
fn partial_cmp(&self, other: &Thresholds) -> Option<Ordering>
fn partial_cmp(&self, other: &Thresholds) -> 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 TryFrom<&[u8]> for Thresholds
impl TryFrom<&[u8]> for Thresholds
impl Eq for Thresholds
impl ReadXdr for Thresholds
impl StructuralEq for Thresholds
impl StructuralPartialEq for Thresholds
impl WriteXdr for Thresholds
Auto Trait Implementations
impl RefUnwindSafe for Thresholds
impl Send for Thresholds
impl Sync for Thresholds
impl Unpin for Thresholds
impl UnwindSafe for Thresholds
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