pub struct GatewayGetDefaults {
pub json: Option<bool>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GatewayGetDefaults : gatewayGetDefaults is a command that get defaults settings
Fields§
§json: Option<bool>Set output format to JSON
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl GatewayGetDefaults
impl GatewayGetDefaults
Sourcepub fn new() -> GatewayGetDefaults
pub fn new() -> GatewayGetDefaults
gatewayGetDefaults is a command that get defaults settings
Trait Implementations§
Source§impl Clone for GatewayGetDefaults
impl Clone for GatewayGetDefaults
Source§fn clone(&self) -> GatewayGetDefaults
fn clone(&self) -> GatewayGetDefaults
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 GatewayGetDefaults
impl Debug for GatewayGetDefaults
Source§impl Default for GatewayGetDefaults
impl Default for GatewayGetDefaults
Source§fn default() -> GatewayGetDefaults
fn default() -> GatewayGetDefaults
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayGetDefaults
impl<'de> Deserialize<'de> for GatewayGetDefaults
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 GatewayGetDefaults
impl PartialEq for GatewayGetDefaults
Source§fn eq(&self, other: &GatewayGetDefaults) -> bool
fn eq(&self, other: &GatewayGetDefaults) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GatewayGetDefaults
impl Serialize for GatewayGetDefaults
impl StructuralPartialEq for GatewayGetDefaults
Auto Trait Implementations§
impl Freeze for GatewayGetDefaults
impl RefUnwindSafe for GatewayGetDefaults
impl Send for GatewayGetDefaults
impl Sync for GatewayGetDefaults
impl Unpin for GatewayGetDefaults
impl UnsafeUnpin for GatewayGetDefaults
impl UnwindSafe for GatewayGetDefaults
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