#[non_exhaustive]pub enum GroupChatScope {
MemberSupport {
group_member_id: Option<i64>,
undocumented: JsonObject,
},
Undocumented(JsonObject),
}Expand description
Syntax:
(_support[:<groupMemberId_>])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.
Implementations§
Source§impl GroupChatScope
impl GroupChatScope
pub fn member_support(group_member_id: Option<i64>) -> Self
Trait Implementations§
Source§impl Clone for GroupChatScope
impl Clone for GroupChatScope
Source§fn clone(&self) -> GroupChatScope
fn clone(&self) -> GroupChatScope
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 CommandSyntax for GroupChatScope
impl CommandSyntax for GroupChatScope
const COMMAND_BUF_SIZE: usize = 64
fn append_command_syntax(&self, buf: &mut String)
Source§fn to_command_string(&self) -> String
fn to_command_string(&self) -> String
Generate a SimpleX command string from self
Source§impl Debug for GroupChatScope
impl Debug for GroupChatScope
Source§impl<'de> Deserialize<'de> for GroupChatScope
impl<'de> Deserialize<'de> for GroupChatScope
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 GroupChatScope
impl PartialEq for GroupChatScope
Source§impl Serialize for GroupChatScope
impl Serialize for GroupChatScope
impl StructuralPartialEq for GroupChatScope
Auto Trait Implementations§
impl Freeze for GroupChatScope
impl RefUnwindSafe for GroupChatScope
impl Send for GroupChatScope
impl Sync for GroupChatScope
impl Unpin for GroupChatScope
impl UnsafeUnpin for GroupChatScope
impl UnwindSafe for GroupChatScope
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