#[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§fn clone(&self) -> WorkflowHistoryOptions
fn clone(&self) -> WorkflowHistoryOptions
Returns a copy of the value. Read more
1.0.0 · 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 WorkflowHistoryOptions
impl Debug for WorkflowHistoryOptions
Source§impl Default for WorkflowHistoryOptions
impl Default for WorkflowHistoryOptions
Source§fn default() -> WorkflowHistoryOptions
fn default() -> WorkflowHistoryOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkflowHistoryOptions
impl RefUnwindSafe for WorkflowHistoryOptions
impl Send for WorkflowHistoryOptions
impl Sync for WorkflowHistoryOptions
impl Unpin for WorkflowHistoryOptions
impl UnwindSafe for WorkflowHistoryOptions
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