pub struct EventOrderParam {
pub order: Option<String>,
}Expand description
Sort-order query parameter for GET /api/v1/events/query. Kept separate
from QueryEventsRequest so ordering is purely an HTTP-layer concern and
the internal query DTO (used by ~50 call sites) stays untouched.
Fields§
§order: Option<String>asc (oldest first, the default) or desc (newest first).
Trait Implementations§
Source§impl Debug for EventOrderParam
impl Debug for EventOrderParam
Source§impl<'de> Deserialize<'de> for EventOrderParam
impl<'de> Deserialize<'de> for EventOrderParam
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EventOrderParam
impl RefUnwindSafe for EventOrderParam
impl Send for EventOrderParam
impl Sync for EventOrderParam
impl Unpin for EventOrderParam
impl UnsafeUnpin for EventOrderParam
impl UnwindSafe for EventOrderParam
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