pub struct SelectStep { /* private fields */ }Expand description
Select step - selects labeled values from path
Implementations§
Source§impl SelectStep
impl SelectStep
Sourcepub fn new(select_labels: Vec<String>) -> SelectStep
pub fn new(select_labels: Vec<String>) -> SelectStep
Create select() step with labels
Sourcepub fn with_pop(select_labels: Vec<String>, pop: Pop) -> SelectStep
pub fn with_pop(select_labels: Vec<String>, pop: Pop) -> SelectStep
Create select with pop behavior
Sourcepub fn select_labels(&self) -> &[String]
pub fn select_labels(&self) -> &[String]
Get selected labels
Trait Implementations§
Source§impl Clone for SelectStep
impl Clone for SelectStep
Source§fn clone(&self) -> SelectStep
fn clone(&self) -> SelectStep
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 SelectStep
impl Debug for SelectStep
Source§impl MapStep for SelectStep
impl MapStep for SelectStep
Source§fn map(&self, traverser: &Traverser) -> TraverserValue
fn map(&self, traverser: &Traverser) -> TraverserValue
Map a traverser to a new value
Source§impl Step for SelectStep
impl Step for SelectStep
Source§fn requirements(&self) -> &[TraverserRequirement]
fn requirements(&self) -> &[TraverserRequirement]
Requirements this step declares
Source§fn process_traverser(&self, traverser: Traverser) -> StepResult
fn process_traverser(&self, traverser: Traverser) -> StepResult
Process a single traverser (standard algorithm)
Source§fn clone_step(&self) -> Box<dyn Step>
fn clone_step(&self) -> Box<dyn Step>
Clone as trait object
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Downcast to mutable concrete type
Auto Trait Implementations§
impl Freeze for SelectStep
impl RefUnwindSafe for SelectStep
impl Send for SelectStep
impl Sync for SelectStep
impl Unpin for SelectStep
impl UnsafeUnpin for SelectStep
impl UnwindSafe for SelectStep
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,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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