pub struct ChatMemberStatusBanned {
pub banned_until_date: i32,
}Expand description
The user or the chat was banned (and hence is not a member of the chat). Implies the user can’t return to the chat, view messages, or be used as a participant identifier to join a video chat of the chat
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. Always 0 in basic groups
Trait Implementations§
Source§impl Clone for ChatMemberStatusBanned
impl Clone for ChatMemberStatusBanned
Source§fn clone(&self) -> ChatMemberStatusBanned
fn clone(&self) -> ChatMemberStatusBanned
Returns a copy 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 Default for ChatMemberStatusBanned
impl Default for ChatMemberStatusBanned
Source§fn default() -> ChatMemberStatusBanned
fn default() -> ChatMemberStatusBanned
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for ChatMemberStatusBanned
impl PartialEq for ChatMemberStatusBanned
Source§impl Serialize for ChatMemberStatusBanned
impl Serialize for ChatMemberStatusBanned
impl StructuralPartialEq for ChatMemberStatusBanned
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