pub struct StartChat {
pub main_app: bool,
pub enable_snd_files: bool,
}Expand description
§Chat management
These commands should not be used with CLI-based bots
Start chat controller.
Network usage: no.
Syntax:
/_startFields§
§main_app: bool§enable_snd_files: boolImplementations§
Trait Implementations§
Source§impl CommandSyntax for StartChat
impl CommandSyntax for StartChat
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
impl StructuralPartialEq for StartChat
Auto Trait Implementations§
impl Freeze for StartChat
impl RefUnwindSafe for StartChat
impl Send for StartChat
impl Sync for StartChat
impl Unpin for StartChat
impl UnsafeUnpin for StartChat
impl UnwindSafe for StartChat
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