pub struct Connected {
pub status: Option<Status>,
pub chat_id: Option<String>,
pub chat_title: Option<String>,
pub chat_type: Option<ChatType>,
pub account: Option<Box<ConnectedAccount>>,
}Fields§
§status: Option<Status>§chat_id: Option<String>§chat_title: Option<String>§chat_type: Option<ChatType>§account: Option<Box<ConnectedAccount>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Connected
impl<'de> Deserialize<'de> for Connected
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 Connected
Auto Trait Implementations§
impl Freeze for Connected
impl RefUnwindSafe for Connected
impl Send for Connected
impl Sync for Connected
impl Unpin for Connected
impl UnsafeUnpin for Connected
impl UnwindSafe for Connected
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