pub struct InvitedRoomBuilder { /* private fields */ }Implementations§
Source§impl InvitedRoomBuilder
impl InvitedRoomBuilder
Sourcepub fn new(room_id: &RoomId) -> Self
pub fn new(room_id: &RoomId) -> Self
Create a new InvitedRoomBuilder for the given room ID.
If the room ID is DEFAULT_TEST_ROOM_ID,
InvitedRoomBuilder::default() can be used instead.
Sourcepub fn room_id(&self) -> &RoomId
pub fn room_id(&self) -> &RoomId
Get the room ID of this InvitedRoomBuilder.
Sourcepub fn add_state_event(
self,
event: impl Into<Raw<AnyStrippedStateEvent>>,
) -> Self
pub fn add_state_event( self, event: impl Into<Raw<AnyStrippedStateEvent>>, ) -> Self
Add an event to the state.
Sourcepub fn add_state_bulk<I>(self, events: I) -> Self
pub fn add_state_bulk<I>(self, events: I) -> Self
Add events to the state in bulk.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InvitedRoomBuilder
impl RefUnwindSafe for InvitedRoomBuilder
impl Send for InvitedRoomBuilder
impl Sync for InvitedRoomBuilder
impl Unpin for InvitedRoomBuilder
impl UnwindSafe for InvitedRoomBuilder
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more