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: String
issuer: String
service_providers: HashMap<String, ServiceProvider>
tls_cert_path: String
tls_key_path: String
saml_cert_path: String
saml_key_path: String
saml_signing_key: PKey<Private>
saml_signing_cert: X509
Trait 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