pub enum SessionIdentitySource {
Header,
BodySessionId,
PromptCacheKey,
MetadataSessionId,
PreviousResponseId,
}Variants§
Trait Implementations§
Source§impl Clone for SessionIdentitySource
impl Clone for SessionIdentitySource
Source§fn clone(&self) -> SessionIdentitySource
fn clone(&self) -> SessionIdentitySource
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 SessionIdentitySource
impl Debug for SessionIdentitySource
Source§impl<'de> Deserialize<'de> for SessionIdentitySource
impl<'de> Deserialize<'de> for SessionIdentitySource
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 SessionIdentitySource
impl PartialEq for SessionIdentitySource
Source§fn eq(&self, other: &SessionIdentitySource) -> bool
fn eq(&self, other: &SessionIdentitySource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionIdentitySource
impl Serialize for SessionIdentitySource
impl Copy for SessionIdentitySource
impl Eq for SessionIdentitySource
impl StructuralPartialEq for SessionIdentitySource
Auto Trait Implementations§
impl Freeze for SessionIdentitySource
impl RefUnwindSafe for SessionIdentitySource
impl Send for SessionIdentitySource
impl Sync for SessionIdentitySource
impl Unpin for SessionIdentitySource
impl UnsafeUnpin for SessionIdentitySource
impl UnwindSafe for SessionIdentitySource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.