pub struct ArtifactQuery {
pub scope: Option<DataScope>,
pub os_scope: Option<OsScope>,
pub artifact_type: Option<ArtifactType>,
pub hive: Option<HiveTarget>,
pub mitre_technique: Option<&'static str>,
pub id: Option<&'static str>,
}Expand description
Filter parameters for querying the catalog. All fields are optional –
None means “match any”.
Fields§
§scope: Option<DataScope>§os_scope: Option<OsScope>§artifact_type: Option<ArtifactType>§hive: Option<HiveTarget>§mitre_technique: Option<&'static str>§id: Option<&'static str>Trait Implementations§
Source§impl Clone for ArtifactQuery
impl Clone for ArtifactQuery
Source§fn clone(&self) -> ArtifactQuery
fn clone(&self) -> ArtifactQuery
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 ArtifactQuery
impl Debug for ArtifactQuery
Source§impl Default for ArtifactQuery
impl Default for ArtifactQuery
Source§fn default() -> ArtifactQuery
fn default() -> ArtifactQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ArtifactQuery
impl RefUnwindSafe for ArtifactQuery
impl Send for ArtifactQuery
impl Sync for ArtifactQuery
impl Unpin for ArtifactQuery
impl UnsafeUnpin for ArtifactQuery
impl UnwindSafe for ArtifactQuery
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