pub struct SessionRequestOptions {
pub sticky_turn_state: Option<String>,
pub turn_metadata: Option<String>,
pub subagent: Option<String>,
pub prefer_connection_reuse: Option<bool>,
pub session_affinity: Option<String>,
pub extra_headers: BTreeMap<String, String>,
}Expand description
Provider-neutral session metadata and affinity hints.
Fields§
§sticky_turn_state: Option<String>§turn_metadata: Option<String>§subagent: Option<String>§prefer_connection_reuse: Option<bool>§session_affinity: Option<String>§extra_headers: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for SessionRequestOptions
impl Clone for SessionRequestOptions
Source§fn clone(&self) -> SessionRequestOptions
fn clone(&self) -> SessionRequestOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionRequestOptions
impl Debug for SessionRequestOptions
Source§impl Default for SessionRequestOptions
impl Default for SessionRequestOptions
Source§fn default() -> SessionRequestOptions
fn default() -> SessionRequestOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionRequestOptions
impl<'de> Deserialize<'de> for SessionRequestOptions
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 SessionRequestOptions
impl PartialEq for SessionRequestOptions
Source§impl Serialize for SessionRequestOptions
impl Serialize for SessionRequestOptions
impl Eq for SessionRequestOptions
impl StructuralPartialEq for SessionRequestOptions
Auto Trait Implementations§
impl Freeze for SessionRequestOptions
impl RefUnwindSafe for SessionRequestOptions
impl Send for SessionRequestOptions
impl Sync for SessionRequestOptions
impl Unpin for SessionRequestOptions
impl UnsafeUnpin for SessionRequestOptions
impl UnwindSafe for SessionRequestOptions
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