Enum cosmos_sdk_proto::cosmos::tx::v1beta1::OrderBy[][src]

#[repr(i32)]pub enum OrderBy {
    Unspecified,
    Asc,
    Desc,
}

OrderBy defines the sorting order

Variants

Unspecified

ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.

Asc

ORDER_BY_ASC defines ascending order

Desc

ORDER_BY_DESC defines descending order

Implementations

impl OrderBy[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of OrderBy.

pub fn from_i32(value: i32) -> Option<OrderBy>[src]

Converts an i32 to a OrderBy, or None if value is not a valid variant.

Trait Implementations

impl Clone for OrderBy[src]

impl Copy for OrderBy[src]

impl Debug for OrderBy[src]

impl Default for OrderBy[src]

impl Eq for OrderBy[src]

impl Hash for OrderBy[src]

impl Ord for OrderBy[src]

impl PartialEq<OrderBy> for OrderBy[src]

impl PartialOrd<OrderBy> for OrderBy[src]

impl StructuralEq for OrderBy[src]

impl StructuralPartialEq for OrderBy[src]

Auto Trait Implementations

impl RefUnwindSafe for OrderBy

impl Send for OrderBy

impl Sync for OrderBy

impl Unpin for OrderBy

impl UnwindSafe for OrderBy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]