pub struct HypothesisRef {
pub id: String,
pub text: String,
pub predicted_outcome: Option<String>,
}Expand description
Reference to a hypothesis
Fields§
§id: String§text: String§predicted_outcome: Option<String>Trait Implementations§
Source§impl Clone for HypothesisRef
impl Clone for HypothesisRef
Source§fn clone(&self) -> HypothesisRef
fn clone(&self) -> HypothesisRef
Returns a duplicate of the value. Read more
1.0.0 · 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 HypothesisRef
impl Debug for HypothesisRef
Source§impl<'de> Deserialize<'de> for HypothesisRef
impl<'de> Deserialize<'de> for HypothesisRef
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
Auto Trait Implementations§
impl Freeze for HypothesisRef
impl RefUnwindSafe for HypothesisRef
impl Send for HypothesisRef
impl Sync for HypothesisRef
impl Unpin for HypothesisRef
impl UnsafeUnpin for HypothesisRef
impl UnwindSafe for HypothesisRef
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