pub struct ApiCreateGroupLink {
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
Create group link.
Network usage: interactive.
Syntax:
/_create link #<groupId> relay|observer|author|member|moderator|admin|ownerFields§
§group_id: i64§member_role: GroupMemberRoleImplementations§
Source§impl ApiCreateGroupLink
impl ApiCreateGroupLink
Sourcepub fn builder() -> ApiCreateGroupLinkBuilder
pub fn builder() -> ApiCreateGroupLinkBuilder
Create an instance of ApiCreateGroupLink using the builder syntax
Trait Implementations§
Source§impl Clone for ApiCreateGroupLink
impl Clone for ApiCreateGroupLink
Source§fn clone(&self) -> ApiCreateGroupLink
fn clone(&self) -> ApiCreateGroupLink
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 CommandSyntax for ApiCreateGroupLink
impl CommandSyntax for ApiCreateGroupLink
const COMMAND_BUF_SIZE: usize = 64
fn append_command_syntax(&self, buf: &mut String)
Source§fn to_command_string(&self) -> String
fn to_command_string(&self) -> String
Generate a SimpleX command string from self
Source§impl Debug for ApiCreateGroupLink
impl Debug for ApiCreateGroupLink
Source§impl PartialEq for ApiCreateGroupLink
impl PartialEq for ApiCreateGroupLink
Source§fn eq(&self, other: &ApiCreateGroupLink) -> bool
fn eq(&self, other: &ApiCreateGroupLink) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApiCreateGroupLink
Auto Trait Implementations§
impl Freeze for ApiCreateGroupLink
impl RefUnwindSafe for ApiCreateGroupLink
impl Send for ApiCreateGroupLink
impl Sync for ApiCreateGroupLink
impl Unpin for ApiCreateGroupLink
impl UnsafeUnpin for ApiCreateGroupLink
impl UnwindSafe for ApiCreateGroupLink
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more