#[non_exhaustive]pub struct ListWorkflowsResponse {
pub workflows: Vec<Workflow>,
pub next_page_token: String,
pub unreachable: Vec<String>,
/* private fields */
}Expand description
Response for the ListWorkflows method.
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.workflows: Vec<Workflow>The workflows that match the request.
next_page_token: StringA token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
unreachable: Vec<String>Unreachable resources.
Implementations§
Source§impl ListWorkflowsResponse
impl ListWorkflowsResponse
pub fn new() -> Self
Sourcepub fn set_workflows<T, V>(self, v: T) -> Self
pub fn set_workflows<T, V>(self, v: T) -> Self
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
§Example
ⓘ
let x = ListWorkflowsResponse::new().set_next_page_token("example");Sourcepub fn set_unreachable<T, V>(self, v: T) -> Self
pub fn set_unreachable<T, V>(self, v: T) -> Self
Sets the value of unreachable.
§Example
ⓘ
let x = ListWorkflowsResponse::new().set_unreachable(["a", "b", "c"]);Trait Implementations§
Source§impl Clone for ListWorkflowsResponse
impl Clone for ListWorkflowsResponse
Source§fn clone(&self) -> ListWorkflowsResponse
fn clone(&self) -> ListWorkflowsResponse
Returns a duplicate 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 ListWorkflowsResponse
impl Debug for ListWorkflowsResponse
Source§impl Default for ListWorkflowsResponse
impl Default for ListWorkflowsResponse
Source§fn default() -> ListWorkflowsResponse
fn default() -> ListWorkflowsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListWorkflowsResponse
impl Message for ListWorkflowsResponse
Source§impl PartialEq for ListWorkflowsResponse
impl PartialEq for ListWorkflowsResponse
impl StructuralPartialEq for ListWorkflowsResponse
Auto Trait Implementations§
impl Freeze for ListWorkflowsResponse
impl RefUnwindSafe for ListWorkflowsResponse
impl Send for ListWorkflowsResponse
impl Sync for ListWorkflowsResponse
impl Unpin for ListWorkflowsResponse
impl UnwindSafe for ListWorkflowsResponse
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