pub struct BotManagementBotResponse {
pub action: Box<BotManagementBotAction>,
pub bot_id: String,
pub name: String,
}Fields§
§action: Box<BotManagementBotAction>§bot_id: StringThe unique identifier of the bot.
name: StringThe display name of the bot.
Implementations§
Source§impl BotManagementBotResponse
impl BotManagementBotResponse
pub fn new( action: BotManagementBotAction, bot_id: String, name: String, ) -> BotManagementBotResponse
Trait Implementations§
Source§impl Clone for BotManagementBotResponse
impl Clone for BotManagementBotResponse
Source§impl Debug for BotManagementBotResponse
impl Debug for BotManagementBotResponse
Source§impl Default for BotManagementBotResponse
impl Default for BotManagementBotResponse
Source§impl<'de> Deserialize<'de> for BotManagementBotResponse
impl<'de> Deserialize<'de> for BotManagementBotResponse
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
Source§impl PartialEq for BotManagementBotResponse
impl PartialEq for BotManagementBotResponse
Source§impl Serialize for BotManagementBotResponse
impl Serialize for BotManagementBotResponse
impl StructuralPartialEq for BotManagementBotResponse
Auto Trait Implementations§
impl Freeze for BotManagementBotResponse
impl RefUnwindSafe for BotManagementBotResponse
impl Send for BotManagementBotResponse
impl Sync for BotManagementBotResponse
impl Unpin for BotManagementBotResponse
impl UnsafeUnpin for BotManagementBotResponse
impl UnwindSafe for BotManagementBotResponse
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