pub struct BanChatMemberParams {
pub chat_id: ChatId,
pub user_id: i64,
pub until_date: Option<i64>,
pub revoke_messages: bool,
}Fields§
§chat_id: ChatId§user_id: i64§until_date: Option<i64>§revoke_messages: boolTrait Implementations§
Source§impl Clone for BanChatMemberParams
impl Clone for BanChatMemberParams
Source§fn clone(&self) -> BanChatMemberParams
fn clone(&self) -> BanChatMemberParams
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 BanChatMemberParams
impl Debug for BanChatMemberParams
Auto Trait Implementations§
impl Freeze for BanChatMemberParams
impl RefUnwindSafe for BanChatMemberParams
impl Send for BanChatMemberParams
impl Sync for BanChatMemberParams
impl Unpin for BanChatMemberParams
impl UnsafeUnpin for BanChatMemberParams
impl UnwindSafe for BanChatMemberParams
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