pub struct BotAccountOptions {
pub token: String,
pub account_id: Option<String>,
pub base_url: Option<String>,
pub cdn_base_url: Option<String>,
}Fields§
§token: String§account_id: Option<String>§base_url: Option<String>§cdn_base_url: Option<String>Trait Implementations§
Source§impl Clone for BotAccountOptions
impl Clone for BotAccountOptions
Source§fn clone(&self) -> BotAccountOptions
fn clone(&self) -> BotAccountOptions
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 moreAuto Trait Implementations§
impl Freeze for BotAccountOptions
impl RefUnwindSafe for BotAccountOptions
impl Send for BotAccountOptions
impl Sync for BotAccountOptions
impl Unpin for BotAccountOptions
impl UnsafeUnpin for BotAccountOptions
impl UnwindSafe for BotAccountOptions
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