pub struct TopicSelectorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> TopicSelectorBuilder<S>
impl<S: State> TopicSelectorBuilder<S>
Sourcepub fn build(self) -> TopicSelectorwhere
S: IsComplete,
pub fn build(self) -> TopicSelectorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn path(self, value: impl Into<String>) -> TopicSelectorBuilder<SetPath<S>>where
S::Path: IsUnset,
pub fn path(self, value: impl Into<String>) -> TopicSelectorBuilder<SetPath<S>>where
S::Path: IsUnset,
Required.
Sourcepub fn partition_ids(
self,
value: Vec<i64>,
) -> TopicSelectorBuilder<SetPartitionIds<S>>where
S::PartitionIds: IsUnset,
pub fn partition_ids(
self,
value: Vec<i64>,
) -> TopicSelectorBuilder<SetPartitionIds<S>>where
S::PartitionIds: IsUnset,
Sourcepub fn maybe_partition_ids(
self,
value: Option<Vec<i64>>,
) -> TopicSelectorBuilder<SetPartitionIds<S>>where
S::PartitionIds: IsUnset,
pub fn maybe_partition_ids(
self,
value: Option<Vec<i64>>,
) -> TopicSelectorBuilder<SetPartitionIds<S>>where
S::PartitionIds: IsUnset,
Sourcepub fn read_from(
self,
value: SystemTime,
) -> TopicSelectorBuilder<SetReadFrom<S>>where
S::ReadFrom: IsUnset,
pub fn read_from(
self,
value: SystemTime,
) -> TopicSelectorBuilder<SetReadFrom<S>>where
S::ReadFrom: IsUnset,
Sourcepub fn maybe_read_from(
self,
value: Option<SystemTime>,
) -> TopicSelectorBuilder<SetReadFrom<S>>where
S::ReadFrom: IsUnset,
pub fn maybe_read_from(
self,
value: Option<SystemTime>,
) -> TopicSelectorBuilder<SetReadFrom<S>>where
S::ReadFrom: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for TopicSelectorBuilder<S>
impl<S> RefUnwindSafe for TopicSelectorBuilder<S>
impl<S> Send for TopicSelectorBuilder<S>
impl<S> Sync for TopicSelectorBuilder<S>
impl<S> Unpin for TopicSelectorBuilder<S>
impl<S> UnsafeUnpin for TopicSelectorBuilder<S>
impl<S> UnwindSafe for TopicSelectorBuilder<S>
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<T> ErasedDestructor for Twhere
T: 'static,
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