pub struct GatewayGetCache {
pub json: Option<bool>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GatewayGetCache : gatewayGetCache is a command that get cache 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 GatewayGetCache
impl GatewayGetCache
Sourcepub fn new() -> GatewayGetCache
pub fn new() -> GatewayGetCache
gatewayGetCache is a command that get cache settings
Trait Implementations§
Source§impl Clone for GatewayGetCache
impl Clone for GatewayGetCache
Source§fn clone(&self) -> GatewayGetCache
fn clone(&self) -> GatewayGetCache
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 GatewayGetCache
impl Debug for GatewayGetCache
Source§impl Default for GatewayGetCache
impl Default for GatewayGetCache
Source§fn default() -> GatewayGetCache
fn default() -> GatewayGetCache
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayGetCache
impl<'de> Deserialize<'de> for GatewayGetCache
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 GatewayGetCache
impl PartialEq for GatewayGetCache
Source§fn eq(&self, other: &GatewayGetCache) -> bool
fn eq(&self, other: &GatewayGetCache) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GatewayGetCache
impl Serialize for GatewayGetCache
impl StructuralPartialEq for GatewayGetCache
Auto Trait Implementations§
impl Freeze for GatewayGetCache
impl RefUnwindSafe for GatewayGetCache
impl Send for GatewayGetCache
impl Sync for GatewayGetCache
impl Unpin for GatewayGetCache
impl UnsafeUnpin for GatewayGetCache
impl UnwindSafe for GatewayGetCache
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