pub struct ApiSetGroupCustomData {
pub group_id: i64,
pub custom_data: Option<Value>,
}Expand description
§Chat commands
Commands to list and delete conversations.
Set group custom data.
Network usage: no.
Syntax:
/_set custom #<groupId>[ <json(customData)>]Fields§
§group_id: i64§custom_data: Option<Value>Implementations§
Source§impl ApiSetGroupCustomData
impl ApiSetGroupCustomData
Sourcepub fn new(group_id: i64) -> ApiSetGroupCustomData
pub fn new(group_id: i64) -> ApiSetGroupCustomData
Creates a command with all Option parameters set to None and all bool parameters set to false
Trait Implementations§
Source§impl Clone for ApiSetGroupCustomData
impl Clone for ApiSetGroupCustomData
Source§fn clone(&self) -> ApiSetGroupCustomData
fn clone(&self) -> ApiSetGroupCustomData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ApiSetGroupCustomData
impl CommandSyntax for ApiSetGroupCustomData
const COMMAND_BUF_SIZE: usize = 1024
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 ApiSetGroupCustomData
impl Debug for ApiSetGroupCustomData
Source§impl PartialEq for ApiSetGroupCustomData
impl PartialEq for ApiSetGroupCustomData
Source§fn eq(&self, other: &ApiSetGroupCustomData) -> bool
fn eq(&self, other: &ApiSetGroupCustomData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApiSetGroupCustomData
Auto Trait Implementations§
impl Freeze for ApiSetGroupCustomData
impl RefUnwindSafe for ApiSetGroupCustomData
impl Send for ApiSetGroupCustomData
impl Sync for ApiSetGroupCustomData
impl Unpin for ApiSetGroupCustomData
impl UnsafeUnpin for ApiSetGroupCustomData
impl UnwindSafe for ApiSetGroupCustomData
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