pub struct UsageReported {
pub identifier: String,
pub already_reported: bool,
}Expand description
The outcome of a report_usage: the identifier
that was reported and whether the provider said it had already been
reported. A duplicate is success, not failure — the window was counted
exactly once — so a caller completes the work either way.
Fields§
§identifier: String§already_reported: boolTrait Implementations§
Source§impl Clone for UsageReported
impl Clone for UsageReported
Source§impl Debug for UsageReported
impl Debug for UsageReported
impl Eq for UsageReported
Source§impl PartialEq for UsageReported
impl PartialEq for UsageReported
impl StructuralPartialEq for UsageReported
Auto Trait Implementations§
impl Freeze for UsageReported
impl RefUnwindSafe for UsageReported
impl Send for UsageReported
impl Sync for UsageReported
impl Unpin for UsageReported
impl UnsafeUnpin for UsageReported
impl UnwindSafe for UsageReported
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.