#[non_exhaustive]pub struct ListProfilesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
ListProfilesRequest contains request parameters for listing profiles for deployments in projects which the user has permissions to view.
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.parent: StringRequired. The parent, which owns this collection of profiles. Format: projects/{user_project_id}
page_size: i32The maximum number of items to return. Default page_size is 1000. Max limit is 1000.
page_token: StringThe token to continue pagination and get profiles from a particular page.
When paginating, all other parameters provided to ListProfiles must match
the call that provided the page token.
Implementations§
Source§impl ListProfilesRequest
impl ListProfilesRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> 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 = ListProfilesRequest::new().set_page_token("example");Trait Implementations§
Source§impl Clone for ListProfilesRequest
impl Clone for ListProfilesRequest
Source§fn clone(&self) -> ListProfilesRequest
fn clone(&self) -> ListProfilesRequest
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 ListProfilesRequest
impl Debug for ListProfilesRequest
Source§impl Default for ListProfilesRequest
impl Default for ListProfilesRequest
Source§fn default() -> ListProfilesRequest
fn default() -> ListProfilesRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListProfilesRequest
impl Message for ListProfilesRequest
Source§impl PartialEq for ListProfilesRequest
impl PartialEq for ListProfilesRequest
impl StructuralPartialEq for ListProfilesRequest
Auto Trait Implementations§
impl Freeze for ListProfilesRequest
impl RefUnwindSafe for ListProfilesRequest
impl Send for ListProfilesRequest
impl Sync for ListProfilesRequest
impl Unpin for ListProfilesRequest
impl UnwindSafe for ListProfilesRequest
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