pub struct BotSummary {
pub lark_app_id: String,
pub name: Option<String>,
pub cli_id: String,
pub model: Option<String>,
pub allowed_users: Vec<String>,
pub allowed_chat_groups: Vec<String>,
pub oncall_chats: Vec<String>,
pub private_card: bool,
pub active_sessions: usize,
}Fields§
§lark_app_id: String§name: Option<String>§cli_id: String§model: Option<String>§allowed_users: Vec<String>§allowed_chat_groups: Vec<String>§oncall_chats: Vec<String>§private_card: bool§active_sessions: usizeTrait Implementations§
Source§impl Clone for BotSummary
impl Clone for BotSummary
Source§fn clone(&self) -> BotSummary
fn clone(&self) -> BotSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BotSummary
impl Debug for BotSummary
Source§impl<'de> Deserialize<'de> for BotSummary
impl<'de> Deserialize<'de> for BotSummary
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 Eq for BotSummary
Source§impl PartialEq for BotSummary
impl PartialEq for BotSummary
Source§fn eq(&self, other: &BotSummary) -> bool
fn eq(&self, other: &BotSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BotSummary
impl Serialize for BotSummary
impl StructuralPartialEq for BotSummary
Auto Trait Implementations§
impl Freeze for BotSummary
impl RefUnwindSafe for BotSummary
impl Send for BotSummary
impl Sync for BotSummary
impl Unpin for BotSummary
impl UnsafeUnpin for BotSummary
impl UnwindSafe for BotSummary
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