#[non_exhaustive]pub struct DeleteBranchRuleRequest {
pub name: String,
pub allow_missing: bool,
/* private fields */
}Expand description
DeleteBranchRuleRequest is the request to delete 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: String§allow_missing: boolOptional. If set to true, and the branch rule is not found, the request will succeed but no action will be taken on the server.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteBranchRuleRequest
impl Clone for DeleteBranchRuleRequest
Source§fn clone(&self) -> DeleteBranchRuleRequest
fn clone(&self) -> DeleteBranchRuleRequest
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 DeleteBranchRuleRequest
impl Debug for DeleteBranchRuleRequest
Source§impl Default for DeleteBranchRuleRequest
impl Default for DeleteBranchRuleRequest
Source§fn default() -> DeleteBranchRuleRequest
fn default() -> DeleteBranchRuleRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteBranchRuleRequest
impl Message for DeleteBranchRuleRequest
Source§impl PartialEq for DeleteBranchRuleRequest
impl PartialEq for DeleteBranchRuleRequest
impl StructuralPartialEq for DeleteBranchRuleRequest
Auto Trait Implementations§
impl Freeze for DeleteBranchRuleRequest
impl RefUnwindSafe for DeleteBranchRuleRequest
impl Send for DeleteBranchRuleRequest
impl Sync for DeleteBranchRuleRequest
impl Unpin for DeleteBranchRuleRequest
impl UnwindSafe for DeleteBranchRuleRequest
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