pub struct ServerAuth {
pub bearer_token: Option<String>,
pub allow_dev_no_auth: bool,
pub authorizer: Option<Arc<dyn Authorizer>>,
}Fields§
§bearer_token: Option<String>§allow_dev_no_auth: boolImplementations§
Trait Implementations§
Source§impl Clone for ServerAuth
impl Clone for ServerAuth
Source§fn clone(&self) -> ServerAuth
fn clone(&self) -> ServerAuth
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 ServerAuth
impl Debug for ServerAuth
Source§impl Default for ServerAuth
impl Default for ServerAuth
Source§fn default() -> ServerAuth
fn default() -> ServerAuth
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerAuth
impl !RefUnwindSafe for ServerAuth
impl Send for ServerAuth
impl Sync for ServerAuth
impl Unpin for ServerAuth
impl UnsafeUnpin for ServerAuth
impl !UnwindSafe for ServerAuth
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