#[repr(u8)]
pub enum TransactionAnchorMode {
OnChainOnly,
OffChainOnly,
Any,
}
Expand description
How a transaction may be appended to the Stacks blockchain
Variants
OnChainOnly
OffChainOnly
Any
Trait Implementations
sourceimpl Clone for TransactionAnchorMode
impl Clone for TransactionAnchorMode
sourcefn clone(&self) -> TransactionAnchorMode
fn clone(&self) -> TransactionAnchorMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TransactionAnchorMode
impl Debug for TransactionAnchorMode
sourceimpl<'de> Deserialize<'de> for TransactionAnchorMode
impl<'de> Deserialize<'de> for TransactionAnchorMode
sourcefn 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
sourceimpl PartialEq<TransactionAnchorMode> for TransactionAnchorMode
impl PartialEq<TransactionAnchorMode> for TransactionAnchorMode
sourcefn eq(&self, other: &TransactionAnchorMode) -> bool
fn eq(&self, other: &TransactionAnchorMode) -> bool
sourceimpl Serialize for TransactionAnchorMode
impl Serialize for TransactionAnchorMode
impl Copy for TransactionAnchorMode
impl StructuralPartialEq for TransactionAnchorMode
Auto Trait Implementations
impl RefUnwindSafe for TransactionAnchorMode
impl Send for TransactionAnchorMode
impl Sync for TransactionAnchorMode
impl Unpin for TransactionAnchorMode
impl UnwindSafe for TransactionAnchorMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more