#[non_exhaustive]pub enum ConnectionEntity {
RcvDirectMsgConnection {
entity_connection: Connection,
contact: Option<Contact>,
undocumented: BTreeMap<String, JsonObject>,
},
RcvGroupMsgConnection {
entity_connection: Connection,
group_info: GroupInfo,
group_member: GroupMember,
undocumented: BTreeMap<String, JsonObject>,
},
SndFileConnection {
entity_connection: Connection,
snd_file_transfer: SndFileTransfer,
undocumented: BTreeMap<String, JsonObject>,
},
RcvFileConnection {
entity_connection: Connection,
rcv_file_transfer: RcvFileTransfer,
undocumented: BTreeMap<String, JsonObject>,
},
UserContactConnection {
entity_connection: Connection,
user_contact: UserContact,
undocumented: BTreeMap<String, JsonObject>,
},
Undocumented(BTreeMap<String, JsonObject>),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RcvDirectMsgConnection
RcvGroupMsgConnection
Fields
§
entity_connection: Connection§
group_member: GroupMember§
undocumented: BTreeMap<String, JsonObject>SndFileConnection
Fields
§
entity_connection: Connection§
snd_file_transfer: SndFileTransfer§
undocumented: BTreeMap<String, JsonObject>RcvFileConnection
Fields
§
entity_connection: Connection§
rcv_file_transfer: RcvFileTransfer§
undocumented: BTreeMap<String, JsonObject>UserContactConnection
Fields
§
entity_connection: Connection§
user_contact: UserContact§
undocumented: BTreeMap<String, JsonObject>Undocumented(BTreeMap<String, JsonObject>)
Trait Implementations§
Source§impl Clone for ConnectionEntity
impl Clone for ConnectionEntity
Source§fn clone(&self) -> ConnectionEntity
fn clone(&self) -> ConnectionEntity
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 ConnectionEntity
impl Debug for ConnectionEntity
Source§impl<'de> Deserialize<'de> for ConnectionEntity
impl<'de> Deserialize<'de> for ConnectionEntity
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 ConnectionEntity
impl PartialEq for ConnectionEntity
Source§impl Serialize for ConnectionEntity
impl Serialize for ConnectionEntity
impl StructuralPartialEq for ConnectionEntity
Auto Trait Implementations§
impl Freeze for ConnectionEntity
impl RefUnwindSafe for ConnectionEntity
impl Send for ConnectionEntity
impl Sync for ConnectionEntity
impl Unpin for ConnectionEntity
impl UnwindSafe for ConnectionEntity
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