pub struct PreferenceResponse {
pub route: String,
pub quality: f32,
pub embedding: Vec<f32>,
}Expand description
Preference response
Fields§
§route: StringModel route
quality: f32Quality score
embedding: Vec<f32>Response embedding
Trait Implementations§
Source§impl Clone for PreferenceResponse
impl Clone for PreferenceResponse
Source§fn clone(&self) -> PreferenceResponse
fn clone(&self) -> PreferenceResponse
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 PreferenceResponse
impl Debug for PreferenceResponse
Source§impl<'de> Deserialize<'de> for PreferenceResponse
impl<'de> Deserialize<'de> for PreferenceResponse
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 PreferenceResponse
impl RefUnwindSafe for PreferenceResponse
impl Send for PreferenceResponse
impl Sync for PreferenceResponse
impl Unpin for PreferenceResponse
impl UnwindSafe for PreferenceResponse
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