Struct rumeter_component::record::RecordData
source · [−]pub struct RecordData { /* private fields */ }Implementations
sourceimpl RecordData
impl RecordData
pub fn new(
time_stamp: u128,
elapsed: u64,
label: String,
response_code: u16,
response_message: String,
thread_name: String,
data_type: String,
success: bool,
failure_message: Option<String>,
bytes: u64,
sent_bytes: u64,
grp_threads: u32,
all_threads: u32,
url: String,
latency: u64,
idle_time: u64,
connect: u64,
response_result: Option<ResponseResult>
) -> Self
pub fn thread_name(&mut self, thread_name: String)
pub fn grp_threads(&mut self, grp_threads: u32)
pub fn all_threads(&mut self, all_threads: u32)
pub fn get_response_result(&self) -> Option<ResponseResult>
Trait Implementations
sourceimpl Clone for RecordData
impl Clone for RecordData
sourcefn clone(&self) -> RecordData
fn clone(&self) -> RecordData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for RecordData
impl Send for RecordData
impl Sync for RecordData
impl Unpin for RecordData
impl UnwindSafe for RecordData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more