pub struct ExpiresAfterParam {
pub anchor: String,
pub seconds: u32,
}Available on crate feature
chatkit-types only.Expand description
Controls when the session expires relative to an anchor timestamp.
Fields§
§anchor: StringBase timestamp used to calculate expiration. Currently fixed to created_at.
seconds: u32Number of seconds after the anchor when the session expires.
Trait Implementations§
Source§impl Clone for ExpiresAfterParam
impl Clone for ExpiresAfterParam
Source§impl Debug for ExpiresAfterParam
impl Debug for ExpiresAfterParam
Source§impl Default for ExpiresAfterParam
impl Default for ExpiresAfterParam
Source§impl<'de> Deserialize<'de> for ExpiresAfterParam
impl<'de> Deserialize<'de> for ExpiresAfterParam
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 ExpiresAfterParam
impl PartialEq for ExpiresAfterParam
Source§impl Serialize for ExpiresAfterParam
impl Serialize for ExpiresAfterParam
impl StructuralPartialEq for ExpiresAfterParam
Auto Trait Implementations§
impl Freeze for ExpiresAfterParam
impl RefUnwindSafe for ExpiresAfterParam
impl Send for ExpiresAfterParam
impl Sync for ExpiresAfterParam
impl Unpin for ExpiresAfterParam
impl UnsafeUnpin for ExpiresAfterParam
impl UnwindSafe for ExpiresAfterParam
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