pub struct LoginState {
pub api_key: String,
pub org_id: String,
pub org_name: String,
pub api_url: Option<String>,
}Expand description
Logged-in state containing API key and org info.
Fields§
§api_key: String§org_id: String§org_name: String§api_url: Option<String>Trait Implementations§
Source§impl Clone for LoginState
impl Clone for LoginState
Source§fn clone(&self) -> LoginState
fn clone(&self) -> LoginState
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 moreAuto Trait Implementations§
impl Freeze for LoginState
impl RefUnwindSafe for LoginState
impl Send for LoginState
impl Sync for LoginState
impl Unpin for LoginState
impl UnsafeUnpin for LoginState
impl UnwindSafe for LoginState
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