pub enum RegistryEvent {
ProjectCreated(Project),
ProjectUpdated(Project),
ProjectDeleted(i64),
ScriptCreated {
project_id: i64,
script: Script,
},
ScriptUpdated {
project_id: i64,
script_name: String,
version_id: i64,
channel: Option<String>,
},
ScriptDeleted {
project_id: i64,
script_name: String,
},
}Variants§
ProjectCreated(Project)
ProjectUpdated(Project)
ProjectDeleted(i64)
ScriptCreated
ScriptUpdated
ScriptDeleted
Trait Implementations§
Source§impl Clone for RegistryEvent
impl Clone for RegistryEvent
Source§fn clone(&self) -> RegistryEvent
fn clone(&self) -> RegistryEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegistryEvent
impl Debug for RegistryEvent
Source§impl<'de> Deserialize<'de> for RegistryEvent
impl<'de> Deserialize<'de> for RegistryEvent
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 RegistryEvent
impl RefUnwindSafe for RegistryEvent
impl Send for RegistryEvent
impl Sync for RegistryEvent
impl Unpin for RegistryEvent
impl UnsafeUnpin for RegistryEvent
impl UnwindSafe for RegistryEvent
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