pub struct ApiAllowRelayGroup {
pub group_id: i64,
}Expand description
§Group commands
Commands to manage and moderate groups. These commands can be used with business chats as well - they are groups. E.g., a common scenario would be to add human agents to business chat with the customer who connected via business address.
Clear relay rejection for a channel (relay operator).
Network usage: background.
Syntax:
/_relay allow #<groupId>Fields§
§group_id: i64Trait Implementations§
Source§impl Clone for ApiAllowRelayGroup
impl Clone for ApiAllowRelayGroup
Source§fn clone(&self) -> ApiAllowRelayGroup
fn clone(&self) -> ApiAllowRelayGroup
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 ApiAllowRelayGroup
impl CommandSyntax for ApiAllowRelayGroup
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 ApiAllowRelayGroup
impl Debug for ApiAllowRelayGroup
Source§impl PartialEq for ApiAllowRelayGroup
impl PartialEq for ApiAllowRelayGroup
Source§fn eq(&self, other: &ApiAllowRelayGroup) -> bool
fn eq(&self, other: &ApiAllowRelayGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApiAllowRelayGroup
Auto Trait Implementations§
impl Freeze for ApiAllowRelayGroup
impl RefUnwindSafe for ApiAllowRelayGroup
impl Send for ApiAllowRelayGroup
impl Sync for ApiAllowRelayGroup
impl Unpin for ApiAllowRelayGroup
impl UnsafeUnpin for ApiAllowRelayGroup
impl UnwindSafe for ApiAllowRelayGroup
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