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