pub struct RealtimeSessionCreateRequestClientSecretExpiresAt {
pub anchor: Option<RealtimeSessionCreateRequestClientSecretExpiresAtAnchor>,
pub seconds: Option<u64>,
}
Expand description
Configuration for the ephemeral token expiration.
Fields§
§anchor: Option<RealtimeSessionCreateRequestClientSecretExpiresAtAnchor>
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 RealtimeSessionCreateRequestClientSecretExpiresAt
impl RealtimeSessionCreateRequestClientSecretExpiresAt
Sourcepub fn builder() -> RealtimeSessionCreateRequestClientSecretExpiresAtBuilder<((), ())>
pub fn builder() -> RealtimeSessionCreateRequestClientSecretExpiresAtBuilder<((), ())>
Create a builder for building RealtimeSessionCreateRequestClientSecretExpiresAt
.
On the builder, call .anchor(...)
(optional), .seconds(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of RealtimeSessionCreateRequestClientSecretExpiresAt
.
Trait Implementations§
Source§impl Clone for RealtimeSessionCreateRequestClientSecretExpiresAt
impl Clone for RealtimeSessionCreateRequestClientSecretExpiresAt
Source§fn clone(&self) -> RealtimeSessionCreateRequestClientSecretExpiresAt
fn clone(&self) -> RealtimeSessionCreateRequestClientSecretExpiresAt
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 RealtimeSessionCreateRequestClientSecretExpiresAt
impl Default for RealtimeSessionCreateRequestClientSecretExpiresAt
Source§fn default() -> RealtimeSessionCreateRequestClientSecretExpiresAt
fn default() -> RealtimeSessionCreateRequestClientSecretExpiresAt
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RealtimeSessionCreateRequestClientSecretExpiresAt
impl<'de> Deserialize<'de> for RealtimeSessionCreateRequestClientSecretExpiresAt
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 RealtimeSessionCreateRequestClientSecretExpiresAt
impl PartialEq for RealtimeSessionCreateRequestClientSecretExpiresAt
Source§fn eq(&self, other: &RealtimeSessionCreateRequestClientSecretExpiresAt) -> bool
fn eq(&self, other: &RealtimeSessionCreateRequestClientSecretExpiresAt) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for RealtimeSessionCreateRequestClientSecretExpiresAt
impl StructuralPartialEq for RealtimeSessionCreateRequestClientSecretExpiresAt
Auto Trait Implementations§
impl Freeze for RealtimeSessionCreateRequestClientSecretExpiresAt
impl RefUnwindSafe for RealtimeSessionCreateRequestClientSecretExpiresAt
impl Send for RealtimeSessionCreateRequestClientSecretExpiresAt
impl Sync for RealtimeSessionCreateRequestClientSecretExpiresAt
impl Unpin for RealtimeSessionCreateRequestClientSecretExpiresAt
impl UnwindSafe for RealtimeSessionCreateRequestClientSecretExpiresAt
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