pub struct OnChain {
pub name: String,
pub description: String,
pub sides: Option<[String; 2]>,
}Expand description
How the venue writes a row made from a template.
Fields§
§name: String§description: String§sides: Option<[String; 2]>A standalone outcome’s sides; a question’s outcome has Yes and No.
Trait Implementations§
impl Eq for OnChain
impl StructuralPartialEq for OnChain
Auto Trait Implementations§
impl Freeze for OnChain
impl RefUnwindSafe for OnChain
impl Send for OnChain
impl Sync for OnChain
impl Unpin for OnChain
impl UnsafeUnpin for OnChain
impl UnwindSafe for OnChain
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.