pub struct ApprovalGate {
pub phase: SpecPhase,
pub approved: bool,
pub approved_at: Option<DateTime<Utc>>,
pub approved_by: Option<String>,
pub feedback: Option<String>,
}Expand description
An approval gate for phase transitions
Fields§
§phase: SpecPhasePhase being gated
approved: boolWhether this phase has been approved
approved_at: Option<DateTime<Utc>>When the phase was approved (if at all)
approved_by: Option<String>Who approved the phase
feedback: Option<String>Feedback on the phase
Trait Implementations§
Source§impl Clone for ApprovalGate
impl Clone for ApprovalGate
Source§fn clone(&self) -> ApprovalGate
fn clone(&self) -> ApprovalGate
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 ApprovalGate
impl Debug for ApprovalGate
Source§impl<'de> Deserialize<'de> for ApprovalGate
impl<'de> Deserialize<'de> for ApprovalGate
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
Auto Trait Implementations§
impl Freeze for ApprovalGate
impl RefUnwindSafe for ApprovalGate
impl Send for ApprovalGate
impl Sync for ApprovalGate
impl Unpin for ApprovalGate
impl UnwindSafe for ApprovalGate
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