#[non_exhaustive]pub struct MemoryDemonstrateOutput {
pub query: String,
pub demonstrations: Vec<DemonstrationRow>,
pub votes: HashMap<String, f64>,
pub predicted_label: String,
pub margin: f64,
pub abstain: bool,
pub abstain_reason: String,
pub few_shot_block: String,
pub examined: Integer,
pub labelled: Integer,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.query: String§demonstrations: Vec<DemonstrationRow>§votes: HashMap<String, f64>§predicted_label: String§margin: f64§abstain: bool§abstain_reason: String§few_shot_block: String§examined: Integer§labelled: IntegerTrait Implementations§
Source§impl Clone for MemoryDemonstrateOutput
impl Clone for MemoryDemonstrateOutput
Source§impl Debug for MemoryDemonstrateOutput
impl Debug for MemoryDemonstrateOutput
Source§impl<'de> Deserialize<'de> for MemoryDemonstrateOutput
impl<'de> Deserialize<'de> for MemoryDemonstrateOutput
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 MemoryDemonstrateOutput
impl PartialEq for MemoryDemonstrateOutput
Source§impl Serialize for MemoryDemonstrateOutput
impl Serialize for MemoryDemonstrateOutput
impl StructuralPartialEq for MemoryDemonstrateOutput
Auto Trait Implementations§
impl Forget for MemoryDemonstrateOutput
impl Freeze for MemoryDemonstrateOutput
impl Move for MemoryDemonstrateOutput
impl RefUnwindSafe for MemoryDemonstrateOutput
impl Send for MemoryDemonstrateOutput
impl Sync for MemoryDemonstrateOutput
impl Unpin for MemoryDemonstrateOutput
impl UnsafeUnpin for MemoryDemonstrateOutput
impl UnwindSafe for MemoryDemonstrateOutput
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