pub struct Bot {
pub user_id: Option<String>,
pub create_at: Option<i64>,
pub update_at: Option<i64>,
pub delete_at: Option<i64>,
pub username: Option<String>,
pub display_name: Option<String>,
pub description: Option<String>,
pub owner_id: Option<String>,
}
Expand description
Bot : A bot account
Fields§
§user_id: Option<String>
The user id of the associated user entry.
create_at: Option<i64>
The time in milliseconds a bot was created
update_at: Option<i64>
The time in milliseconds a bot was last updated
delete_at: Option<i64>
The time in milliseconds a bot was deleted
username: Option<String>
§display_name: Option<String>
§description: Option<String>
§owner_id: Option<String>
The user id of the user that currently owns this bot.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bot
impl<'de> Deserialize<'de> for Bot
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 Bot
Auto Trait Implementations§
impl Freeze for Bot
impl RefUnwindSafe for Bot
impl Send for Bot
impl Sync for Bot
impl Unpin for Bot
impl UnwindSafe for Bot
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