Struct socketioxide::adapter::BroadcastOptions
source · pub struct BroadcastOptions {
pub flags: HashSet<BroadcastFlags>,
pub rooms: HashSet<Room>,
pub except: HashSet<Room>,
pub sid: Option<Sid>,
}Expand description
Options that can be used to modify the behavior of the broadcast methods.
Fields§
§flags: HashSet<BroadcastFlags>The flags to apply to the broadcast.
rooms: HashSet<Room>The rooms to broadcast to.
except: HashSet<Room>The rooms to exclude from the broadcast.
sid: Option<Sid>The socket id of the sender.
Trait Implementations§
source§impl Clone for BroadcastOptions
impl Clone for BroadcastOptions
source§fn clone(&self) -> BroadcastOptions
fn clone(&self) -> BroadcastOptions
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for BroadcastOptions
impl Send for BroadcastOptions
impl Sync for BroadcastOptions
impl Unpin for BroadcastOptions
impl UnwindSafe for BroadcastOptions
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