pub struct CreateActiveUser {
pub new_user: NewUser,
}Expand description
§User profile commands
Most bots don’t need to use these commands, as bot profile can be configured manually via CLI or desktop client. These commands can be used by bots that need to manage multiple user profiles (e.g., the profiles of support agents).
Create new user profile.
Network usage: no.
Syntax:
/_create user <json(newUser)>Fields§
§new_user: NewUserImplementations§
Source§impl CreateActiveUser
impl CreateActiveUser
Sourcepub fn builder() -> CreateActiveUserBuilder
pub fn builder() -> CreateActiveUserBuilder
Create an instance of CreateActiveUser using the builder syntax
Trait Implementations§
Source§impl Clone for CreateActiveUser
impl Clone for CreateActiveUser
Source§fn clone(&self) -> CreateActiveUser
fn clone(&self) -> CreateActiveUser
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 CreateActiveUser
impl CommandSyntax for CreateActiveUser
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 CreateActiveUser
impl Debug for CreateActiveUser
Source§impl PartialEq for CreateActiveUser
impl PartialEq for CreateActiveUser
Source§fn eq(&self, other: &CreateActiveUser) -> bool
fn eq(&self, other: &CreateActiveUser) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateActiveUser
Auto Trait Implementations§
impl Freeze for CreateActiveUser
impl RefUnwindSafe for CreateActiveUser
impl Send for CreateActiveUser
impl Sync for CreateActiveUser
impl Unpin for CreateActiveUser
impl UnsafeUnpin for CreateActiveUser
impl UnwindSafe for CreateActiveUser
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