pub struct AppOperation {
pub context: AppContext,
pub status_descr: String,
pub req_bytes: u64,
pub resp_bytes: u64,
pub duration_us: u32,
pub status: AppStatus,
}Expand description
Application Operation - Format (0,2202)
Sampled application operation information
§XDR Definition (sFlow Application)
/* Sampled Application Operation */
/* opaque = flow_data; enterprise = 0; format = 2202 */
struct app_operation {
context context; /* attributes describing the operation */
utf8string<64> status_descr; /* additional text describing status */
unsigned hyper req_bytes; /* size of request body (exclude headers) */
unsigned hyper resp_bytes; /* size of response body (exclude headers) */
unsigned int uS; /* duration of the operation (microseconds) */
status status; /* status code */
}Fields§
§context: AppContextOperation context
status_descr: StringAdditional status description
req_bytes: u64Size of request body in bytes (excluding headers)
resp_bytes: u64Size of response body in bytes (excluding headers)
duration_us: u32Duration of the operation in microseconds
status: AppStatusOperation status code
Trait Implementations§
Source§impl Clone for AppOperation
impl Clone for AppOperation
Source§fn clone(&self) -> AppOperation
fn clone(&self) -> AppOperation
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 moreSource§impl Debug for AppOperation
impl Debug for AppOperation
Source§impl PartialEq for AppOperation
impl PartialEq for AppOperation
impl Eq for AppOperation
impl StructuralPartialEq for AppOperation
Auto Trait Implementations§
impl Freeze for AppOperation
impl RefUnwindSafe for AppOperation
impl Send for AppOperation
impl Sync for AppOperation
impl Unpin for AppOperation
impl UnwindSafe for AppOperation
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