pub struct AuthEnvironment {
pub rustauth_secret: Option<String>,
pub rustauth_secrets: Option<String>,
pub rustauth_trusted_origins: Option<String>,
}Expand description
Environment values used by context initialization.
Fields§
§rustauth_secret: Option<String>§rustauth_secrets: Option<String>§rustauth_trusted_origins: Option<String>Implementations§
Source§impl AuthEnvironment
impl AuthEnvironment
pub fn from_process() -> Self
Trait Implementations§
Source§impl Clone for AuthEnvironment
impl Clone for AuthEnvironment
Source§fn clone(&self) -> AuthEnvironment
fn clone(&self) -> AuthEnvironment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthEnvironment
impl Debug for AuthEnvironment
Source§impl Default for AuthEnvironment
impl Default for AuthEnvironment
Source§fn default() -> AuthEnvironment
fn default() -> AuthEnvironment
Returns the “default value” for a type. Read more
impl Eq for AuthEnvironment
Source§impl PartialEq for AuthEnvironment
impl PartialEq for AuthEnvironment
Source§fn eq(&self, other: &AuthEnvironment) -> bool
fn eq(&self, other: &AuthEnvironment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuthEnvironment
Auto Trait Implementations§
impl Freeze for AuthEnvironment
impl RefUnwindSafe for AuthEnvironment
impl Send for AuthEnvironment
impl Sync for AuthEnvironment
impl Unpin for AuthEnvironment
impl UnsafeUnpin for AuthEnvironment
impl UnwindSafe for AuthEnvironment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.