pub struct RealtimeCreateClientSecretRequest {
pub session: Session,
pub expires_after: Option<ClientSecretExpiration>,
}Available on crate feature
realtime only.Expand description
Request to create a Realtime client secret.
Fields§
§session: SessionSession configuration to use for the client secret. Choose either a realtime session or a transcription session.
expires_after: Option<ClientSecretExpiration>Configuration for the client secret expiration.
Trait Implementations§
Source§impl Clone for RealtimeCreateClientSecretRequest
impl Clone for RealtimeCreateClientSecretRequest
Source§fn clone(&self) -> RealtimeCreateClientSecretRequest
fn clone(&self) -> RealtimeCreateClientSecretRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RealtimeCreateClientSecretRequest
impl RefUnwindSafe for RealtimeCreateClientSecretRequest
impl Send for RealtimeCreateClientSecretRequest
impl Sync for RealtimeCreateClientSecretRequest
impl Unpin for RealtimeCreateClientSecretRequest
impl UnwindSafe for RealtimeCreateClientSecretRequest
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