pub struct AttributeSearchQuery {Show 20 fields
pub value: Option<String>,
pub attr_type: Option<String>,
pub category: Option<String>,
pub tags: Option<Vec<String>>,
pub not_tags: Option<Vec<String>>,
pub org: Option<String>,
pub event_id: Option<String>,
pub from: Option<String>,
pub to: Option<String>,
pub last: Option<String>,
pub to_ids: Option<bool>,
pub published: Option<bool>,
pub deleted: Option<bool>,
pub include_event_uuid: Option<bool>,
pub include_correlations: Option<bool>,
pub include_sightings: Option<bool>,
pub include_galaxy: Option<bool>,
pub limit: Option<u32>,
pub page: Option<u32>,
pub timestamp: Option<String>,
}Fields§
§value: Option<String>§attr_type: Option<String>§category: Option<String>§org: Option<String>§event_id: Option<String>§from: Option<String>§to: Option<String>§last: Option<String>§to_ids: Option<bool>§published: Option<bool>§deleted: Option<bool>§include_event_uuid: Option<bool>§include_correlations: Option<bool>§include_sightings: Option<bool>§include_galaxy: Option<bool>§limit: Option<u32>§page: Option<u32>§timestamp: Option<String>Implementations§
Source§impl AttributeSearchQuery
impl AttributeSearchQuery
pub fn new() -> Self
pub fn value(self, v: impl Into<String>) -> Self
pub fn attr_type(self, t: impl Into<String>) -> Self
pub fn category(self, c: impl Into<String>) -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn event_id(self, id: 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 to_ids(self, to_ids: bool) -> Self
pub fn published(self, published: bool) -> Self
pub fn include_deleted(self) -> Self
pub fn include_event_uuid(self) -> Self
pub fn include_correlations(self, include: bool) -> Self
pub fn include_sightings(self) -> Self
pub fn include_galaxy(self) -> Self
pub fn limit(self, limit: u32) -> Self
pub fn page(self, page: u32) -> Self
pub fn timestamp(self, ts: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for AttributeSearchQuery
impl Clone for AttributeSearchQuery
Source§fn clone(&self) -> AttributeSearchQuery
fn clone(&self) -> AttributeSearchQuery
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 AttributeSearchQuery
impl Debug for AttributeSearchQuery
Source§impl Default for AttributeSearchQuery
impl Default for AttributeSearchQuery
Source§fn default() -> AttributeSearchQuery
fn default() -> AttributeSearchQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AttributeSearchQuery
impl RefUnwindSafe for AttributeSearchQuery
impl Send for AttributeSearchQuery
impl Sync for AttributeSearchQuery
impl Unpin for AttributeSearchQuery
impl UnwindSafe for AttributeSearchQuery
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