pub struct ApiListGroups {
pub user_id: i64,
pub contact_id: Option<i64>,
pub search: Option<String>,
}Expand description
§Chat commands
Commands to list and delete conversations.
Get groups.
Network usage: no.
Syntax:
/_groups <userId>[ @<contactId_>][ <search>]Fields§
§user_id: i64§contact_id: Option<i64>§search: Option<String>Implementations§
Source§impl ApiListGroups
impl ApiListGroups
Sourcepub fn builder() -> ApiListGroupsBuilder
pub fn builder() -> ApiListGroupsBuilder
Create an instance of ApiListGroups using the builder syntax
Source§impl ApiListGroups
impl ApiListGroups
Sourcepub fn new(user_id: i64) -> ApiListGroups
pub fn new(user_id: i64) -> ApiListGroups
Creates a command with all Option parameters set to None and all bool parameters set to false
Trait Implementations§
Source§impl Clone for ApiListGroups
impl Clone for ApiListGroups
Source§fn clone(&self) -> ApiListGroups
fn clone(&self) -> ApiListGroups
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 ApiListGroups
impl CommandSyntax for ApiListGroups
const COMMAND_BUF_SIZE: usize = 256
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 ApiListGroups
impl Debug for ApiListGroups
Source§impl PartialEq for ApiListGroups
impl PartialEq for ApiListGroups
Source§fn eq(&self, other: &ApiListGroups) -> bool
fn eq(&self, other: &ApiListGroups) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApiListGroups
Auto Trait Implementations§
impl Freeze for ApiListGroups
impl RefUnwindSafe for ApiListGroups
impl Send for ApiListGroups
impl Sync for ApiListGroups
impl Unpin for ApiListGroups
impl UnsafeUnpin for ApiListGroups
impl UnwindSafe for ApiListGroups
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more