pub struct BotMetadata {
pub created_date: Option<f64>,
pub description: Option<String>,
pub last_updated_date: Option<f64>,
pub name: Option<String>,
pub status: Option<String>,
pub version: Option<String>,
}Expand description
Provides information about a bot. .
Fields§
§created_date: Option<f64>The date that the bot was created.
description: Option<String>A description of the bot.
last_updated_date: Option<f64>The date that the bot was updated. When you create a bot, the creation date and last updated date are the same.
name: Option<String>The name of the bot.
status: Option<String>The status of the bot.
version: Option<String>The version of the bot. For a new bot, the version is always $LATEST.
Trait Implementations§
Source§impl Clone for BotMetadata
impl Clone for BotMetadata
Source§fn clone(&self) -> BotMetadata
fn clone(&self) -> BotMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BotMetadata
impl Debug for BotMetadata
Source§impl Default for BotMetadata
impl Default for BotMetadata
Source§fn default() -> BotMetadata
fn default() -> BotMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BotMetadata
impl<'de> Deserialize<'de> for BotMetadata
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 BotMetadata
impl PartialEq for BotMetadata
impl StructuralPartialEq for BotMetadata
Auto Trait Implementations§
impl Freeze for BotMetadata
impl RefUnwindSafe for BotMetadata
impl Send for BotMetadata
impl Sync for BotMetadata
impl Unpin for BotMetadata
impl UnwindSafe for BotMetadata
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