pub struct AuthData {
pub socket_id: String,
pub channel: String,
pub auth_token: Option<String>,
}Expand description
Authorization data for private/presence channels.
Fields§
§socket_id: StringThe socket ID requesting access.
channel: StringThe channel name.
auth_token: Option<String>Optional auth token from the client.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthData
impl RefUnwindSafe for AuthData
impl Send for AuthData
impl Sync for AuthData
impl Unpin for AuthData
impl UnsafeUnpin for AuthData
impl UnwindSafe for AuthData
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