#[non_exhaustive]pub struct WorkflowHistoryOptions {
pub page_size: Option<u32>,
pub next_page_token: Option<String>,
pub wait_new_event: Option<bool>,
}Expand description
Options accepted by the published run-history API.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.page_size: Option<u32>§next_page_token: Option<String>§wait_new_event: Option<bool>Implementations§
Source§impl WorkflowHistoryOptions
impl WorkflowHistoryOptions
pub fn new() -> Self
pub fn page_size(self, value: u32) -> Self
pub fn next_page_token(self, value: impl Into<String>) -> Self
Sourcepub fn wait_new_event(self, value: bool) -> Self
pub fn wait_new_event(self, value: bool) -> Self
Wait according to the Server’s existing long-poll contract. Iteration still terminates when the Server returns no continuation token.
Trait Implementations§
Source§impl Clone for WorkflowHistoryOptions
impl Clone for WorkflowHistoryOptions
Source§impl Debug for WorkflowHistoryOptions
impl Debug for WorkflowHistoryOptions
Auto Trait Implementations§
impl Forget for WorkflowHistoryOptions
impl Freeze for WorkflowHistoryOptions
impl Move for WorkflowHistoryOptions
impl RefUnwindSafe for WorkflowHistoryOptions
impl Send for WorkflowHistoryOptionswhere
RawVecInner: Send,
impl Sync for WorkflowHistoryOptionswhere
RawVecInner: Sync,
impl Unpin for WorkflowHistoryOptions
impl UnsafeUnpin for WorkflowHistoryOptions
impl UnwindSafe for WorkflowHistoryOptionswhere
RawVecInner: UnwindSafe,
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