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: StrippedStateTestEvent) -> Self
pub fn add_state_event(self, event: StrippedStateTestEvent) -> 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
Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>