pub struct UsageEntry {
pub owner_id: String,
pub endpoint: String,
pub method: String,
pub status: u16,
pub latency_ms: i32,
pub credits: u32,
}Expand description
A single usage log entry to be recorded.
Fields§
§owner_id: String§endpoint: String§method: String§status: u16§latency_ms: i32§credits: u32Auto Trait Implementations§
impl Freeze for UsageEntry
impl RefUnwindSafe for UsageEntry
impl Send for UsageEntry
impl Sync for UsageEntry
impl Unpin for UsageEntry
impl UnsafeUnpin for UsageEntry
impl UnwindSafe for UsageEntry
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