Struct ServiceQuery

Source
pub struct ServiceQuery { /* private fields */ }

Implementations§

Source§

impl ServiceQuery

Source

pub fn activity_id<T>(self, value: T) -> Self

Source

pub fn activity_name<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn actor<T>(self, value: T) -> Self
where T: TryInto<Option<Actor>>, T::Error: Display,

Source

pub fn api<T>(self, value: T) -> Self
where T: TryInto<Option<Api>>, T::Error: Display,

Source

pub fn category_name<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn category_uid<T>(self, value: T) -> Self
where T: TryInto<i64>, T::Error: Display,

Source

pub fn class_name<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn class_uid<T>(self, value: T) -> Self
where T: TryInto<i64>, T::Error: Display,

Source

pub fn cloud<T>(self, value: T) -> Self
where T: TryInto<Cloud>, T::Error: Display,

Source

pub fn count<T>(self, value: T) -> Self
where T: TryInto<Option<i64>>, T::Error: Display,

Source

pub fn device<T>(self, value: T) -> Self
where T: TryInto<Option<Device>>, T::Error: Display,

Source

pub fn duration<T>(self, value: T) -> Self
where T: TryInto<Option<i64>>, T::Error: Display,

Source

pub fn end_time<T>(self, value: T) -> Self
where T: TryInto<Option<i64>>, T::Error: Display,

Source

pub fn end_time_dt<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn enrichments<T>(self, value: T) -> Self

Source

pub fn message<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn metadata<T>(self, value: T) -> Self
where T: TryInto<Metadata>, T::Error: Display,

Source

pub fn observables<T>(self, value: T) -> Self

Source

pub fn osint<T>(self, value: T) -> Self
where T: TryInto<Vec<Osint>>, T::Error: Display,

Source

pub fn query_info<T>(self, value: T) -> Self

Source

pub fn query_result<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn query_result_id<T>(self, value: T) -> Self

Source

pub fn raw_data<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn service<T>(self, value: T) -> Self
where T: TryInto<Service>, T::Error: Display,

Source

pub fn severity<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn severity_id<T>(self, value: T) -> Self

Source

pub fn start_time<T>(self, value: T) -> Self
where T: TryInto<Option<i64>>, T::Error: Display,

Source

pub fn start_time_dt<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn status<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn status_code<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn status_detail<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn status_id<T>(self, value: T) -> Self

Source

pub fn time<T>(self, value: T) -> Self
where T: TryInto<i64>, T::Error: Display,

Source

pub fn time_dt<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn timezone_offset<T>(self, value: T) -> Self
where T: TryInto<Option<i64>>, T::Error: Display,

Source

pub fn type_name<T>(self, value: T) -> Self
where T: TryInto<Option<String>>, T::Error: Display,

Source

pub fn type_uid<T>(self, value: T) -> Self
where T: TryInto<i64>, T::Error: Display,

Source

pub fn unmapped<T>(self, value: T) -> Self
where T: TryInto<Option<Object>>, T::Error: Display,

Trait Implementations§

Source§

impl Clone for ServiceQuery

Source§

fn clone(&self) -> ServiceQuery

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ServiceQuery

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ServiceQuery

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl From<ServiceQuery> for ServiceQuery

Source§

fn from(value: ServiceQuery) -> Self

Converts to this type from the input type.
Source§

impl TryFrom<ServiceQuery> for ServiceQuery

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: ServiceQuery) -> Result<Self, ConversionError>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.