pub struct HuntQuery {
pub id: String,
pub name: String,
pub description: String,
pub query_type: QueryType,
pub pattern: String,
pub data_source: String,
pub expected_results: String,
}Expand description
Hunt query definition
Fields§
§id: String§name: String§description: String§query_type: QueryType§pattern: String§data_source: String§expected_results: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for HuntQuery
impl<'de> Deserialize<'de> for HuntQuery
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
Auto Trait Implementations§
impl Freeze for HuntQuery
impl RefUnwindSafe for HuntQuery
impl Send for HuntQuery
impl Sync for HuntQuery
impl Unpin for HuntQuery
impl UnwindSafe for HuntQuery
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