pub struct RealtimeClientSecret {
pub value: String,
pub expires_at: Option<u64>,
}Expand description
A client secret of a Realtime session.
Fields§
§value: StringThe secret token itself, e.g. ek_....
expires_at: Option<u64>Unix timestamp (seconds) of when the secret expires.
Trait Implementations§
Source§impl Clone for RealtimeClientSecret
impl Clone for RealtimeClientSecret
Source§impl Debug for RealtimeClientSecret
impl Debug for RealtimeClientSecret
Source§impl<'de> Deserialize<'de> for RealtimeClientSecret
impl<'de> Deserialize<'de> for RealtimeClientSecret
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
Auto Trait Implementations§
impl Freeze for RealtimeClientSecret
impl RefUnwindSafe for RealtimeClientSecret
impl Send for RealtimeClientSecret
impl Sync for RealtimeClientSecret
impl Unpin for RealtimeClientSecret
impl UnsafeUnpin for RealtimeClientSecret
impl UnwindSafe for RealtimeClientSecret
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