pub struct AnswerAuthority {
pub talk: String,
pub turn: usize,
pub message: usize,
pub instruction: String,
pub instruction_fingerprint: String,
pub recommendation_turn: Option<usize>,
pub recommendation_fingerprint: Option<String>,
pub question: String,
pub choice: String,
}Expand description
Owner evidence retained with an answer, independent of its consultation destination.
Fields§
§talk: StringConversation containing the instruction.
turn: usizeZero-based persisted turn position.
message: usizeZero-based send position within that turn.
instruction: StringFull instruction, not a substring selected by the assistant.
instruction_fingerprint: StringStable fingerprint of the complete instruction.
recommendation_turn: Option<usize>Immediately preceding persona reply, for a batch instruction.
recommendation_fingerprint: Option<String>Fingerprint of the complete persona reply used as the batch manifest.
question: StringExact decision covered by this evidence.
choice: StringExact offered choice; this evidence path only authorizes hold.
Trait Implementations§
Source§impl Clone for AnswerAuthority
impl Clone for AnswerAuthority
Source§impl Debug for AnswerAuthority
impl Debug for AnswerAuthority
Source§impl<'de> Deserialize<'de> for AnswerAuthority
impl<'de> Deserialize<'de> for AnswerAuthority
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
impl Eq for AnswerAuthority
Source§impl PartialEq for AnswerAuthority
impl PartialEq for AnswerAuthority
Source§impl Serialize for AnswerAuthority
impl Serialize for AnswerAuthority
impl StructuralPartialEq for AnswerAuthority
Auto Trait Implementations§
impl Freeze for AnswerAuthority
impl RefUnwindSafe for AnswerAuthority
impl Send for AnswerAuthority
impl Sync for AnswerAuthority
impl Unpin for AnswerAuthority
impl UnsafeUnpin for AnswerAuthority
impl UnwindSafe for AnswerAuthority
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more