#[non_exhaustive]pub struct WorkflowListOptions {
pub workflow_type: Option<String>,
pub status: Option<String>,
pub query: Option<String>,
pub page_size: Option<u32>,
pub next_page_token: Option<String>,
}Expand description
Filters accepted by the published GET /workflows 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.workflow_type: Option<String>§status: Option<String>§query: Option<String>§page_size: Option<u32>§next_page_token: Option<String>Implementations§
Source§impl WorkflowListOptions
impl WorkflowListOptions
pub fn new() -> Self
pub fn workflow_type(self, value: impl Into<String>) -> Self
pub fn status(self, value: impl Into<String>) -> Self
pub fn query(self, value: impl Into<String>) -> Self
Sourcepub fn page_size(self, value: u32) -> Self
pub fn page_size(self, value: u32) -> Self
The Server validates its limit; values are never silently clamped.
pub fn next_page_token(self, value: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for WorkflowListOptions
impl Clone for WorkflowListOptions
Source§fn clone(&self) -> WorkflowListOptions
fn clone(&self) -> WorkflowListOptions
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 WorkflowListOptions
impl Debug for WorkflowListOptions
Source§impl Default for WorkflowListOptions
impl Default for WorkflowListOptions
Source§fn default() -> WorkflowListOptions
fn default() -> WorkflowListOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkflowListOptions
impl RefUnwindSafe for WorkflowListOptions
impl Send for WorkflowListOptions
impl Sync for WorkflowListOptions
impl Unpin for WorkflowListOptions
impl UnwindSafe for WorkflowListOptions
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