pub(crate) struct GetContextHttpRequest {Show 14 fields
pub(crate) session_id: String,
pub(crate) tenant_id: Option<String>,
pub(crate) stability: f32,
pub(crate) friction: f32,
pub(crate) logic: f32,
pub(crate) autonomy: f32,
pub(crate) limit: Option<usize>,
pub(crate) from_utc: Option<DateTime<Utc>>,
pub(crate) to_utc: Option<DateTime<Utc>>,
pub(crate) tiers: Option<Vec<String>>,
pub(crate) query_text: Option<String>,
pub(crate) query_embedding: Option<Vec<f32>>,
pub(crate) alpha: Option<f32>,
pub(crate) beta: Option<f32>,
}Fields§
§session_id: String§tenant_id: Option<String>§stability: f32§friction: f32§logic: f32§autonomy: f32§limit: Option<usize>§from_utc: Option<DateTime<Utc>>§to_utc: Option<DateTime<Utc>>§tiers: Option<Vec<String>>§query_text: Option<String>§query_embedding: Option<Vec<f32>>§alpha: Option<f32>§beta: Option<f32>Trait Implementations§
Source§impl Debug for GetContextHttpRequest
impl Debug for GetContextHttpRequest
Source§impl<'de> Deserialize<'de> for GetContextHttpRequest
impl<'de> Deserialize<'de> for GetContextHttpRequest
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
Auto Trait Implementations§
impl Freeze for GetContextHttpRequest
impl RefUnwindSafe for GetContextHttpRequest
impl Send for GetContextHttpRequest
impl Sync for GetContextHttpRequest
impl Unpin for GetContextHttpRequest
impl UnsafeUnpin for GetContextHttpRequest
impl UnwindSafe for GetContextHttpRequest
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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
§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].