pub struct ApiSetAddressSettings {
pub user_id: i64,
pub settings: AddressSettings,
}Expand description
§Address commands
Bots can use these commands to automatically check and create address when initialized
Set bot address settings.
Network usage: interactive.
Syntax:
/_address_settings <userId> <json(settings)>Fields§
§user_id: i64§settings: AddressSettingsTrait Implementations§
Source§impl Clone for ApiSetAddressSettings
impl Clone for ApiSetAddressSettings
Source§fn clone(&self) -> ApiSetAddressSettings
fn clone(&self) -> ApiSetAddressSettings
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 Debug for ApiSetAddressSettings
impl Debug for ApiSetAddressSettings
Source§impl PartialEq for ApiSetAddressSettings
impl PartialEq for ApiSetAddressSettings
impl StructuralPartialEq for ApiSetAddressSettings
Auto Trait Implementations§
impl Freeze for ApiSetAddressSettings
impl RefUnwindSafe for ApiSetAddressSettings
impl Send for ApiSetAddressSettings
impl Sync for ApiSetAddressSettings
impl Unpin for ApiSetAddressSettings
impl UnwindSafe for ApiSetAddressSettings
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