Skip to main content

SearchQuery

Struct SearchQuery 

Source
pub struct SearchQuery {
Show 39 fields pub archived: Option<bool>, pub search_text: Option<String>, pub exact_match: Option<String>, pub after: Option<Timestamp>, pub before: Option<Timestamp>, pub advanced_time_filter: Option<EventTimeFilter>, pub asset: Option<String>, pub assets: Option<AssetsFilter>, pub template: Option<String>, pub workbook: Option<String>, pub data_review: Option<String>, pub data_reviews: Option<DataReviewsFilter>, pub origin_type: Option<i32>, pub origin_types: Option<OriginTypesFilter>, pub data_review_check: Option<String>, pub data_review_checks: Option<DataReviewChecksFilter>, pub disposition_status: Option<i32>, pub disposition_statuses: Option<EventDispositionStatusListWrapper>, pub priority: Option<i32>, pub priorities: Option<PriorityListWrapper>, pub assignee: Option<String>, pub assignees: Option<AssigneesFilter>, pub event_type: Option<i32>, pub event_types: Option<EventTypeListWrapper>, pub created_by: Option<String>, pub created_by_any_of: Option<UserRidListWrapper>, pub label: Option<String>, pub labels: Option<LabelsFilter>, pub property: Option<Property>, pub properties: Option<PropertiesFilter>, pub and: Option<SearchQueryListWrapper>, pub or: Option<SearchQueryListWrapper>, pub not: Option<Box<SearchQuery>>, pub workspace: Option<String>, pub procedure: Option<String>, pub procedure_execution: Option<String>, pub step_id: Option<String>, pub streaming_checklist: Option<String>, pub streaming_check: Option<String>,
}

Fields§

§archived: Option<bool>§search_text: Option<String>§exact_match: Option<String>§after: Option<Timestamp>§before: Option<Timestamp>§advanced_time_filter: Option<EventTimeFilter>§asset: Option<String>§assets: Option<AssetsFilter>§template: Option<String>§workbook: Option<String>§data_review: Option<String>§data_reviews: Option<DataReviewsFilter>§origin_type: Option<i32>§origin_types: Option<OriginTypesFilter>§data_review_check: Option<String>§data_review_checks: Option<DataReviewChecksFilter>§disposition_status: Option<i32>§disposition_statuses: Option<EventDispositionStatusListWrapper>§priority: Option<i32>§priorities: Option<PriorityListWrapper>§assignee: Option<String>§assignees: Option<AssigneesFilter>§event_type: Option<i32>§event_types: Option<EventTypeListWrapper>§created_by: Option<String>§created_by_any_of: Option<UserRidListWrapper>§label: Option<String>§labels: Option<LabelsFilter>§property: Option<Property>§properties: Option<PropertiesFilter>§and: Option<SearchQueryListWrapper>§or: Option<SearchQueryListWrapper>§not: Option<Box<SearchQuery>>§workspace: Option<String>§procedure: Option<String>§procedure_execution: Option<String>§step_id: Option<String>§streaming_checklist: Option<String>§streaming_check: Option<String>

Implementations§

Source§

impl SearchQuery

Source

pub fn archived(&self) -> bool

Returns the value of archived, or the default value if archived is unset.

Source

pub fn search_text(&self) -> &str

Returns the value of search_text, or the default value if search_text is unset.

Source

pub fn exact_match(&self) -> &str

Returns the value of exact_match, or the default value if exact_match is unset.

Source

pub fn asset(&self) -> &str

Returns the value of asset, or the default value if asset is unset.

Source

pub fn template(&self) -> &str

Returns the value of template, or the default value if template is unset.

Source

pub fn workbook(&self) -> &str

Returns the value of workbook, or the default value if workbook is unset.

Source

pub fn data_review(&self) -> &str

Returns the value of data_review, or the default value if data_review is unset.

Source

pub fn origin_type(&self) -> SearchEventOriginType

Returns the enum value of origin_type, or the default if the field is unset or set to an invalid enum value.

Source

pub fn set_origin_type(&mut self, value: SearchEventOriginType)

Sets origin_type to the provided enum value.

Source

pub fn data_review_check(&self) -> &str

Returns the value of data_review_check, or the default value if data_review_check is unset.

Source

pub fn disposition_status(&self) -> EventDispositionStatus

Returns the enum value of disposition_status, or the default if the field is unset or set to an invalid enum value.

Source

pub fn set_disposition_status(&mut self, value: EventDispositionStatus)

Sets disposition_status to the provided enum value.

Source

pub fn priority(&self) -> Priority

Returns the enum value of priority, or the default if the field is unset or set to an invalid enum value.

Source

pub fn set_priority(&mut self, value: Priority)

Sets priority to the provided enum value.

Source

pub fn assignee(&self) -> &str

Returns the value of assignee, or the default value if assignee is unset.

Source

pub fn event_type(&self) -> EventType

Returns the enum value of event_type, or the default if the field is unset or set to an invalid enum value.

Source

pub fn set_event_type(&mut self, value: EventType)

Sets event_type to the provided enum value.

Source

pub fn created_by(&self) -> &str

Returns the value of created_by, or the default value if created_by is unset.

Source

pub fn label(&self) -> &str

Returns the value of label, or the default value if label is unset.

Source

pub fn workspace(&self) -> &str

Returns the value of workspace, or the default value if workspace is unset.

Source

pub fn procedure(&self) -> &str

Returns the value of procedure, or the default value if procedure is unset.

Source

pub fn procedure_execution(&self) -> &str

Returns the value of procedure_execution, or the default value if procedure_execution is unset.

Source

pub fn step_id(&self) -> &str

Returns the value of step_id, or the default value if step_id is unset.

Source

pub fn streaming_checklist(&self) -> &str

Returns the value of streaming_checklist, or the default value if streaming_checklist is unset.

Source

pub fn streaming_check(&self) -> &str

Returns the value of streaming_check, or the default value if streaming_check is unset.

Trait Implementations§

Source§

impl Clone for SearchQuery

Source§

fn clone(&self) -> SearchQuery

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for SearchQuery

Source§

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

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

impl Default for SearchQuery

Source§

fn default() -> Self

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

impl Message for SearchQuery

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited( &self, buf: &mut impl BufMut, ) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and merges it into self.
Source§

impl PartialEq for SearchQuery

Source§

fn eq(&self, other: &SearchQuery) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for SearchQuery

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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

impl<L> LayerExt<L> for L

Source§

fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>
where L: Layer<S>,

Applies the layer to a service and wraps it in Layered.
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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more