#[non_exhaustive]pub struct ListRepositoriesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
/* private fields */
}Expand description
Message for requesting list of Repositories.
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 Repositories.
Format: projects/*/locations/*/connections/*.
page_size: i32Number of results to return in the list.
page_token: StringPage start.
filter: StringA filter expression that filters resources listed in the response.
Expressions must follow API improvement proposal
AIP-160. e.g.
remote_uri:"<https://github.com>*".
Implementations§
Source§impl ListRepositoriesRequest
impl ListRepositoriesRequest
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
Sets the value of parent.
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
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.
Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sets the value of filter.
Trait Implementations§
Source§impl Clone for ListRepositoriesRequest
impl Clone for ListRepositoriesRequest
Source§fn clone(&self) -> ListRepositoriesRequest
fn clone(&self) -> ListRepositoriesRequest
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 ListRepositoriesRequest
impl Debug for ListRepositoriesRequest
Source§impl Default for ListRepositoriesRequest
impl Default for ListRepositoriesRequest
Source§fn default() -> ListRepositoriesRequest
fn default() -> ListRepositoriesRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListRepositoriesRequest
impl Message for ListRepositoriesRequest
Source§impl PartialEq for ListRepositoriesRequest
impl PartialEq for ListRepositoriesRequest
impl StructuralPartialEq for ListRepositoriesRequest
Auto Trait Implementations§
impl Freeze for ListRepositoriesRequest
impl RefUnwindSafe for ListRepositoriesRequest
impl Send for ListRepositoriesRequest
impl Sync for ListRepositoriesRequest
impl Unpin for ListRepositoriesRequest
impl UnwindSafe for ListRepositoriesRequest
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