pub struct PendingDeployment {
pub environment: Environment,
pub wait_timer: u64,
pub wait_timer_started_at: Option<String>,
pub reviewers: Vec<Reviewer>,
pub current_user_can_approve: bool,
}Fields§
§environment: Environment§wait_timer: u64§wait_timer_started_at: Option<String>§reviewers: Vec<Reviewer>§current_user_can_approve: boolTrait Implementations§
Source§impl Clone for PendingDeployment
impl Clone for PendingDeployment
Source§impl Debug for PendingDeployment
impl Debug for PendingDeployment
Source§impl<'de> Deserialize<'de> for PendingDeployment
impl<'de> Deserialize<'de> for PendingDeployment
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
impl Eq for PendingDeployment
Source§impl PartialEq for PendingDeployment
impl PartialEq for PendingDeployment
impl StructuralPartialEq for PendingDeployment
Auto Trait Implementations§
impl Forget for PendingDeployment
impl Freeze for PendingDeploymentwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ProtectionRule>: Freeze,
PhantomData<Reviewer>: Freeze,
impl Move for PendingDeployment
impl RefUnwindSafe for PendingDeployment
impl Send for PendingDeploymentwhere
RawVecInner: Send,
impl Sync for PendingDeploymentwhere
RawVecInner: Sync,
impl Unpin for PendingDeployment
impl UnsafeUnpin for PendingDeploymentwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ProtectionRule>: UnsafeUnpin,
PhantomData<Reviewer>: UnsafeUnpin,
impl UnwindSafe for PendingDeploymentwhere
RawVecInner: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.