#[non_exhaustive]pub struct QueryOrder {
pub by: String,
pub desc: Option<bool>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.by: String§desc: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for QueryOrder
impl Clone for QueryOrder
Source§impl Debug for QueryOrder
impl Debug for QueryOrder
Source§impl<'de> Deserialize<'de> for QueryOrder
impl<'de> Deserialize<'de> for QueryOrder
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
Source§impl PartialEq for QueryOrder
impl PartialEq for QueryOrder
Source§impl Serialize for QueryOrder
impl Serialize for QueryOrder
impl StructuralPartialEq for QueryOrder
Auto Trait Implementations§
impl Forget for QueryOrder
impl Freeze for QueryOrder
impl Move for QueryOrder
impl RefUnwindSafe for QueryOrder
impl Send for QueryOrder
impl Sync for QueryOrder
impl Unpin for QueryOrder
impl UnsafeUnpin for QueryOrder
impl UnwindSafe for QueryOrder
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