pub struct SendResult {
pub success: bool,
pub status_code: Option<u16>,
pub message: Option<String>,
pub latency_ms: u64,
pub accepted: bool,
}Expand description
Result of sending a single event.
Fields§
§success: boolWhether the send was successful.
status_code: Option<u16>HTTP status code (if applicable).
message: Option<String>Response message.
latency_ms: u64Time taken in milliseconds.
accepted: boolWhether the event was accepted by the server.
Implementations§
Trait Implementations§
Source§impl Clone for SendResult
impl Clone for SendResult
Auto Trait Implementations§
impl Freeze for SendResult
impl RefUnwindSafe for SendResult
impl Send for SendResult
impl Sync for SendResult
impl Unpin for SendResult
impl UnsafeUnpin for SendResult
impl UnwindSafe for SendResult
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