Struct s3lsio::BenchOperation
[−]
[src]
pub struct BenchOperation {
pub start_time: String,
pub end_time: String,
pub request: String,
pub endpoint: String,
pub method: String,
pub success: bool,
pub code: u16,
pub payload_size: u64,
pub duration: String,
pub object: String,
}Allows for duration tracking of operations. You should not track time of this app running but of each operation and then the summation of the durations plus latency etc.
Fields
start_time: String
Time operation occured
end_time: String
request: String
Request (endpoint + path)
endpoint: String
Endpoint URL
method: String
GET, PUT, DELETE...
success: bool
If the operation succeeded or not
code: u16
HTTP return code
payload_size: u64
Size of payload
duration: String
Duration of operation
object: String
Object name
Trait Implementations
impl Debug for BenchOperation[src]
impl Default for BenchOperation[src]
fn default() -> BenchOperation
Returns the "default value" for a type. Read more
impl Clone for BenchOperation[src]
fn clone(&self) -> BenchOperation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more