#[non_exhaustive]pub struct ListWorkflowStatesRequest {
pub filter: Option<WorkflowStateFilter>,
pub first: Option<i32>,
pub after: Option<String>,
}Expand description
Parameters for WorkflowStatesService::list. Serialized directly as
the WorkflowStateList query variables.
§Example
use linear_api::{StringComparator, WorkflowStateFilter};
use linear_api::workspace::ListWorkflowStatesRequest;
let req = ListWorkflowStatesRequest::builder()
.filter(
WorkflowStateFilter::builder()
.r#type(StringComparator::builder().eq("started".to_string()).build())
.build(),
)
.build();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.filter: Option<WorkflowStateFilter>Filter the returned workflow states.
first: Option<i32>Page size (server default 50).
after: Option<String>Cursor to paginate after (a previous page’s end_cursor).
Implementations§
Source§impl ListWorkflowStatesRequest
impl ListWorkflowStatesRequest
Sourcepub fn builder() -> ListWorkflowStatesRequestBuilder
pub fn builder() -> ListWorkflowStatesRequestBuilder
Create an instance of ListWorkflowStatesRequest using the builder syntax
Trait Implementations§
Source§impl Clone for ListWorkflowStatesRequest
impl Clone for ListWorkflowStatesRequest
Source§fn clone(&self) -> ListWorkflowStatesRequest
fn clone(&self) -> ListWorkflowStatesRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListWorkflowStatesRequest
impl Debug for ListWorkflowStatesRequest
Source§impl Default for ListWorkflowStatesRequest
impl Default for ListWorkflowStatesRequest
Source§fn default() -> ListWorkflowStatesRequest
fn default() -> ListWorkflowStatesRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListWorkflowStatesRequest
impl RefUnwindSafe for ListWorkflowStatesRequest
impl Send for ListWorkflowStatesRequest
impl Sync for ListWorkflowStatesRequest
impl Unpin for ListWorkflowStatesRequest
impl UnsafeUnpin for ListWorkflowStatesRequest
impl UnwindSafe for ListWorkflowStatesRequest
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