Struct soroban_env_guest::xdr::PreconditionsV2
pub struct PreconditionsV2 {
pub time_bounds: Option<TimeBounds>,
pub ledger_bounds: Option<LedgerBounds>,
pub min_seq_num: Option<SequenceNumber>,
pub min_seq_age: Duration,
pub min_seq_ledger_gap: u32,
pub extra_signers: VecM<SignerKey, 2>,
}
Fields
time_bounds: Option<TimeBounds>
ledger_bounds: Option<LedgerBounds>
min_seq_num: Option<SequenceNumber>
min_seq_age: Duration
min_seq_ledger_gap: u32
extra_signers: VecM<SignerKey, 2>
Trait Implementations
impl Clone for PreconditionsV2
impl Clone for PreconditionsV2
fn clone(&self) -> PreconditionsV2
fn clone(&self) -> PreconditionsV2
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 PreconditionsV2
impl Debug for PreconditionsV2
impl Hash for PreconditionsV2
impl Hash for PreconditionsV2
impl Ord for PreconditionsV2
impl Ord for PreconditionsV2
fn cmp(&self, other: &PreconditionsV2) -> Ordering
fn cmp(&self, other: &PreconditionsV2) -> 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<PreconditionsV2> for PreconditionsV2
impl PartialEq<PreconditionsV2> for PreconditionsV2
fn eq(&self, other: &PreconditionsV2) -> bool
fn eq(&self, other: &PreconditionsV2) -> bool
impl PartialOrd<PreconditionsV2> for PreconditionsV2
impl PartialOrd<PreconditionsV2> for PreconditionsV2
fn partial_cmp(&self, other: &PreconditionsV2) -> Option<Ordering>
fn partial_cmp(&self, other: &PreconditionsV2) -> 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 Eq for PreconditionsV2
impl ReadXdr for PreconditionsV2
impl StructuralEq for PreconditionsV2
impl StructuralPartialEq for PreconditionsV2
impl WriteXdr for PreconditionsV2
Auto Trait Implementations
impl RefUnwindSafe for PreconditionsV2
impl Send for PreconditionsV2
impl Sync for PreconditionsV2
impl Unpin for PreconditionsV2
impl UnwindSafe for PreconditionsV2
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