pub struct RatePoint {
pub timestamp: String,
pub rate: Option<f64>,
pub sent: Option<u64>,
}Expand description
One time-bucket of a rate metric (bounce/complaint percentages).
Fields§
§timestamp: StringStart of the bucket (RFC 3339).
rate: Option<f64>The rate (proportion) observed in the bucket.
sent: Option<u64>Messages sent in the bucket the rate is computed over.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RatePoint
impl<'de> Deserialize<'de> for RatePoint
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 RatePoint
impl RefUnwindSafe for RatePoint
impl Send for RatePoint
impl Sync for RatePoint
impl Unpin for RatePoint
impl UnsafeUnpin for RatePoint
impl UnwindSafe for RatePoint
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