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

Time operation occured

Request (endpoint + path)

Endpoint URL

GET, PUT, DELETE...

If the operation succeeded or not

HTTP return code

Size of payload

Duration of operation

Object name

Trait Implementations

impl Debug for BenchOperation
[src]

Formats the value using the given formatter.

impl Default for BenchOperation
[src]

Returns the "default value" for a type. Read more

impl Clone for BenchOperation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for BenchOperation
[src]