pub struct WebsocketMessageSendOptions {
pub with_api_key: bool,
pub is_signed: bool,
pub is_session_logon: Option<bool>,
pub is_session_logout: Option<bool>,
}Fields§
§with_api_key: bool§is_signed: bool§is_session_logon: Option<bool>§is_session_logout: Option<bool>Implementations§
Source§impl WebsocketMessageSendOptions
impl WebsocketMessageSendOptions
pub fn new() -> Self
pub fn with_api_key(self) -> Self
pub fn signed(self) -> Self
pub fn session_logon(self) -> Self
pub fn session_logout(self) -> Self
Trait Implementations§
Source§impl Clone for WebsocketMessageSendOptions
impl Clone for WebsocketMessageSendOptions
Source§fn clone(&self) -> WebsocketMessageSendOptions
fn clone(&self) -> WebsocketMessageSendOptions
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 WebsocketMessageSendOptions
impl Debug for WebsocketMessageSendOptions
Source§impl Default for WebsocketMessageSendOptions
impl Default for WebsocketMessageSendOptions
Source§fn default() -> WebsocketMessageSendOptions
fn default() -> WebsocketMessageSendOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WebsocketMessageSendOptions
impl RefUnwindSafe for WebsocketMessageSendOptions
impl Send for WebsocketMessageSendOptions
impl Sync for WebsocketMessageSendOptions
impl Unpin for WebsocketMessageSendOptions
impl UnwindSafe for WebsocketMessageSendOptions
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