pub struct DeploymentStatus {
pub states: Vec<String>,
}
Expand description
Types of deployment status events See: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#deployment_status
Fields§
§states: Vec<String>
Filter on specific deployment states
Implementations§
Source§impl DeploymentStatus
impl DeploymentStatus
Sourcepub fn add_state<S>(self, state: S) -> DeploymentStatus
pub fn add_state<S>(self, state: S) -> DeploymentStatus
Adds a deployment state to filter on
Trait Implementations§
Source§impl Clone for DeploymentStatus
impl Clone for DeploymentStatus
Source§fn clone(&self) -> DeploymentStatus
fn clone(&self) -> DeploymentStatus
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 DeploymentStatus
impl Debug for DeploymentStatus
Source§impl Default for DeploymentStatus
impl Default for DeploymentStatus
Source§fn default() -> DeploymentStatus
fn default() -> DeploymentStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeploymentStatus
impl<'de> Deserialize<'de> for DeploymentStatus
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeploymentStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeploymentStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeploymentStatus
impl PartialEq for DeploymentStatus
Source§impl Serialize for DeploymentStatus
impl Serialize for DeploymentStatus
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for DeploymentStatus
impl StructuralPartialEq for DeploymentStatus
Auto Trait Implementations§
impl Freeze for DeploymentStatus
impl RefUnwindSafe for DeploymentStatus
impl Send for DeploymentStatus
impl Sync for DeploymentStatus
impl Unpin for DeploymentStatus
impl UnwindSafe for DeploymentStatus
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.