pub struct AcceptedParams {
pub port: i64,
pub connection_id: String,
}Expand description
Informs that port was successfully bound and got a specified connection id. accepted
Fields§
§port: i64Port number that was successfully bound.
connection_id: StringConnection id to be used.
Trait Implementations§
Source§impl Clone for AcceptedParams
impl Clone for AcceptedParams
Source§fn clone(&self) -> AcceptedParams
fn clone(&self) -> AcceptedParams
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 AcceptedParams
impl Debug for AcceptedParams
Source§impl<'de> Deserialize<'de> for AcceptedParams
impl<'de> Deserialize<'de> for AcceptedParams
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 AcceptedParams
impl PartialEq for AcceptedParams
Source§impl Serialize for AcceptedParams
impl Serialize for AcceptedParams
impl StructuralPartialEq for AcceptedParams
Auto Trait Implementations§
impl Freeze for AcceptedParams
impl RefUnwindSafe for AcceptedParams
impl Send for AcceptedParams
impl Sync for AcceptedParams
impl Unpin for AcceptedParams
impl UnsafeUnpin for AcceptedParams
impl UnwindSafe for AcceptedParams
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