pub struct PromoteChatMemberParams {Show 17 fields
pub chat_id: ChatId,
pub user_id: i64,
pub is_anonymous: bool,
pub can_manage_chat: bool,
pub can_delete_messages: bool,
pub can_manage_video_chats: bool,
pub can_restrict_members: bool,
pub can_promote_members: bool,
pub can_change_info: bool,
pub can_invite_users: bool,
pub can_post_stories: bool,
pub can_edit_stories: bool,
pub can_delete_stories: bool,
pub can_post_messages: bool,
pub can_edit_messages: bool,
pub can_pin_messages: bool,
pub can_manage_topics: bool,
}Fields§
§chat_id: ChatId§user_id: i64§is_anonymous: bool§can_manage_chat: bool§can_delete_messages: bool§can_manage_video_chats: bool§can_restrict_members: bool§can_promote_members: bool§can_change_info: bool§can_invite_users: bool§can_post_stories: bool§can_edit_stories: bool§can_delete_stories: bool§can_post_messages: bool§can_edit_messages: bool§can_pin_messages: bool§can_manage_topics: boolTrait Implementations§
Source§impl Clone for PromoteChatMemberParams
impl Clone for PromoteChatMemberParams
Source§fn clone(&self) -> PromoteChatMemberParams
fn clone(&self) -> PromoteChatMemberParams
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 PromoteChatMemberParams
impl Debug for PromoteChatMemberParams
Auto Trait Implementations§
impl Freeze for PromoteChatMemberParams
impl RefUnwindSafe for PromoteChatMemberParams
impl Send for PromoteChatMemberParams
impl Sync for PromoteChatMemberParams
impl Unpin for PromoteChatMemberParams
impl UnsafeUnpin for PromoteChatMemberParams
impl UnwindSafe for PromoteChatMemberParams
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