pub struct Bot {
pub id: Uuid,
pub bot_user_id: Uuid,
pub description: String,
pub developer_id: Uuid,
pub subscribe_events: Vec<String>,
pub mode: BotMode,
pub state: BotState,
pub created_at: String,
pub updated_at: String,
}Expand description
Bot : BOT情報
Fields§
§id: UuidBOT UUID
bot_user_id: UuidBOTユーザーUUID
description: String説明
developer_id: UuidBOT開発者UUID
subscribe_events: Vec<String>BOTが購読しているイベントの配列
mode: BotMode§state: BotState§created_at: String作成日時
updated_at: String更新日時
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