pub enum DeploymentReviewEvent {
Approved(DeploymentReviewApproved),
Rejected(DeploymentReviewRejected),
Requested(DeploymentReviewRequested),
}
Expand description
DeploymentReviewEvent
JSON schema
{
"oneOf": [
{
"$ref": "#/definitions/deployment_review$approved"
},
{
"$ref": "#/definitions/deployment_review$rejected"
},
{
"$ref": "#/definitions/deployment_review$requested"
}
]
}
Variants§
Approved(DeploymentReviewApproved)
Rejected(DeploymentReviewRejected)
Requested(DeploymentReviewRequested)
Trait Implementations§
Source§impl Clone for DeploymentReviewEvent
impl Clone for DeploymentReviewEvent
Source§fn clone(&self) -> DeploymentReviewEvent
fn clone(&self) -> DeploymentReviewEvent
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 DeploymentReviewEvent
impl Debug for DeploymentReviewEvent
Source§impl<'de> Deserialize<'de> for DeploymentReviewEvent
impl<'de> Deserialize<'de> for DeploymentReviewEvent
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 From<&DeploymentReviewEvent> for DeploymentReviewEvent
impl From<&DeploymentReviewEvent> for DeploymentReviewEvent
Source§fn from(value: &DeploymentReviewEvent) -> Self
fn from(value: &DeploymentReviewEvent) -> Self
Converts to this type from the input type.
Source§impl From<DeploymentReviewApproved> for DeploymentReviewEvent
impl From<DeploymentReviewApproved> for DeploymentReviewEvent
Source§fn from(value: DeploymentReviewApproved) -> Self
fn from(value: DeploymentReviewApproved) -> Self
Converts to this type from the input type.
Source§impl From<DeploymentReviewRejected> for DeploymentReviewEvent
impl From<DeploymentReviewRejected> for DeploymentReviewEvent
Source§fn from(value: DeploymentReviewRejected) -> Self
fn from(value: DeploymentReviewRejected) -> Self
Converts to this type from the input type.
Source§impl From<DeploymentReviewRequested> for DeploymentReviewEvent
impl From<DeploymentReviewRequested> for DeploymentReviewEvent
Source§fn from(value: DeploymentReviewRequested) -> Self
fn from(value: DeploymentReviewRequested) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeploymentReviewEvent
impl RefUnwindSafe for DeploymentReviewEvent
impl Send for DeploymentReviewEvent
impl Sync for DeploymentReviewEvent
impl Unpin for DeploymentReviewEvent
impl UnwindSafe for DeploymentReviewEvent
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