pub struct PushFilter {
pub branch: Option<String>,
pub invert_regex: Option<bool>,
pub tag: Option<String>,
}Expand description
Push contains filter properties for matching GitHub git pushes.
This type is not used in any activity, and only used as part of another schema.
Fields§
§branch: Option<String>Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
invert_regex: Option<bool>When true, only trigger a build if the revision regex does NOT match the git_ref regex.
tag: Option<String>Regexes matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
Trait Implementations§
Source§impl Clone for PushFilter
impl Clone for PushFilter
Source§fn clone(&self) -> PushFilter
fn clone(&self) -> PushFilter
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 PushFilter
impl Debug for PushFilter
Source§impl Default for PushFilter
impl Default for PushFilter
Source§fn default() -> PushFilter
fn default() -> PushFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PushFilter
impl<'de> Deserialize<'de> for PushFilter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PushFilter
impl Serialize for PushFilter
impl Part for PushFilter
Auto Trait Implementations§
impl Freeze for PushFilter
impl RefUnwindSafe for PushFilter
impl Send for PushFilter
impl Sync for PushFilter
impl Unpin for PushFilter
impl UnwindSafe for PushFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more