pub struct SubscriptionSelector {
pub workflow_type: Option<String>,
pub status: Option<WorkflowStatus>,
}Expand description
Validated subscription selectors applied before frame encoding.
Fields§
§workflow_type: Option<String>Deliver only events of workflows with this recorded type.
status: Option<WorkflowStatus>Deliver only events whose kind projects to this status.
Implementations§
Source§impl SubscriptionSelector
impl SubscriptionSelector
Sourcepub const fn unrestricted() -> Self
pub const fn unrestricted() -> Self
Selector that admits every event (per-workflow and firehose subscriptions carry no selectors).
Trait Implementations§
Source§impl Clone for SubscriptionSelector
impl Clone for SubscriptionSelector
Source§fn clone(&self) -> SubscriptionSelector
fn clone(&self) -> SubscriptionSelector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubscriptionSelector
impl Debug for SubscriptionSelector
Source§impl Default for SubscriptionSelector
impl Default for SubscriptionSelector
Source§fn default() -> SubscriptionSelector
fn default() -> SubscriptionSelector
Returns the “default value” for a type. Read more
impl Eq for SubscriptionSelector
Source§impl PartialEq for SubscriptionSelector
impl PartialEq for SubscriptionSelector
Source§fn eq(&self, other: &SubscriptionSelector) -> bool
fn eq(&self, other: &SubscriptionSelector) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubscriptionSelector
Auto Trait Implementations§
impl Freeze for SubscriptionSelector
impl RefUnwindSafe for SubscriptionSelector
impl Send for SubscriptionSelector
impl Sync for SubscriptionSelector
impl Unpin for SubscriptionSelector
impl UnsafeUnpin for SubscriptionSelector
impl UnwindSafe for SubscriptionSelector
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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::RequestSource§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