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> !UnwindSafe for SessionServerJoinOpts<'a>
impl<'a> Forget for SessionServerJoinOpts<'a>
impl<'a> Move for SessionServerJoinOpts<'a>
impl<'a> Send for SessionServerJoinOpts<'a>
impl<'a> Sync for SessionServerJoinOpts<'a>
impl<'a> Unpin for SessionServerJoinOpts<'a>
impl<'a> UnsafeUnpin for SessionServerJoinOpts<'a>where
&'a str: UnsafeUnpin,
&'a [u8]: UnsafeUnpin,
&'a Uuid: UnsafeUnpin,
*const u8: UnsafeUnpin,
Align8<*mut ()>: UnsafeUnpin,
&'static Vtable: UnsafeUnpin,
*const [Pos] is !null: UnsafeUnpin,
PhantomData<[Pos]>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Bucket<HeaderValue>>: UnsafeUnpin,
PhantomData<ExtraValue<HeaderValue>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<dyn Fn(&Url) -> Option<Result<Url, Error>> + Sync + Send> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn(&Url) -> Option<Result<Url, Error>> + Sync + Send>>: UnsafeUnpin,
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