pub struct SightingSearchQuery {
pub value: Option<String>,
pub uuid: Option<String>,
pub attr_type: Option<String>,
pub source: Option<String>,
pub from: Option<String>,
pub to: Option<String>,
pub last: Option<String>,
pub limit: Option<u32>,
pub include_attribute: Option<bool>,
pub include_event: Option<bool>,
}Fields§
§value: Option<String>§uuid: Option<String>§attr_type: Option<String>§source: Option<String>§from: Option<String>§to: Option<String>§last: Option<String>§limit: Option<u32>§include_attribute: Option<bool>§include_event: Option<bool>Implementations§
Source§impl SightingSearchQuery
impl SightingSearchQuery
pub fn new() -> Self
pub fn value(self, v: impl Into<String>) -> Self
pub fn uuid(self, u: impl Into<String>) -> Self
pub fn attr_type(self, t: impl Into<String>) -> Self
pub fn source(self, s: impl Into<String>) -> Self
pub fn from_date(self, from: impl Into<String>) -> Self
pub fn to_date(self, to: impl Into<String>) -> Self
pub fn last(self, duration: impl Into<String>) -> Self
pub fn limit(self, limit: u32) -> Self
pub fn include_attribute(self) -> Self
pub fn include_event(self) -> Self
Trait Implementations§
Source§impl Clone for SightingSearchQuery
impl Clone for SightingSearchQuery
Source§fn clone(&self) -> SightingSearchQuery
fn clone(&self) -> SightingSearchQuery
Returns a duplicate of the value. Read more
1.0.0 · 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 SightingSearchQuery
impl Debug for SightingSearchQuery
Source§impl Default for SightingSearchQuery
impl Default for SightingSearchQuery
Source§fn default() -> SightingSearchQuery
fn default() -> SightingSearchQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SightingSearchQuery
impl RefUnwindSafe for SightingSearchQuery
impl Send for SightingSearchQuery
impl Sync for SightingSearchQuery
impl Unpin for SightingSearchQuery
impl UnwindSafe for SightingSearchQuery
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