pub struct DatabaseQuery {
pub data_type: Option<String>,
pub hash_type: Option<String>,
pub min_timestamp: Option<String>,
pub max_timestamp: Option<String>,
pub limit: usize,
pub offset: usize,
pub order_by: String,
}Fields§
§data_type: Option<String>§hash_type: Option<String>§min_timestamp: Option<String>§max_timestamp: Option<String>§limit: usize§offset: usize§order_by: StringTrait Implementations§
Source§impl Clone for DatabaseQuery
impl Clone for DatabaseQuery
Source§fn clone(&self) -> DatabaseQuery
fn clone(&self) -> DatabaseQuery
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 moreSource§impl Debug for DatabaseQuery
impl Debug for DatabaseQuery
Source§impl Default for DatabaseQuery
impl Default for DatabaseQuery
Source§fn default() -> DatabaseQuery
fn default() -> DatabaseQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatabaseQuery
impl<'de> Deserialize<'de> for DatabaseQuery
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 DatabaseQuery
impl PartialEq for DatabaseQuery
Source§fn eq(&self, other: &DatabaseQuery) -> bool
fn eq(&self, other: &DatabaseQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DatabaseQuery
impl Serialize for DatabaseQuery
impl Eq for DatabaseQuery
impl StructuralPartialEq for DatabaseQuery
Auto Trait Implementations§
impl Freeze for DatabaseQuery
impl RefUnwindSafe for DatabaseQuery
impl Send for DatabaseQuery
impl Sync for DatabaseQuery
impl Unpin for DatabaseQuery
impl UnsafeUnpin for DatabaseQuery
impl UnwindSafe for DatabaseQuery
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