pub struct ApiSetProfileAddress {
pub user_id: i64,
pub enable: bool,
}Expand description
§Address commands
Bots can use these commands to automatically check and create address when initialized
Add address to bot profile.
Network usage: interactive.
Syntax:
/_profile_address <userId> on|offFields§
§user_id: i64§enable: boolTrait Implementations§
Source§impl Clone for ApiSetProfileAddress
impl Clone for ApiSetProfileAddress
Source§fn clone(&self) -> ApiSetProfileAddress
fn clone(&self) -> ApiSetProfileAddress
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 ApiSetProfileAddress
impl CommandSyntax for ApiSetProfileAddress
Source§impl Debug for ApiSetProfileAddress
impl Debug for ApiSetProfileAddress
Source§impl PartialEq for ApiSetProfileAddress
impl PartialEq for ApiSetProfileAddress
impl StructuralPartialEq for ApiSetProfileAddress
Auto Trait Implementations§
impl Freeze for ApiSetProfileAddress
impl RefUnwindSafe for ApiSetProfileAddress
impl Send for ApiSetProfileAddress
impl Sync for ApiSetProfileAddress
impl Unpin for ApiSetProfileAddress
impl UnwindSafe for ApiSetProfileAddress
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