pub struct PublicBot {
pub id: String,
pub username: String,
pub avatar: Option<Attachment>,
pub description: Option<String>,
}Expand description
Public bot
Fields§
§id: StringBot Id
username: StringBot Username
avatar: Option<Attachment>Profile Avatar
description: Option<String>Profile Description
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PublicBot
impl<'de> Deserialize<'de> for PublicBot
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 PublicBot
impl RefUnwindSafe for PublicBot
impl Send for PublicBot
impl Sync for PublicBot
impl Unpin for PublicBot
impl UnwindSafe for PublicBot
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