pub struct RoomCreate<'a> {
pub creator_user_id: i64,
pub creator_mxid: &'a str,
pub creator_displayname: &'a str,
pub is_direct: bool,
pub invitees: &'a [RoomInvitee<'a>],
pub visibility_public: bool,
pub power_level_content_override: Option<Value>,
pub name: Option<&'a str>,
pub topic: Option<&'a str>,
pub room_type: Option<&'a str>,
}Expand description
Inputs for apply_create_room. Identity, entitlement, and the HTTP
body parse stay with the builder. Invitees are already integer user ids.
Fields§
§creator_user_id: i64§creator_mxid: &'a str§creator_displayname: &'a str§is_direct: bool§invitees: &'a [RoomInvitee<'a>]§visibility_public: bool§power_level_content_override: Option<Value>§name: Option<&'a str>§topic: Option<&'a str>§room_type: Option<&'a str>creation_content.type; only m.space is accepted (a domain).
Auto Trait Implementations§
impl<'a> Freeze for RoomCreate<'a>
impl<'a> RefUnwindSafe for RoomCreate<'a>
impl<'a> Send for RoomCreate<'a>
impl<'a> Sync for RoomCreate<'a>
impl<'a> Unpin for RoomCreate<'a>
impl<'a> UnsafeUnpin for RoomCreate<'a>
impl<'a> UnwindSafe for RoomCreate<'a>
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