pub struct ReloadEvent {
pub plugin_name: String,
pub event_type: ReloadEventType,
pub timestamp: String,
pub old_version: Option<String>,
pub new_version: Option<String>,
}Expand description
Reload event
Fields§
§plugin_name: StringPlugin name
event_type: ReloadEventTypeEvent type
timestamp: StringTimestamp
old_version: Option<String>Old version
new_version: Option<String>New version
Trait Implementations§
Source§impl Clone for ReloadEvent
impl Clone for ReloadEvent
Source§fn clone(&self) -> ReloadEvent
fn clone(&self) -> ReloadEvent
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 ReloadEvent
impl Debug for ReloadEvent
Source§impl<'de> Deserialize<'de> for ReloadEvent
impl<'de> Deserialize<'de> for ReloadEvent
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 ReloadEvent
impl RefUnwindSafe for ReloadEvent
impl Send for ReloadEvent
impl Sync for ReloadEvent
impl Unpin for ReloadEvent
impl UnwindSafe for ReloadEvent
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