pub struct LlmAlternative {
pub hs_code: String,
pub confidence: f32,
pub reason: String,
}Expand description
An alternative HS code suggestion returned by the LLM.
Fields§
§hs_code: StringSix-digit HS 2022 code.
confidence: f32Confidence for this alternative, in [0.0, 1.0].
reason: StringWhy this alternative applies.
Trait Implementations§
Source§impl Clone for LlmAlternative
impl Clone for LlmAlternative
Source§fn clone(&self) -> LlmAlternative
fn clone(&self) -> LlmAlternative
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 LlmAlternative
impl Debug for LlmAlternative
Source§impl<'de> Deserialize<'de> for LlmAlternative
impl<'de> Deserialize<'de> for LlmAlternative
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 LlmAlternative
impl RefUnwindSafe for LlmAlternative
impl Send for LlmAlternative
impl Sync for LlmAlternative
impl Unpin for LlmAlternative
impl UnsafeUnpin for LlmAlternative
impl UnwindSafe for LlmAlternative
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