Struct langchain_rust::semantic_router::RouteChoise
source · pub struct RouteChoise {
pub route: String,
pub similarity_score: f64,
pub tool_input: Option<Value>,
}
Fields§
§route: String
§similarity_score: f64
§tool_input: Option<Value>
Trait Implementations§
source§impl Clone for RouteChoise
impl Clone for RouteChoise
source§fn clone(&self) -> RouteChoise
fn clone(&self) -> RouteChoise
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for RouteChoise
impl RefUnwindSafe for RouteChoise
impl Send for RouteChoise
impl Sync for RouteChoise
impl Unpin for RouteChoise
impl UnwindSafe for RouteChoise
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