pub struct BroadcastConfig {
pub broadcast_self: bool,
pub ack: bool,
}Expand description
Channel broadcast options
Fields§
§broadcast_self: bool§ack: boolTrait Implementations§
Source§impl Clone for BroadcastConfig
impl Clone for BroadcastConfig
Source§fn clone(&self) -> BroadcastConfig
fn clone(&self) -> BroadcastConfig
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 BroadcastConfig
impl Debug for BroadcastConfig
Source§impl Default for BroadcastConfig
impl Default for BroadcastConfig
Source§fn default() -> BroadcastConfig
fn default() -> BroadcastConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BroadcastConfig
impl<'de> Deserialize<'de> for BroadcastConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BroadcastConfig
impl RefUnwindSafe for BroadcastConfig
impl Send for BroadcastConfig
impl Sync for BroadcastConfig
impl Unpin for BroadcastConfig
impl UnwindSafe for BroadcastConfig
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