pub struct EventSearchQuery {Show 15 fields
pub value: Option<String>,
pub event_id: Option<String>,
pub tags: Option<Vec<String>>,
pub not_tags: Option<Vec<String>>,
pub org: Option<String>,
pub from: Option<String>,
pub to: Option<String>,
pub last: Option<String>,
pub published: Option<bool>,
pub threat_level: Option<Vec<u8>>,
pub analysis: Option<Vec<u8>>,
pub include_attribute: Option<bool>,
pub include_galaxy: Option<bool>,
pub limit: Option<u32>,
pub page: Option<u32>,
}Fields§
§value: Option<String>§event_id: Option<String>§org: Option<String>§from: Option<String>§to: Option<String>§last: Option<String>§published: Option<bool>§threat_level: Option<Vec<u8>>§analysis: Option<Vec<u8>>§include_attribute: Option<bool>§include_galaxy: Option<bool>§limit: Option<u32>§page: Option<u32>Implementations§
Source§impl EventSearchQuery
impl EventSearchQuery
pub fn new() -> Self
pub fn value(self, v: impl Into<String>) -> Self
pub fn event_id(self, id: impl Into<String>) -> Self
pub fn org(self, org: 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 published(self, published: bool) -> Self
pub fn threat_level(self, levels: Vec<u8>) -> Self
pub fn include_attributes(self) -> Self
pub fn include_galaxies(self) -> Self
pub fn limit(self, limit: u32) -> Self
pub fn page(self, page: u32) -> Self
Trait Implementations§
Source§impl Clone for EventSearchQuery
impl Clone for EventSearchQuery
Source§fn clone(&self) -> EventSearchQuery
fn clone(&self) -> EventSearchQuery
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 EventSearchQuery
impl Debug for EventSearchQuery
Source§impl Default for EventSearchQuery
impl Default for EventSearchQuery
Source§fn default() -> EventSearchQuery
fn default() -> EventSearchQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EventSearchQuery
impl RefUnwindSafe for EventSearchQuery
impl Send for EventSearchQuery
impl Sync for EventSearchQuery
impl Unpin for EventSearchQuery
impl UnwindSafe for EventSearchQuery
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