pub struct RoomConfig {
pub room_id: String,
pub topic: String,
pub domain_id: u32,
pub history_depth: usize,
}Expand description
Per-room DDS configuration.
Fields§
§room_id: String§topic: String§domain_id: u32§history_depth: usizeTrait Implementations§
Source§impl Clone for RoomConfig
impl Clone for RoomConfig
Source§fn clone(&self) -> RoomConfig
fn clone(&self) -> RoomConfig
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 RoomConfig
impl Debug for RoomConfig
Source§impl<'de> Deserialize<'de> for RoomConfig
impl<'de> Deserialize<'de> for RoomConfig
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
impl Eq for RoomConfig
Source§impl PartialEq for RoomConfig
impl PartialEq for RoomConfig
Source§fn eq(&self, other: &RoomConfig) -> bool
fn eq(&self, other: &RoomConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RoomConfig
impl Serialize for RoomConfig
impl StructuralPartialEq for RoomConfig
Auto Trait Implementations§
impl Freeze for RoomConfig
impl RefUnwindSafe for RoomConfig
impl Send for RoomConfig
impl Sync for RoomConfig
impl Unpin for RoomConfig
impl UnsafeUnpin for RoomConfig
impl UnwindSafe for RoomConfig
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