pub struct RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt {
pub anchor: Option<RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor>,
pub seconds: Option<u64>,
}
Expand description
Configuration for the ephemeral token expiration.
Fields§
§anchor: Option<RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor>
The anchor point for the ephemeral token expiration. Only created_at
is currently supported.
seconds: Option<u64>
The number of seconds from the anchor point to the expiration. Select a value between 10
and 7200
.
Implementations§
Source§impl RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
impl RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
Sourcepub fn builder() -> RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtBuilder<((), ())>
pub fn builder() -> RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtBuilder<((), ())>
Create a builder for building RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
.
On the builder, call .anchor(...)
(optional), .seconds(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
.
Trait Implementations§
Source§impl Clone for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
impl Clone for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
Source§fn clone(
&self,
) -> RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
fn clone( &self, ) -> RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
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 moreSource§impl Default for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
impl Default for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
Source§fn default() -> RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
fn default() -> RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
impl PartialEq for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
Source§fn eq(
&self,
other: &RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt,
) -> bool
fn eq( &self, other: &RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
impl StructuralPartialEq for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
Auto Trait Implementations§
impl Freeze for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
impl RefUnwindSafe for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
impl Send for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
impl Sync for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
impl Unpin for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
impl UnwindSafe for RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt
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