pub struct ChatOwnerLeft {
pub new_owner: Option<User>,
}Expand description
Service message: the chat owner left the chat (Bot API 9.4).
Fields§
§new_owner: Option<User>The user who will become the new owner if the previous owner does not return.
Trait Implementations§
Source§impl Clone for ChatOwnerLeft
impl Clone for ChatOwnerLeft
Source§fn clone(&self) -> ChatOwnerLeft
fn clone(&self) -> ChatOwnerLeft
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 ChatOwnerLeft
impl Debug for ChatOwnerLeft
Source§impl<'de> Deserialize<'de> for ChatOwnerLeft
impl<'de> Deserialize<'de> for ChatOwnerLeft
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
Auto Trait Implementations§
impl Freeze for ChatOwnerLeft
impl RefUnwindSafe for ChatOwnerLeft
impl Send for ChatOwnerLeft
impl Sync for ChatOwnerLeft
impl Unpin for ChatOwnerLeft
impl UnsafeUnpin for ChatOwnerLeft
impl UnwindSafe for ChatOwnerLeft
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