pub struct AppState {
    pub hostname: String,
    pub issuer: String,
    pub service_providers: HashMap<String, ServiceProvider>,
    pub tls_cert_path: String,
    pub tls_key_path: String,
    pub saml_cert_path: String,
    pub saml_key_path: String,
    pub saml_signing_key: PKey<Private>,
    pub saml_signing_cert: X509,
}

Fields

hostname: Stringissuer: Stringservice_providers: HashMap<String, ServiceProvider>tls_cert_path: Stringtls_key_path: Stringsaml_cert_path: Stringsaml_key_path: Stringsaml_signing_key: PKey<Private>saml_signing_cert: X509

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.