pub enum DeployKeyEvent {
Created(DeployKeyCreated),
Deleted(DeployKeyDeleted),
}
Expand description
DeployKeyEvent
JSON schema
{
"oneOf": [
{
"$ref": "#/definitions/deploy_key$created"
},
{
"$ref": "#/definitions/deploy_key$deleted"
}
]
}
Variants§
Created(DeployKeyCreated)
Deleted(DeployKeyDeleted)
Trait Implementations§
Source§impl Clone for DeployKeyEvent
impl Clone for DeployKeyEvent
Source§fn clone(&self) -> DeployKeyEvent
fn clone(&self) -> DeployKeyEvent
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 DeployKeyEvent
impl Debug for DeployKeyEvent
Source§impl<'de> Deserialize<'de> for DeployKeyEvent
impl<'de> Deserialize<'de> for DeployKeyEvent
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<&DeployKeyEvent> for DeployKeyEvent
impl From<&DeployKeyEvent> for DeployKeyEvent
Source§fn from(value: &DeployKeyEvent) -> Self
fn from(value: &DeployKeyEvent) -> Self
Converts to this type from the input type.
Source§impl From<DeployKeyCreated> for DeployKeyEvent
impl From<DeployKeyCreated> for DeployKeyEvent
Source§fn from(value: DeployKeyCreated) -> Self
fn from(value: DeployKeyCreated) -> Self
Converts to this type from the input type.
Source§impl From<DeployKeyDeleted> for DeployKeyEvent
impl From<DeployKeyDeleted> for DeployKeyEvent
Source§fn from(value: DeployKeyDeleted) -> Self
fn from(value: DeployKeyDeleted) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeployKeyEvent
impl RefUnwindSafe for DeployKeyEvent
impl Send for DeployKeyEvent
impl Sync for DeployKeyEvent
impl Unpin for DeployKeyEvent
impl UnwindSafe for DeployKeyEvent
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