pub struct BotUserUpdate {
pub id: String,
pub name: Option<String>,
pub active: Option<bool>,
}
Fields§
§id: String
§name: Option<String>
human-readable name used to identify the bot
active: Option<bool>
whether or not the bot is active
Trait Implementations§
Source§impl Clone for BotUserUpdate
impl Clone for BotUserUpdate
Source§fn clone(&self) -> BotUserUpdate
fn clone(&self) -> BotUserUpdate
Returns a copy 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 BotUserUpdate
impl Debug for BotUserUpdate
Source§impl Default for BotUserUpdate
impl Default for BotUserUpdate
Source§fn default() -> BotUserUpdate
fn default() -> BotUserUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BotUserUpdate
impl<'de> Deserialize<'de> for BotUserUpdate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BotUserUpdate
impl RefUnwindSafe for BotUserUpdate
impl Send for BotUserUpdate
impl Sync for BotUserUpdate
impl Unpin for BotUserUpdate
impl UnwindSafe for BotUserUpdate
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