Struct wwsvc_rs::app_hash::AppHash[][src]

pub struct AppHash {
    pub request_id: u32,
    pub hash: String,
    pub date_formatted: String,
}
Expand description

Represents a request hash object, used for securing requests

Fields

request_id: u32

The used request ID

hash: String

The resulting hash as String

date_formatted: String

The current date, formatted as IMF-fixdate

Implementations

Returns a new AppHash object from the current request ID and the application secret of a WebwareClient.

Can be formatted as lowercase hexadecimal for ease of use.

Trait Implementations

Formats the value using the given formatter.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more