pub struct RealtimeSessionCreateResponse_ClientSecret {
pub value: String,
pub expires_at: i64,
}
Expand description
Ephemeral key returned by the API.
Fields§
§value: String
Ephemeral key usable in client environments to authenticate connections to the Realtime API.
expires_at: i64
Timestamp for when the token expires.
Trait Implementations§
Source§impl Clone for RealtimeSessionCreateResponse_ClientSecret
impl Clone for RealtimeSessionCreateResponse_ClientSecret
Source§fn clone(&self) -> RealtimeSessionCreateResponse_ClientSecret
fn clone(&self) -> RealtimeSessionCreateResponse_ClientSecret
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 RealtimeSessionCreateResponse_ClientSecret
impl Default for RealtimeSessionCreateResponse_ClientSecret
Source§fn default() -> RealtimeSessionCreateResponse_ClientSecret
fn default() -> RealtimeSessionCreateResponse_ClientSecret
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RealtimeSessionCreateResponse_ClientSecret
impl RefUnwindSafe for RealtimeSessionCreateResponse_ClientSecret
impl Send for RealtimeSessionCreateResponse_ClientSecret
impl Sync for RealtimeSessionCreateResponse_ClientSecret
impl Unpin for RealtimeSessionCreateResponse_ClientSecret
impl UnwindSafe for RealtimeSessionCreateResponse_ClientSecret
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