pub struct ServiceEvent {
pub created_at: Option<f64>,
pub id: Option<String>,
pub message: Option<String>,
}
Expand description
Details on an event associated with a service.
Fields§
§created_at: Option<f64>
The Unix timestamp for when the event was triggered.
id: Option<String>
The ID string of the event.
message: Option<String>
The event message.
Trait Implementations§
Source§impl Clone for ServiceEvent
impl Clone for ServiceEvent
Source§fn clone(&self) -> ServiceEvent
fn clone(&self) -> ServiceEvent
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 ServiceEvent
impl Debug for ServiceEvent
Source§impl Default for ServiceEvent
impl Default for ServiceEvent
Source§fn default() -> ServiceEvent
fn default() -> ServiceEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceEvent
impl<'de> Deserialize<'de> for ServiceEvent
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 PartialEq for ServiceEvent
impl PartialEq for ServiceEvent
impl StructuralPartialEq for ServiceEvent
Auto Trait Implementations§
impl Freeze for ServiceEvent
impl RefUnwindSafe for ServiceEvent
impl Send for ServiceEvent
impl Sync for ServiceEvent
impl Unpin for ServiceEvent
impl UnwindSafe for ServiceEvent
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