pub enum RpcServerAuthConfig {
Disabled,
Token {
token: String,
option_key: String,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RpcServerAuthConfig
impl Clone for RpcServerAuthConfig
Source§fn clone(&self) -> RpcServerAuthConfig
fn clone(&self) -> RpcServerAuthConfig
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 RpcServerAuthConfig
impl Debug for RpcServerAuthConfig
Source§impl PartialEq for RpcServerAuthConfig
impl PartialEq for RpcServerAuthConfig
Source§fn eq(&self, other: &RpcServerAuthConfig) -> bool
fn eq(&self, other: &RpcServerAuthConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RpcServerAuthConfig
impl StructuralPartialEq for RpcServerAuthConfig
Auto Trait Implementations§
impl Freeze for RpcServerAuthConfig
impl RefUnwindSafe for RpcServerAuthConfig
impl Send for RpcServerAuthConfig
impl Sync for RpcServerAuthConfig
impl Unpin for RpcServerAuthConfig
impl UnsafeUnpin for RpcServerAuthConfig
impl UnwindSafe for RpcServerAuthConfig
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