pub struct ChatMemberStatusBanned {
pub banned_until_date: i32,
}Expand description
The user was banned (and hence is not a member of the chat). Implies the user can’t return to the chat or view messages
Fields§
§banned_until_date: i32Point in time (Unix timestamp) when the user will be unbanned; 0 if never. If the user is banned for more than 366 days or for less than 30 seconds from the current time, the user is considered to be banned forever
Trait Implementations§
Source§impl Clone for ChatMemberStatusBanned
impl Clone for ChatMemberStatusBanned
Source§fn clone(&self) -> ChatMemberStatusBanned
fn clone(&self) -> ChatMemberStatusBanned
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 ChatMemberStatusBanned
impl Debug for ChatMemberStatusBanned
Source§impl<'de> Deserialize<'de> for ChatMemberStatusBanned
impl<'de> Deserialize<'de> for ChatMemberStatusBanned
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 ChatMemberStatusBanned
impl RefUnwindSafe for ChatMemberStatusBanned
impl Send for ChatMemberStatusBanned
impl Sync for ChatMemberStatusBanned
impl Unpin for ChatMemberStatusBanned
impl UnwindSafe for ChatMemberStatusBanned
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