pub struct PlayAuth {
pub api_base: String,
pub bearer: String,
pub kind: PlayAuthKind,
}Expand description
Bearer token + metadata for HTTP and game connect.
Fields§
§api_base: String§bearer: String§kind: PlayAuthKindImplementations§
Source§impl PlayAuth
impl PlayAuth
pub fn game_credential(&self, character_id: Uuid) -> AuthCredential
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlayAuth
impl RefUnwindSafe for PlayAuth
impl Send for PlayAuth
impl Sync for PlayAuth
impl Unpin for PlayAuth
impl UnsafeUnpin for PlayAuth
impl UnwindSafe for PlayAuth
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