pub struct WorkflowFetchHistoryOptionsBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> WorkflowFetchHistoryOptionsBuilder<S>
impl<S: State> WorkflowFetchHistoryOptionsBuilder<S>
Sourcepub fn build(self) -> WorkflowFetchHistoryOptionswhere
S: IsComplete,
pub fn build(self) -> WorkflowFetchHistoryOptionswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn skip_archival(
self,
value: bool,
) -> WorkflowFetchHistoryOptionsBuilder<SetSkipArchival<S>>where
S::SkipArchival: IsUnset,
pub fn skip_archival(
self,
value: bool,
) -> WorkflowFetchHistoryOptionsBuilder<SetSkipArchival<S>>where
S::SkipArchival: IsUnset,
Sourcepub fn maybe_skip_archival(
self,
value: Option<bool>,
) -> WorkflowFetchHistoryOptionsBuilder<SetSkipArchival<S>>where
S::SkipArchival: IsUnset,
pub fn maybe_skip_archival(
self,
value: Option<bool>,
) -> WorkflowFetchHistoryOptionsBuilder<SetSkipArchival<S>>where
S::SkipArchival: IsUnset,
Sourcepub fn wait_new_event(
self,
value: bool,
) -> WorkflowFetchHistoryOptionsBuilder<SetWaitNewEvent<S>>where
S::WaitNewEvent: IsUnset,
pub fn wait_new_event(
self,
value: bool,
) -> WorkflowFetchHistoryOptionsBuilder<SetWaitNewEvent<S>>where
S::WaitNewEvent: IsUnset,
Sourcepub fn maybe_wait_new_event(
self,
value: Option<bool>,
) -> WorkflowFetchHistoryOptionsBuilder<SetWaitNewEvent<S>>where
S::WaitNewEvent: IsUnset,
pub fn maybe_wait_new_event(
self,
value: Option<bool>,
) -> WorkflowFetchHistoryOptionsBuilder<SetWaitNewEvent<S>>where
S::WaitNewEvent: IsUnset,
Sourcepub fn event_filter_type(
self,
value: HistoryEventFilterType,
) -> WorkflowFetchHistoryOptionsBuilder<SetEventFilterType<S>>where
S::EventFilterType: IsUnset,
pub fn event_filter_type(
self,
value: HistoryEventFilterType,
) -> WorkflowFetchHistoryOptionsBuilder<SetEventFilterType<S>>where
S::EventFilterType: IsUnset,
Sourcepub fn maybe_event_filter_type(
self,
value: Option<HistoryEventFilterType>,
) -> WorkflowFetchHistoryOptionsBuilder<SetEventFilterType<S>>where
S::EventFilterType: IsUnset,
pub fn maybe_event_filter_type(
self,
value: Option<HistoryEventFilterType>,
) -> WorkflowFetchHistoryOptionsBuilder<SetEventFilterType<S>>where
S::EventFilterType: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for WorkflowFetchHistoryOptionsBuilder<S>
impl<S> RefUnwindSafe for WorkflowFetchHistoryOptionsBuilder<S>
impl<S> Send for WorkflowFetchHistoryOptionsBuilder<S>
impl<S> Sync for WorkflowFetchHistoryOptionsBuilder<S>
impl<S> Unpin for WorkflowFetchHistoryOptionsBuilder<S>
impl<S> UnsafeUnpin for WorkflowFetchHistoryOptionsBuilder<S>
impl<S> UnwindSafe for WorkflowFetchHistoryOptionsBuilder<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
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::Request