Struct astro_run::PushCondition
source · pub struct PushCondition {
pub branches: Option<Vec<String>>,
pub paths: Option<Vec<String>>,
}Fields§
§branches: Option<Vec<String>>§paths: Option<Vec<String>>Implementations§
source§impl PushCondition
impl PushCondition
pub fn is_match(&self, payload: &ConditionPayload) -> bool
Trait Implementations§
source§impl Clone for PushCondition
impl Clone for PushCondition
source§fn clone(&self) -> PushCondition
fn clone(&self) -> PushCondition
Returns a copy 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 PushCondition
impl Debug for PushCondition
source§impl<'de> Deserialize<'de> for PushCondition
impl<'de> Deserialize<'de> for PushCondition
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 PartialEq<PushCondition> for PushCondition
impl PartialEq<PushCondition> for PushCondition
source§fn eq(&self, other: &PushCondition) -> bool
fn eq(&self, other: &PushCondition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PushCondition
impl Serialize for PushCondition
impl StructuralPartialEq for PushCondition
Auto Trait Implementations§
impl RefUnwindSafe for PushCondition
impl Send for PushCondition
impl Sync for PushCondition
impl Unpin for PushCondition
impl UnwindSafe for PushCondition
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