pub struct ApiGroupLinkMemberRole {
pub group_id: i64,
pub member_role: GroupMemberRole,
}Expand description
§Group link commands
These commands can be used by bots that manage multiple public groups
Set member role for group link.
Network usage: no.
Syntax:
/_set link role #<groupId> observer|author|member|moderator|admin|ownerFields§
§group_id: i64§member_role: GroupMemberRoleTrait Implementations§
Source§impl Clone for ApiGroupLinkMemberRole
impl Clone for ApiGroupLinkMemberRole
Source§fn clone(&self) -> ApiGroupLinkMemberRole
fn clone(&self) -> ApiGroupLinkMemberRole
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 ApiGroupLinkMemberRole
impl Debug for ApiGroupLinkMemberRole
Source§impl PartialEq for ApiGroupLinkMemberRole
impl PartialEq for ApiGroupLinkMemberRole
impl StructuralPartialEq for ApiGroupLinkMemberRole
Auto Trait Implementations§
impl Freeze for ApiGroupLinkMemberRole
impl RefUnwindSafe for ApiGroupLinkMemberRole
impl Send for ApiGroupLinkMemberRole
impl Sync for ApiGroupLinkMemberRole
impl Unpin for ApiGroupLinkMemberRole
impl UnwindSafe for ApiGroupLinkMemberRole
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