pub struct ModuleBot {
pub user_id: String,
pub basic_id: String,
pub premium_id: Option<String>,
pub display_name: String,
pub picture_url: Option<String>,
}
Expand description
ModuleBot : basic information about the bot.
Fields§
§user_id: String
Bot’s user ID
basic_id: String
Bot’s basic ID
Bot’s premium ID. Not included in the response if the premium ID isn’t set.
display_name: String
Bot’s display name
picture_url: Option<String>
Profile image URL. Image URL starting with https://
. Not included in the response if the bot doesn’t have a profile image.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModuleBot
impl<'de> Deserialize<'de> for ModuleBot
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
impl StructuralPartialEq for ModuleBot
Auto Trait Implementations§
impl Freeze for ModuleBot
impl RefUnwindSafe for ModuleBot
impl Send for ModuleBot
impl Sync for ModuleBot
impl Unpin for ModuleBot
impl UnwindSafe for ModuleBot
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