#[non_exhaustive]pub enum CIContent {
Show 32 variants
SndMsgContent {
msg_content: MsgContent,
undocumented: BTreeMap<String, JsonObject>,
},
RcvMsgContent {
msg_content: MsgContent,
undocumented: BTreeMap<String, JsonObject>,
},
SndDeleted {
delete_mode: CIDeleteMode,
undocumented: BTreeMap<String, JsonObject>,
},
RcvDeleted {
delete_mode: CIDeleteMode,
undocumented: BTreeMap<String, JsonObject>,
},
SndCall {
status: CICallStatus,
duration: i32,
undocumented: BTreeMap<String, JsonObject>,
},
RcvCall {
status: CICallStatus,
duration: i32,
undocumented: BTreeMap<String, JsonObject>,
},
RcvIntegrityError {
msg_error: MsgErrorType,
undocumented: BTreeMap<String, JsonObject>,
},
RcvDecryptionError {
msg_decrypt_error: MsgDecryptError,
msg_count: u32,
undocumented: BTreeMap<String, JsonObject>,
},
RcvGroupInvitation {
group_invitation: CIGroupInvitation,
member_role: GroupMemberRole,
undocumented: BTreeMap<String, JsonObject>,
},
SndGroupInvitation {
group_invitation: CIGroupInvitation,
member_role: GroupMemberRole,
undocumented: BTreeMap<String, JsonObject>,
},
RcvDirectEvent {
rcv_direct_event: RcvDirectEvent,
undocumented: BTreeMap<String, JsonObject>,
},
RcvGroupEvent {
rcv_group_event: RcvGroupEvent,
undocumented: BTreeMap<String, JsonObject>,
},
SndGroupEvent {
snd_group_event: SndGroupEvent,
undocumented: BTreeMap<String, JsonObject>,
},
RcvConnEvent {
rcv_conn_event: RcvConnEvent,
undocumented: BTreeMap<String, JsonObject>,
},
SndConnEvent {
snd_conn_event: SndConnEvent,
undocumented: BTreeMap<String, JsonObject>,
},
RcvChatFeature {
feature: ChatFeature,
enabled: PrefEnabled,
param: Option<i32>,
undocumented: BTreeMap<String, JsonObject>,
},
SndChatFeature {
feature: ChatFeature,
enabled: PrefEnabled,
param: Option<i32>,
undocumented: BTreeMap<String, JsonObject>,
},
RcvChatPreference {
feature: ChatFeature,
allowed: FeatureAllowed,
param: Option<i32>,
undocumented: BTreeMap<String, JsonObject>,
},
SndChatPreference {
feature: ChatFeature,
allowed: FeatureAllowed,
param: Option<i32>,
undocumented: BTreeMap<String, JsonObject>,
},
RcvGroupFeature {
group_feature: GroupFeature,
preference: GroupPreference,
param: Option<i32>,
member_role: Option<GroupMemberRole>,
undocumented: BTreeMap<String, JsonObject>,
},
SndGroupFeature {
group_feature: GroupFeature,
preference: GroupPreference,
param: Option<i32>,
member_role: Option<GroupMemberRole>,
undocumented: BTreeMap<String, JsonObject>,
},
RcvChatFeatureRejected {
feature: ChatFeature,
undocumented: BTreeMap<String, JsonObject>,
},
RcvGroupFeatureRejected {
group_feature: GroupFeature,
undocumented: BTreeMap<String, JsonObject>,
},
SndModerated,
RcvModerated,
RcvBlocked,
SndDirectE2EeInfo {
e_2_ee_info: E2EInfo,
undocumented: BTreeMap<String, JsonObject>,
},
RcvDirectE2EeInfo {
e_2_ee_info: E2EInfo,
undocumented: BTreeMap<String, JsonObject>,
},
SndGroupE2EeInfo {
e_2_ee_info: E2EInfo,
undocumented: BTreeMap<String, JsonObject>,
},
RcvGroupE2EeInfo {
e_2_ee_info: E2EInfo,
undocumented: BTreeMap<String, JsonObject>,
},
ChatBanner,
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.
SndMsgContent
RcvMsgContent
SndDeleted
RcvDeleted
SndCall
RcvCall
RcvIntegrityError
RcvDecryptionError
RcvGroupInvitation
Fields
§
group_invitation: CIGroupInvitation§
member_role: GroupMemberRole§
undocumented: BTreeMap<String, JsonObject>SndGroupInvitation
Fields
§
group_invitation: CIGroupInvitation§
member_role: GroupMemberRole§
undocumented: BTreeMap<String, JsonObject>RcvDirectEvent
RcvGroupEvent
SndGroupEvent
RcvConnEvent
SndConnEvent
RcvChatFeature
SndChatFeature
RcvChatPreference
SndChatPreference
RcvGroupFeature
Fields
§
group_feature: GroupFeature§
preference: GroupPreference§
member_role: Option<GroupMemberRole>§
undocumented: BTreeMap<String, JsonObject>SndGroupFeature
Fields
§
group_feature: GroupFeature§
preference: GroupPreference§
member_role: Option<GroupMemberRole>§
undocumented: BTreeMap<String, JsonObject>RcvChatFeatureRejected
RcvGroupFeatureRejected
SndModerated
RcvModerated
RcvBlocked
SndDirectE2EeInfo
RcvDirectE2EeInfo
SndGroupE2EeInfo
RcvGroupE2EeInfo
ChatBanner
Undocumented(BTreeMap<String, JsonObject>)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CIContent
impl<'de> Deserialize<'de> for CIContent
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
impl StructuralPartialEq for CIContent
Auto Trait Implementations§
impl Freeze for CIContent
impl RefUnwindSafe for CIContent
impl Send for CIContent
impl Sync for CIContent
impl Unpin for CIContent
impl UnwindSafe for CIContent
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