pub struct BotUser {
pub id: String,
pub uri: String,
pub name: String,
pub active: bool,
pub created_at: String,
}
Fields§
§id: String
unique API key resource identifier
uri: String
URI to the API resource of this bot user
name: String
human-readable name used to identify the bot
active: bool
whether or not the bot is active
created_at: String
timestamp when the api key was created, RFC 3339 format
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BotUser
impl<'de> Deserialize<'de> for BotUser
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 BotUser
impl RefUnwindSafe for BotUser
impl Send for BotUser
impl Sync for BotUser
impl Unpin for BotUser
impl UnwindSafe for BotUser
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