pub struct SemanticPayload {
pub file: String,
pub answer: String,
}Expand description
Semantic/free-form text payload (unverifiable).
Fields§
§file: StringFile that was analyzed
answer: StringFree-form text answer
Implementations§
Trait Implementations§
Source§impl Clone for SemanticPayload
impl Clone for SemanticPayload
Source§fn clone(&self) -> SemanticPayload
fn clone(&self) -> SemanticPayload
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 SemanticPayload
impl Debug for SemanticPayload
Source§impl<'de> Deserialize<'de> for SemanticPayload
impl<'de> Deserialize<'de> for SemanticPayload
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 SemanticPayload
impl PartialEq for SemanticPayload
Source§fn eq(&self, other: &SemanticPayload) -> bool
fn eq(&self, other: &SemanticPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SemanticPayload
impl Serialize for SemanticPayload
impl StructuralPartialEq for SemanticPayload
Auto Trait Implementations§
impl Freeze for SemanticPayload
impl RefUnwindSafe for SemanticPayload
impl Send for SemanticPayload
impl Sync for SemanticPayload
impl Unpin for SemanticPayload
impl UnsafeUnpin for SemanticPayload
impl UnwindSafe for SemanticPayload
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