#[non_exhaustive]pub struct GetBranchRuleRequest {
pub name: String,
/* private fields */
}Expand description
GetBranchRuleRequest is the request for getting a branch rule.
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. Name of the repository to retrieve.
The format is
projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}.
Implementations§
Trait Implementations§
Source§impl Clone for GetBranchRuleRequest
impl Clone for GetBranchRuleRequest
Source§fn clone(&self) -> GetBranchRuleRequest
fn clone(&self) -> GetBranchRuleRequest
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 GetBranchRuleRequest
impl Debug for GetBranchRuleRequest
Source§impl Default for GetBranchRuleRequest
impl Default for GetBranchRuleRequest
Source§fn default() -> GetBranchRuleRequest
fn default() -> GetBranchRuleRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetBranchRuleRequest
impl Message for GetBranchRuleRequest
Source§impl PartialEq for GetBranchRuleRequest
impl PartialEq for GetBranchRuleRequest
impl StructuralPartialEq for GetBranchRuleRequest
Auto Trait Implementations§
impl Freeze for GetBranchRuleRequest
impl RefUnwindSafe for GetBranchRuleRequest
impl Send for GetBranchRuleRequest
impl Sync for GetBranchRuleRequest
impl Unpin for GetBranchRuleRequest
impl UnwindSafe for GetBranchRuleRequest
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