pub struct ClientSecretOptions {
pub expires_after_seconds: Option<u64>,
pub session_config: Option<RealtimeSessionConfig>,
}Expand description
Options for creating a client secret.
Fields§
§expires_after_seconds: Option<u64>Requested lifetime in seconds.
session_config: Option<RealtimeSessionConfig>Initial session configuration.
Trait Implementations§
Source§impl Clone for ClientSecretOptions
impl Clone for ClientSecretOptions
Source§fn clone(&self) -> ClientSecretOptions
fn clone(&self) -> ClientSecretOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClientSecretOptions
impl Debug for ClientSecretOptions
Source§impl Default for ClientSecretOptions
impl Default for ClientSecretOptions
Source§fn default() -> ClientSecretOptions
fn default() -> ClientSecretOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientSecretOptions
impl<'de> Deserialize<'de> for ClientSecretOptions
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 ClientSecretOptions
impl PartialEq for ClientSecretOptions
Source§impl Serialize for ClientSecretOptions
impl Serialize for ClientSecretOptions
impl StructuralPartialEq for ClientSecretOptions
Auto Trait Implementations§
impl Freeze for ClientSecretOptions
impl RefUnwindSafe for ClientSecretOptions
impl Send for ClientSecretOptions
impl Sync for ClientSecretOptions
impl Unpin for ClientSecretOptions
impl UnsafeUnpin for ClientSecretOptions
impl UnwindSafe for ClientSecretOptions
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