pub enum SnsSwapComponent {
Lifecycle,
SaleParameters,
DerivedState,
}Expand description
SnsSwapComponent
Native swap query component represented by a report value or typed gap.
Variants§
Lifecycle
Swap lifecycle state and lifecycle timestamps.
SaleParameters
Decentralization-sale parameters.
DerivedState
Participation totals and derived token rate.
Implementations§
Trait Implementations§
Source§impl Clone for SnsSwapComponent
impl Clone for SnsSwapComponent
Source§fn clone(&self) -> SnsSwapComponent
fn clone(&self) -> SnsSwapComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SnsSwapComponent
Source§impl Debug for SnsSwapComponent
impl Debug for SnsSwapComponent
impl Eq for SnsSwapComponent
Source§impl Ord for SnsSwapComponent
impl Ord for SnsSwapComponent
Source§fn cmp(&self, other: &SnsSwapComponent) -> Ordering
fn cmp(&self, other: &SnsSwapComponent) -> Ordering
1.21.0 (const: unstable) · Source§fn 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
Source§impl PartialEq for SnsSwapComponent
impl PartialEq for SnsSwapComponent
Source§impl PartialOrd for SnsSwapComponent
impl PartialOrd for SnsSwapComponent
Source§impl Serialize for SnsSwapComponent
impl Serialize for SnsSwapComponent
impl StructuralPartialEq for SnsSwapComponent
Auto Trait Implementations§
impl Freeze for SnsSwapComponent
impl RefUnwindSafe for SnsSwapComponent
impl Send for SnsSwapComponent
impl Sync for SnsSwapComponent
impl Unpin for SnsSwapComponent
impl UnsafeUnpin for SnsSwapComponent
impl UnwindSafe for SnsSwapComponent
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