[][src]Struct sync15::telemetry::Event

pub struct Event {
    object: &'static str,
    method: &'static str,
    value: Option<&'static str>,
    extra: Option<HashMap<&'static str, String, RandomState>>,
}

A generic "Event" - suitable for all kinds of pings (although this module only cares about the sync ping)

Fields

object: &'static strmethod: &'static strvalue: Option<&'static str>extra: Option<HashMap<&'static str, String, RandomState>>

Implementations

impl Event[src]

pub fn new(object: &'static str, method: &'static str) -> Event[src]

pub fn value(self, v: &'static str) -> Event[src]

pub fn extra(self, key: &'static str, val: String) -> Event[src]

Trait Implementations

impl Debug for Event[src]

impl Serialize for Event[src]

Auto Trait Implementations

impl RefUnwindSafe for Event

impl Send for Event

impl Sync for Event

impl Unpin for Event

impl UnwindSafe for Event

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,