pub struct AcceptedEvent {
pub port: i64,
pub connection_id: String,
}Expand description
Informs that port was successfully bound and got a specified connection id.
Payload of the Tethering.accepted event.
Fields§
§port: i64Port number that was successfully bound.
connection_id: StringConnection id to be used.
Trait Implementations§
Source§impl Clone for AcceptedEvent
impl Clone for AcceptedEvent
Source§impl Debug for AcceptedEvent
impl Debug for AcceptedEvent
Source§impl Default for AcceptedEvent
impl Default for AcceptedEvent
Source§impl<'de> Deserialize<'de> for AcceptedEvent
impl<'de> Deserialize<'de> for AcceptedEvent
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 Event for AcceptedEvent
impl Event for AcceptedEvent
Source§impl PartialEq for AcceptedEvent
impl PartialEq for AcceptedEvent
Source§impl Serialize for AcceptedEvent
impl Serialize for AcceptedEvent
impl StructuralPartialEq for AcceptedEvent
Auto Trait Implementations§
impl Forget for AcceptedEvent
impl Freeze for AcceptedEvent
impl RefUnwindSafe for AcceptedEvent
impl Send for AcceptedEvent
impl Sync for AcceptedEvent
impl Unpin for AcceptedEvent
impl UnsafeUnpin for AcceptedEvent
impl UnwindSafe for AcceptedEvent
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