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
Source§fn clone(&self) -> SendResult
fn clone(&self) -> SendResult
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SendResult
impl RefUnwindSafe for SendResult
impl Send for SendResult
impl Sync for SendResult
impl Unpin 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