pub struct ConnectionConfiguration {
pub id: String,
pub is_authenticated: bool,
pub readonly: bool,
pub user_id: Option<String>,
pub socket_id: String,
pub context: HashMap<String, Value>,
}Fields§
§id: String§is_authenticated: bool§readonly: bool§user_id: Option<String>§socket_id: String§context: HashMap<String, Value>Trait Implementations§
Source§impl Clone for ConnectionConfiguration
impl Clone for ConnectionConfiguration
Source§fn clone(&self) -> ConnectionConfiguration
fn clone(&self) -> ConnectionConfiguration
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 moreSource§impl Debug for ConnectionConfiguration
impl Debug for ConnectionConfiguration
Source§impl<'de> Deserialize<'de> for ConnectionConfiguration
impl<'de> Deserialize<'de> for ConnectionConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConnectionConfiguration
impl RefUnwindSafe for ConnectionConfiguration
impl Send for ConnectionConfiguration
impl Sync for ConnectionConfiguration
impl Unpin for ConnectionConfiguration
impl UnwindSafe for ConnectionConfiguration
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