pub struct ApiConnectPlan {
pub user_id: i64,
pub connection_link: Option<String>,
}Expand description
§Connection commands
These commands may be used to create connections. Most bots do not need to use them - bot users will connect via bot address with auto-accept enabled.
Determine SimpleX link type and if the bot is already connected via this link.
Network usage: interactive.
Syntax:
/_connect plan <userId> <connectionLink>Fields§
§user_id: i64§connection_link: Option<String>Trait Implementations§
Source§impl Clone for ApiConnectPlan
impl Clone for ApiConnectPlan
Source§fn clone(&self) -> ApiConnectPlan
fn clone(&self) -> ApiConnectPlan
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 ApiConnectPlan
impl CommandSyntax for ApiConnectPlan
Source§impl Debug for ApiConnectPlan
impl Debug for ApiConnectPlan
Source§impl PartialEq for ApiConnectPlan
impl PartialEq for ApiConnectPlan
impl StructuralPartialEq for ApiConnectPlan
Auto Trait Implementations§
impl Freeze for ApiConnectPlan
impl RefUnwindSafe for ApiConnectPlan
impl Send for ApiConnectPlan
impl Sync for ApiConnectPlan
impl Unpin for ApiConnectPlan
impl UnwindSafe for ApiConnectPlan
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