pub struct ContactConnecting {
pub user: User,
pub contact: Contact,
pub undocumented: BTreeMap<String, Value>,
}Expand description
§Connection progress events
Bots may use these events to track progress of connections for monitoring or debugging.
Contact confirmed connection.
Sent when contact started connecting via bot’s 1-time invitation link or when bot connects to another SimpleX address.
Fields§
§user: User§contact: Contact§undocumented: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for ContactConnecting
impl Clone for ContactConnecting
Source§fn clone(&self) -> ContactConnecting
fn clone(&self) -> ContactConnecting
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 ContactConnecting
impl Debug for ContactConnecting
Source§impl<'de> Deserialize<'de> for ContactConnecting
impl<'de> Deserialize<'de> for ContactConnecting
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContactConnecting, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContactConnecting, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContactConnecting
impl PartialEq for ContactConnecting
Source§impl Serialize for ContactConnecting
impl Serialize for ContactConnecting
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ContactConnecting
Auto Trait Implementations§
impl Freeze for ContactConnecting
impl RefUnwindSafe for ContactConnecting
impl Send for ContactConnecting
impl Sync for ContactConnecting
impl Unpin for ContactConnecting
impl UnwindSafe for ContactConnecting
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