pub struct MessengerOptions {
pub name: Option<String>,
pub key: Option<PrivateKey>,
pub secret: Option<HashCode>,
pub queue: MessengerQueueOptions,
}Expand description
Параметры Messenger::connect.
Fields§
§name: Option<String>Имя, под которым участник виден в комнатах.
key: Option<PrivateKey>Ключ подписи сообщений; None — анонимный участник.
secret: Option<HashCode>Секрет для шифрования локально сохраняемых ключей.
queue: MessengerQueueOptionsОграничения очереди событий.
Trait Implementations§
Source§impl Clone for MessengerOptions
impl Clone for MessengerOptions
Source§fn clone(&self) -> MessengerOptions
fn clone(&self) -> MessengerOptions
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 MessengerOptions
impl Debug for MessengerOptions
Source§impl Default for MessengerOptions
impl Default for MessengerOptions
Source§fn default() -> MessengerOptions
fn default() -> MessengerOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessengerOptions
impl RefUnwindSafe for MessengerOptions
impl Send for MessengerOptions
impl Sync for MessengerOptions
impl Unpin for MessengerOptions
impl UnsafeUnpin for MessengerOptions
impl UnwindSafe for MessengerOptions
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