Struct relay_event_schema::protocol::ClientReport
source · pub struct ClientReport {
pub timestamp: Option<UnixTimestamp>,
pub discarded_events: Vec<DiscardedEvent>,
pub rate_limited_events: Vec<DiscardedEvent>,
pub filtered_events: Vec<DiscardedEvent>,
pub filtered_sampling_events: Vec<DiscardedEvent>,
}
Fields§
§timestamp: Option<UnixTimestamp>
The timestamp of when the report was created.
discarded_events: Vec<DiscardedEvent>
Counters for events discarded by the client.
rate_limited_events: Vec<DiscardedEvent>
Counters for events rate limited by a relay configured to emit outcomes as client reports
filtered_events: Vec<DiscardedEvent>
Counters for events filtered by a relay configured to emit outcomes as client reports
filtered_sampling_events: Vec<DiscardedEvent>
Counters for events filtered by a sampling rule, by a relay configured to emit outcomes as client reports
Implementations§
Trait Implementations§
source§impl Clone for ClientReport
impl Clone for ClientReport
source§fn clone(&self) -> ClientReport
fn clone(&self) -> ClientReport
Returns a copy 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 ClientReport
impl Debug for ClientReport
source§impl Default for ClientReport
impl Default for ClientReport
source§fn default() -> ClientReport
fn default() -> ClientReport
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClientReport
impl<'de> Deserialize<'de> for ClientReport
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 ClientReport
impl PartialEq for ClientReport
source§impl Serialize for ClientReport
impl Serialize for ClientReport
impl StructuralPartialEq for ClientReport
Auto Trait Implementations§
impl Freeze for ClientReport
impl RefUnwindSafe for ClientReport
impl Send for ClientReport
impl Sync for ClientReport
impl Unpin for ClientReport
impl UnwindSafe for ClientReport
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)