#[non_exhaustive]pub struct PushOption {
pub branch_filter: String,
/* private fields */
}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.branch_filter: StringOptional. Trigger hook for matching branches only. Specified as glob pattern. If empty or , events for all branches are reported. Examples: main, {main,release}. See https://pkg.go.dev/github.com/gobwas/glob documentation.
Implementations§
Source§impl PushOption
impl PushOption
Trait Implementations§
Source§impl Clone for PushOption
impl Clone for PushOption
Source§fn clone(&self) -> PushOption
fn clone(&self) -> PushOption
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 PushOption
impl Debug for PushOption
Source§impl Default for PushOption
impl Default for PushOption
Source§fn default() -> PushOption
fn default() -> PushOption
Returns the “default value” for a type. Read more
Source§impl PartialEq for PushOption
impl PartialEq for PushOption
impl StructuralPartialEq for PushOption
Auto Trait Implementations§
impl Freeze for PushOption
impl RefUnwindSafe for PushOption
impl Send for PushOption
impl Sync for PushOption
impl Unpin for PushOption
impl UnwindSafe for PushOption
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