#[repr(i32)]pub enum Sort {
SORT_UNSPECIFIED = 0,
SORT_NEWEST = 1,
SORT_OLDEST = 2,
}Expand description
Sort selects lifecycle list direction.
Variants§
SORT_UNSPECIFIED = 0
Sort order was not specified; server defaults apply.
SORT_NEWEST = 1
Return newest rows first for the selected ordering timestamp.
SORT_OLDEST = 2
Return oldest rows first for the selected ordering timestamp.
Implementations§
Source§impl Sort
impl Sort
Sourcepub const Unspecified: Self = Self::SORT_UNSPECIFIED
pub const Unspecified: Self = Self::SORT_UNSPECIFIED
Idiomatic alias for Self::SORT_UNSPECIFIED; Debug prints the variant name.
Sourcepub const Newest: Self = Self::SORT_NEWEST
pub const Newest: Self = Self::SORT_NEWEST
Idiomatic alias for Self::SORT_NEWEST; Debug prints the variant name.
Sourcepub const Oldest: Self = Self::SORT_OLDEST
pub const Oldest: Self = Self::SORT_OLDEST
Idiomatic alias for Self::SORT_OLDEST; Debug prints the variant name.
Trait Implementations§
impl Copy for Sort
Source§impl<'de> Deserialize<'de> for Sort
impl<'de> Deserialize<'de> for Sort
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for Sort
impl Enumeration for Sort
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for Sort
Source§impl ProtoElemJson for Sort
impl ProtoElemJson for Sort
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
impl StructuralPartialEq for Sort
Auto Trait Implementations§
impl Freeze for Sort
impl RefUnwindSafe for Sort
impl Send for Sort
impl Sync for Sort
impl Unpin for Sort
impl UnsafeUnpin for Sort
impl UnwindSafe for Sort
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.