pub struct ComponentEvent {
pub component_id: String,
pub component_type: ComponentType,
pub status: ComponentStatus,
pub timestamp: DateTime<Utc>,
pub message: Option<String>,
}Expand description
Component event for tracking lifecycle changes
Fields§
§component_id: String§component_type: ComponentType§status: ComponentStatus§timestamp: DateTime<Utc>§message: Option<String>Trait Implementations§
Source§impl Clone for ComponentEvent
impl Clone for ComponentEvent
Source§fn clone(&self) -> ComponentEvent
fn clone(&self) -> ComponentEvent
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 ComponentEvent
impl Debug for ComponentEvent
Source§impl<'de> Deserialize<'de> for ComponentEvent
impl<'de> Deserialize<'de> for ComponentEvent
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 ComponentEvent
impl RefUnwindSafe for ComponentEvent
impl Send for ComponentEvent
impl Sync for ComponentEvent
impl Unpin for ComponentEvent
impl UnsafeUnpin for ComponentEvent
impl UnwindSafe for ComponentEvent
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