pub struct QueryEventsRequest {
pub run_ids: Vec<String>,
pub workspace_ids: Vec<String>,
pub kinds: Vec<String>,
pub policy_effects: Vec<i32>,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub page_size: u32,
pub page_token: String,
pub source: i32,
pub step_ids: Vec<String>,
pub ascending: bool,
pub severities: Vec<i32>,
}Fields§
§run_ids: Vec<String>§workspace_ids: Vec<String>§kinds: Vec<String>§policy_effects: Vec<i32>§start_time: Option<Timestamp>§end_time: Option<Timestamp>§page_size: u32§page_token: String§source: i32§step_ids: Vec<String>§ascending: bool§severities: Vec<i32>Implementations§
Source§impl QueryEventsRequest
impl QueryEventsRequest
Sourcepub fn policy_effects(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<PolicyDecisionEffect>>
pub fn policy_effects( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<PolicyDecisionEffect>>
Returns an iterator which yields the valid enum values contained in policy_effects.
Sourcepub fn push_policy_effects(&mut self, value: PolicyDecisionEffect)
pub fn push_policy_effects(&mut self, value: PolicyDecisionEffect)
Appends the provided enum value to policy_effects.
Sourcepub fn source(&self) -> QueryEventSource
pub fn source(&self) -> QueryEventSource
Returns the enum value of source, or the default if the field is set to an invalid enum value.
Sourcepub fn set_source(&mut self, value: QueryEventSource)
pub fn set_source(&mut self, value: QueryEventSource)
Sets source to the provided enum value.
Sourcepub fn severities(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<EventSeverity>>
pub fn severities( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<EventSeverity>>
Returns an iterator which yields the valid enum values contained in severities.
Sourcepub fn push_severities(&mut self, value: EventSeverity)
pub fn push_severities(&mut self, value: EventSeverity)
Appends the provided enum value to severities.
Trait Implementations§
Source§impl Clone for QueryEventsRequest
impl Clone for QueryEventsRequest
Source§fn clone(&self) -> QueryEventsRequest
fn clone(&self) -> QueryEventsRequest
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 QueryEventsRequest
impl Debug for QueryEventsRequest
Source§impl Default for QueryEventsRequest
impl Default for QueryEventsRequest
Source§impl Message for QueryEventsRequest
impl Message for QueryEventsRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for QueryEventsRequest
impl PartialEq for QueryEventsRequest
impl StructuralPartialEq for QueryEventsRequest
Auto Trait Implementations§
impl Freeze for QueryEventsRequest
impl RefUnwindSafe for QueryEventsRequest
impl Send for QueryEventsRequest
impl Sync for QueryEventsRequest
impl Unpin for QueryEventsRequest
impl UnwindSafe for QueryEventsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request