Struct aleph_alpha_client::Explanation
source · pub struct Explanation {
pub items: Vec<ItemExplanation>,
}
Expand description
The explanation for the target.
Fields§
§items: Vec<ItemExplanation>
Explanation scores for different parts of the prompt or target.
Trait Implementations§
source§impl Debug for Explanation
impl Debug for Explanation
source§impl<'de> Deserialize<'de> for Explanation
impl<'de> Deserialize<'de> for Explanation
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<Explanation> for Explanation
impl PartialEq<Explanation> for Explanation
source§fn eq(&self, other: &Explanation) -> bool
fn eq(&self, other: &Explanation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Explanation
Auto Trait Implementations§
impl RefUnwindSafe for Explanation
impl Send for Explanation
impl Sync for Explanation
impl Unpin for Explanation
impl UnwindSafe for Explanation
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