pub struct AuthDetails {
pub user: usize,
pub key: String,
}Expand description
Credentials for use with API
Fields§
§user: usize§key: StringImplementations§
Source§impl AuthDetails
impl AuthDetails
pub fn from_query_string(qs: &str) -> Result<Self, Error>
Trait Implementations§
Source§impl Clone for AuthDetails
impl Clone for AuthDetails
Source§fn clone(&self) -> AuthDetails
fn clone(&self) -> AuthDetails
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 moreAuto Trait Implementations§
impl Freeze for AuthDetails
impl RefUnwindSafe for AuthDetails
impl Send for AuthDetails
impl Sync for AuthDetails
impl Unpin for AuthDetails
impl UnwindSafe for AuthDetails
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