pub struct PersistedSessionConfig {
pub provider_id: String,
pub model: ModelSpec,
}Fields§
§provider_id: String§model: ModelSpecTrait Implementations§
Source§impl Clone for PersistedSessionConfig
impl Clone for PersistedSessionConfig
Source§fn clone(&self) -> PersistedSessionConfig
fn clone(&self) -> PersistedSessionConfig
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 PersistedSessionConfig
impl Debug for PersistedSessionConfig
Source§impl Default for PersistedSessionConfig
impl Default for PersistedSessionConfig
Source§fn default() -> PersistedSessionConfig
fn default() -> PersistedSessionConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PersistedSessionConfig
impl<'de> Deserialize<'de> for PersistedSessionConfig
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
impl Eq for PersistedSessionConfig
Source§impl PartialEq for PersistedSessionConfig
impl PartialEq for PersistedSessionConfig
Source§fn eq(&self, other: &PersistedSessionConfig) -> bool
fn eq(&self, other: &PersistedSessionConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PersistedSessionConfig
impl Serialize for PersistedSessionConfig
impl StructuralPartialEq for PersistedSessionConfig
Auto Trait Implementations§
impl Freeze for PersistedSessionConfig
impl RefUnwindSafe for PersistedSessionConfig
impl Send for PersistedSessionConfig
impl Sync for PersistedSessionConfig
impl Unpin for PersistedSessionConfig
impl UnsafeUnpin for PersistedSessionConfig
impl UnwindSafe for PersistedSessionConfig
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