#[non_exhaustive]pub struct ListWorkflowRevisionsRequest {
pub name: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
Request for the ListWorkflowRevisions 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.name: StringRequired. Workflow for which the revisions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}
page_size: i32The maximum number of revisions to return per page. If a value is not specified, a default value of 20 is used. The maximum permitted value is 100. Values greater than 100 are coerced down to 100.
page_token: StringThe page token, received from a previous ListWorkflowRevisions call. Provide this to retrieve the subsequent page.
Implementations§
Source§impl ListWorkflowRevisionsRequest
impl ListWorkflowRevisionsRequest
pub fn new() -> Self
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
§Example
let x = ListWorkflowRevisionsRequest::new().set_page_token("example");Trait Implementations§
Source§impl Clone for ListWorkflowRevisionsRequest
impl Clone for ListWorkflowRevisionsRequest
Source§fn clone(&self) -> ListWorkflowRevisionsRequest
fn clone(&self) -> ListWorkflowRevisionsRequest
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 ListWorkflowRevisionsRequest
impl Debug for ListWorkflowRevisionsRequest
Source§impl Default for ListWorkflowRevisionsRequest
impl Default for ListWorkflowRevisionsRequest
Source§fn default() -> ListWorkflowRevisionsRequest
fn default() -> ListWorkflowRevisionsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListWorkflowRevisionsRequest
impl PartialEq for ListWorkflowRevisionsRequest
Source§fn eq(&self, other: &ListWorkflowRevisionsRequest) -> bool
fn eq(&self, other: &ListWorkflowRevisionsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListWorkflowRevisionsRequest
Auto Trait Implementations§
impl Freeze for ListWorkflowRevisionsRequest
impl RefUnwindSafe for ListWorkflowRevisionsRequest
impl Send for ListWorkflowRevisionsRequest
impl Sync for ListWorkflowRevisionsRequest
impl Unpin for ListWorkflowRevisionsRequest
impl UnwindSafe for ListWorkflowRevisionsRequest
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