pub struct EventLogV1 { /* private fields */ }Expand description
Definition of the event.1 format.
Implementations§
Source§impl EventLogV1
impl EventLogV1
pub fn type_(&self) -> &str
pub fn time(&self) -> DateTime<Utc>
Sourcepub fn event_name(&self) -> &str
pub fn event_name(&self) -> &str
Dot-delimited name of event, e.g. com.foundry.compass.api.Compass.http.ping.failures
Sourcepub fn event_type(&self) -> &str
pub fn event_type(&self) -> &str
Type of event being represented, e.g. gauge, histogram, counter
Sourcepub fn values(&self) -> &BTreeMap<String, Any>
pub fn values(&self) -> &BTreeMap<String, Any>
Observations, measurements and context associated with the event
Sourcepub fn org_id(&self) -> Option<&OrganizationId>
pub fn org_id(&self) -> Option<&OrganizationId>
Organization id (if available)
Sourcepub fn unsafe_params(&self) -> &BTreeMap<String, Any>
pub fn unsafe_params(&self) -> &BTreeMap<String, Any>
Unsafe metadata describing the event
Trait Implementations§
Source§impl Clone for EventLogV1
impl Clone for EventLogV1
Source§fn clone(&self) -> EventLogV1
fn clone(&self) -> EventLogV1
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 EventLogV1
impl Debug for EventLogV1
Source§impl<'de> Deserialize<'de> for EventLogV1
impl<'de> Deserialize<'de> for EventLogV1
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<EventLogV1> for Builder<Complete>
impl From<EventLogV1> for Builder<Complete>
Source§fn from(v: EventLogV1) -> Self
fn from(v: EventLogV1) -> Self
Converts to this type from the input type.
Source§impl Hash for EventLogV1
impl Hash for EventLogV1
Source§impl Ord for EventLogV1
impl Ord for EventLogV1
Source§fn cmp(&self, other: &EventLogV1) -> Ordering
fn cmp(&self, other: &EventLogV1) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EventLogV1
impl PartialEq for EventLogV1
Source§impl PartialOrd for EventLogV1
impl PartialOrd for EventLogV1
Source§impl Serialize for EventLogV1
impl Serialize for EventLogV1
impl Eq for EventLogV1
impl StructuralPartialEq for EventLogV1
Auto Trait Implementations§
impl Freeze for EventLogV1
impl RefUnwindSafe for EventLogV1
impl Send for EventLogV1
impl Sync for EventLogV1
impl Unpin for EventLogV1
impl UnwindSafe for EventLogV1
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