pub struct CreateWhepParams {
pub participant_id: Option<String>,
pub source: Option<WhepSource>,
pub expires_in: Option<Duration>,
}Expand description
The parameters for WhepResource::create.
Fields§
§participant_id: Option<String>The subscriber’s own participant id. Auto-generated as whep-<uuid> when
absent.
source: Option<WhepSource>Which remote participant to pull. Omit to let the server choose.
expires_in: Option<Duration>How long the playback credential stays valid. Defaults to one hour.
Trait Implementations§
Source§impl Clone for CreateWhepParams
impl Clone for CreateWhepParams
Source§fn clone(&self) -> CreateWhepParams
fn clone(&self) -> CreateWhepParams
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 CreateWhepParams
impl Debug for CreateWhepParams
Source§impl Default for CreateWhepParams
impl Default for CreateWhepParams
Source§fn default() -> CreateWhepParams
fn default() -> CreateWhepParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateWhepParams
impl RefUnwindSafe for CreateWhepParams
impl Send for CreateWhepParams
impl Sync for CreateWhepParams
impl Unpin for CreateWhepParams
impl UnsafeUnpin for CreateWhepParams
impl UnwindSafe for CreateWhepParams
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