Enum chainhook_types::ClarityVersion
source · pub enum ClarityVersion {
Clarity1,
Clarity2,
}Variants§
Trait Implementations§
source§impl Clone for ClarityVersion
impl Clone for ClarityVersion
source§fn clone(&self) -> ClarityVersion
fn clone(&self) -> ClarityVersion
Returns a copy 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 ClarityVersion
impl Debug for ClarityVersion
source§impl<'de> Deserialize<'de> for ClarityVersion
impl<'de> Deserialize<'de> for ClarityVersion
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 Display for ClarityVersion
impl Display for ClarityVersion
source§impl FromStr for ClarityVersion
impl FromStr for ClarityVersion
source§impl PartialEq for ClarityVersion
impl PartialEq for ClarityVersion
source§fn eq(&self, other: &ClarityVersion) -> bool
fn eq(&self, other: &ClarityVersion) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ClarityVersion
impl PartialOrd for ClarityVersion
source§fn partial_cmp(&self, other: &ClarityVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &ClarityVersion) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for ClarityVersion
impl Serialize for ClarityVersion
impl Copy for ClarityVersion
impl StructuralPartialEq for ClarityVersion
Auto Trait Implementations§
impl RefUnwindSafe for ClarityVersion
impl Send for ClarityVersion
impl Sync for ClarityVersion
impl Unpin for ClarityVersion
impl UnwindSafe for ClarityVersion
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