pub struct RoomCreateParams {
pub custom_room_id: Option<String>,
pub geo_fence: Option<Region>,
pub webhook: Option<RoomWebhookInput>,
pub auto_close_config: Option<AutoCloseConfigInput>,
pub auto_start_config: Option<AutoStartConfig>,
pub multi_composition: Option<MultiComposition>,
pub allowed_participant_ids: Option<Vec<String>>,
}Expand description
The parameters for RoomsResource::create.
Fields§
§custom_room_id: Option<String>A caller-supplied stable id. Creation is idempotent on this value.
geo_fence: Option<Region>Pins the room to a region. Falls back to the API key’s region.
webhook: Option<RoomWebhookInput>Subscribes the room to its session events.
auto_close_config: Option<AutoCloseConfigInput>The auto-close behavior when the session ends.
auto_start_config: Option<AutoStartConfig>Compositions to start automatically when a session begins.
multi_composition: Option<MultiComposition>Independently starts multiple compositions of the same type.
allowed_participant_ids: Option<Vec<String>>Restricts which participant ids may join.
Trait Implementations§
Source§impl Clone for RoomCreateParams
impl Clone for RoomCreateParams
Source§fn clone(&self) -> RoomCreateParams
fn clone(&self) -> RoomCreateParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoomCreateParams
impl Debug for RoomCreateParams
Source§impl Default for RoomCreateParams
impl Default for RoomCreateParams
Source§fn default() -> RoomCreateParams
fn default() -> RoomCreateParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RoomCreateParams
impl RefUnwindSafe for RoomCreateParams
impl Send for RoomCreateParams
impl Sync for RoomCreateParams
impl Unpin for RoomCreateParams
impl UnsafeUnpin for RoomCreateParams
impl UnwindSafe for RoomCreateParams
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