pub struct OnConnectParams {
pub id: String,
pub client: Client,
}
Fields§
§id: String
§client: Client
Trait Implementations§
Source§impl Clone for OnConnectParams
impl Clone for OnConnectParams
Source§fn clone(&self) -> OnConnectParams
fn clone(&self) -> OnConnectParams
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 OnConnectParams
impl Debug for OnConnectParams
Source§impl<'de> Deserialize<'de> for OnConnectParams
impl<'de> Deserialize<'de> for OnConnectParams
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
Source§impl PartialEq for OnConnectParams
impl PartialEq for OnConnectParams
Source§impl Serialize for OnConnectParams
impl Serialize for OnConnectParams
impl StructuralPartialEq for OnConnectParams
Auto Trait Implementations§
impl Freeze for OnConnectParams
impl RefUnwindSafe for OnConnectParams
impl Send for OnConnectParams
impl Sync for OnConnectParams
impl Unpin for OnConnectParams
impl UnwindSafe for OnConnectParams
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