pub struct TakenAsDefault {
pub name: &'static str,
pub shows_in: &'static str,
pub answer: String,
}Expand description
One answer a dialect left to the contract: it answers as the contract’s own method body does, so Razeri writes the default’s SQL there.
Fields§
§name: &'static strThe trait and the method.
shows_in: &'static strThe file it shows up in.
answer: StringThe contract’s answer, which Razeri writes for this dialect.
Trait Implementations§
Source§impl Clone for TakenAsDefault
impl Clone for TakenAsDefault
Source§impl Debug for TakenAsDefault
impl Debug for TakenAsDefault
impl Eq for TakenAsDefault
Source§impl PartialEq for TakenAsDefault
impl PartialEq for TakenAsDefault
impl StructuralPartialEq for TakenAsDefault
Auto Trait Implementations§
impl Forget for TakenAsDefault
impl Freeze for TakenAsDefault
impl Move for TakenAsDefault
impl RefUnwindSafe for TakenAsDefault
impl Send for TakenAsDefault
impl Sync for TakenAsDefault
impl Unpin for TakenAsDefault
impl UnsafeUnpin for TakenAsDefault
impl UnwindSafe for TakenAsDefault
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,
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.