pub struct GatewayAuth {
pub mode: Option<String>,
pub token: Option<String>,
pub password: Option<String>,
}Fields§
§mode: Option<String>§token: Option<String>§password: Option<String>Trait Implementations§
Source§impl Clone for GatewayAuth
impl Clone for GatewayAuth
Source§fn clone(&self) -> GatewayAuth
fn clone(&self) -> GatewayAuth
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 GatewayAuth
impl Debug for GatewayAuth
Source§impl Default for GatewayAuth
impl Default for GatewayAuth
Source§fn default() -> GatewayAuth
fn default() -> GatewayAuth
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayAuthwhere
GatewayAuth: Default,
impl<'de> Deserialize<'de> for GatewayAuthwhere
GatewayAuth: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GatewayAuth
impl PartialEq for GatewayAuth
Source§fn eq(&self, other: &GatewayAuth) -> bool
fn eq(&self, other: &GatewayAuth) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GatewayAuth
impl Serialize for GatewayAuth
impl StructuralPartialEq for GatewayAuth
Auto Trait Implementations§
impl Freeze for GatewayAuth
impl RefUnwindSafe for GatewayAuth
impl Send for GatewayAuth
impl Sync for GatewayAuth
impl Unpin for GatewayAuth
impl UnsafeUnpin for GatewayAuth
impl UnwindSafe for GatewayAuth
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