Struct saml_test_server::util::AppState
source · [−]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: X509Trait Implementations
sourceimpl From<ServerConfig> for AppState
impl From<ServerConfig> for AppState
sourcefn from(server_config: ServerConfig) -> AppState
fn from(server_config: ServerConfig) -> AppState
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl UnwindSafe for AppState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more