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