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