Struct RoomCreationOptions
pub struct RoomCreationOptions {
pub name: Option<String>,
pub topic: Option<String>,
pub invites: Vec<String>,
pub visibility: Option<RoomVisibility>,
pub encryption: Option<bool>,
}Expand description
Room creation options shared by channel implementations that support creating group conversations.
Fields§
§name: Option<String>§topic: Option<String>§invites: Vec<String>§visibility: Option<RoomVisibility>§encryption: Option<bool>Trait Implementations§
Source§impl Clone for RoomCreationOptions
impl Clone for RoomCreationOptions
Source§fn clone(&self) -> RoomCreationOptions
fn clone(&self) -> RoomCreationOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoomCreationOptions
impl Debug for RoomCreationOptions
Source§impl Default for RoomCreationOptions
impl Default for RoomCreationOptions
Source§fn default() -> RoomCreationOptions
fn default() -> RoomCreationOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RoomCreationOptions
impl<'de> Deserialize<'de> for RoomCreationOptions
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
Source§impl PartialEq for RoomCreationOptions
impl PartialEq for RoomCreationOptions
Source§fn eq(&self, other: &RoomCreationOptions) -> bool
fn eq(&self, other: &RoomCreationOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RoomCreationOptions
impl Serialize for RoomCreationOptions
impl Eq for RoomCreationOptions
impl StructuralPartialEq for RoomCreationOptions
Auto Trait Implementations§
impl Freeze for RoomCreationOptions
impl RefUnwindSafe for RoomCreationOptions
impl Send for RoomCreationOptions
impl Sync for RoomCreationOptions
impl Unpin for RoomCreationOptions
impl UnsafeUnpin for RoomCreationOptions
impl UnwindSafe for RoomCreationOptions
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