pub struct TransitionState {
pub disabled_reason: Option<String>,
pub enabled: Option<bool>,
pub last_changed_at: Option<f64>,
pub last_changed_by: Option<String>,
}
Expand description
Represents information about the state of transitions between one stage and another stage.
Fields§
§disabled_reason: Option<String>
The user-specified reason why the transition between two stages of a pipeline was disabled.
enabled: Option<bool>
Whether the transition between stages is enabled (true) or disabled (false).
last_changed_at: Option<f64>
The timestamp when the transition state was last changed.
last_changed_by: Option<String>
The ID of the user who last changed the transition state.
Trait Implementations§
Source§impl Clone for TransitionState
impl Clone for TransitionState
Source§fn clone(&self) -> TransitionState
fn clone(&self) -> TransitionState
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 TransitionState
impl Debug for TransitionState
Source§impl Default for TransitionState
impl Default for TransitionState
Source§fn default() -> TransitionState
fn default() -> TransitionState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransitionState
impl<'de> Deserialize<'de> for TransitionState
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 for TransitionState
impl PartialEq for TransitionState
impl StructuralPartialEq for TransitionState
Auto Trait Implementations§
impl Freeze for TransitionState
impl RefUnwindSafe for TransitionState
impl Send for TransitionState
impl Sync for TransitionState
impl Unpin for TransitionState
impl UnwindSafe for TransitionState
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