Struct ruma_client::api::r0::room::create_room::CreationContent
source · Expand description
Extra options to be added to the m.room.create
event.
Fields
federate: Option<bool>
Whether users on other servers can join this room.
Defaults to true
if key does not exist.
Trait Implementations
sourceimpl Clone for CreationContent
impl Clone for CreationContent
sourcefn clone(&self) -> CreationContent
fn clone(&self) -> CreationContent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CreationContent
impl Debug for CreationContent
sourceimpl<'de> Deserialize<'de> for CreationContent
impl<'de> Deserialize<'de> for CreationContent
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<CreationContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CreationContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for CreationContent
impl Serialize for CreationContent
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreationContent
impl Send for CreationContent
impl Sync for CreationContent
impl Unpin for CreationContent
impl UnwindSafe for CreationContent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more