pub struct SessionServerJoinOpts<'a> {
pub access_token: &'a str,
pub public_key: &'a [u8],
pub private_key: &'a [u8],
pub uuid: &'a Uuid,
pub server_id: &'a str,
pub proxy: Option<Proxy>,
}Fields§
§access_token: &'a str§public_key: &'a [u8]Given to us by the
private_key: &'a [u8]§uuid: &'a Uuid§server_id: &'a strThis is given to us by the server, but it’s typically an empty string.
proxy: Option<Proxy>Auto Trait Implementations§
impl<'a> !Freeze for SessionServerJoinOpts<'a>
impl<'a> !RefUnwindSafe for SessionServerJoinOpts<'a>
impl<'a> Send for SessionServerJoinOpts<'a>
impl<'a> Sync for SessionServerJoinOpts<'a>
impl<'a> Unpin for SessionServerJoinOpts<'a>
impl<'a> !UnwindSafe for SessionServerJoinOpts<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more