pub struct AdminSessionState {
pub auth_url: String,
pub nats_servers: String,
pub session_seed: String,
pub session_key: String,
pub binding_token: String,
pub sentinel_jwt: String,
pub sentinel_seed: String,
pub expires: String,
}Expand description
Persisted admin session details for the CLI.
Fields§
§auth_url: String§nats_servers: String§session_seed: String§session_key: String§binding_token: String§sentinel_jwt: String§sentinel_seed: String§expires: StringTrait Implementations§
Source§impl Clone for AdminSessionState
impl Clone for AdminSessionState
Source§fn clone(&self) -> AdminSessionState
fn clone(&self) -> AdminSessionState
Returns a duplicate of the value. Read more
1.0.0 · 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 AdminSessionState
impl Debug for AdminSessionState
Source§impl<'de> Deserialize<'de> for AdminSessionState
impl<'de> Deserialize<'de> for AdminSessionState
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
Auto Trait Implementations§
impl Freeze for AdminSessionState
impl RefUnwindSafe for AdminSessionState
impl Send for AdminSessionState
impl Sync for AdminSessionState
impl Unpin for AdminSessionState
impl UnsafeUnpin for AdminSessionState
impl UnwindSafe for AdminSessionState
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