#[repr(u8)]pub enum OpReturnKind {
Show 23 variants
Runes = 0,
VeriBlock = 1,
Omni = 2,
Stacks = 3,
Blockstack = 4,
Colu = 5,
OpenAssets = 6,
Komodo = 7,
CoinSpark = 8,
Poet = 9,
Docproof = 10,
OpenTimestamps = 11,
Factom = 12,
EternityWall = 13,
Memo = 14,
Bitproof = 15,
Ascribe = 16,
Stampery = 17,
Epobc = 18,
BareHash = 19,
Text = 20,
Empty = 21,
Unknown = 22,
}Variants§
Runes = 0
VeriBlock = 1
Omni = 2
Stacks = 3
Blockstack = 4
Colu = 5
OpenAssets = 6
Komodo = 7
CoinSpark = 8
Poet = 9
Docproof = 10
OpenTimestamps = 11
Factom = 12
EternityWall = 13
Memo = 14
Bitproof = 15
Ascribe = 16
Stampery = 17
Epobc = 18
BareHash = 19
Text = 20
Empty = 21
Unknown = 22
Trait Implementations§
Source§impl AsRef<str> for OpReturnKind
impl AsRef<str> for OpReturnKind
Source§impl Bytes for OpReturnKind
impl Bytes for OpReturnKind
Source§type Array = [u8; 1]
type Array = [u8; 1]
The byte array type returned by
to_bytes.
For fixed-size types, this is [u8; N] where N is the size of the type.Source§fn to_bytes(&self) -> <OpReturnKind as Bytes>::Array
fn to_bytes(&self) -> <OpReturnKind as Bytes>::Array
Serializes this value to bytes. Read more
Source§fn from_bytes(bytes: &[u8]) -> Result<OpReturnKind, Error>
fn from_bytes(bytes: &[u8]) -> Result<OpReturnKind, Error>
Deserializes a value from bytes. Read more
Source§const IS_NATIVE_LAYOUT: bool = false
const IS_NATIVE_LAYOUT: bool = false
Whether the byte representation from
to_bytes is identical to the
in-memory representation of Self. When true, bulk operations can use
memcpy instead of per-element deserialization. Read moreSource§impl Clone for OpReturnKind
impl Clone for OpReturnKind
Source§fn clone(&self) -> OpReturnKind
fn clone(&self) -> OpReturnKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OpReturnKind
Source§impl Debug for OpReturnKind
impl Debug for OpReturnKind
Source§impl<'de> Deserialize<'de> for OpReturnKind
impl<'de> Deserialize<'de> for OpReturnKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OpReturnKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OpReturnKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OpReturnKind
impl Display for OpReturnKind
impl Eq for OpReturnKind
Source§impl Formattable for OpReturnKind
impl Formattable for OpReturnKind
Source§impl Hash for OpReturnKind
impl Hash for OpReturnKind
Source§impl JsonSchema for OpReturnKind
impl JsonSchema for OpReturnKind
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for OpReturnKind
impl Ord for OpReturnKind
Source§fn cmp(&self, other: &OpReturnKind) -> Ordering
fn cmp(&self, other: &OpReturnKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OpReturnKind
impl PartialEq for OpReturnKind
Source§impl PartialOrd for OpReturnKind
impl PartialOrd for OpReturnKind
Source§impl Pco for OpReturnKind
impl Pco for OpReturnKind
type NumberType = u8
Source§impl Serialize for OpReturnKind
impl Serialize for OpReturnKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for OpReturnKind
impl TransparentPco<u8> for OpReturnKind
Auto Trait Implementations§
impl Freeze for OpReturnKind
impl RefUnwindSafe for OpReturnKind
impl Send for OpReturnKind
impl Sync for OpReturnKind
impl Unpin for OpReturnKind
impl UnsafeUnpin for OpReturnKind
impl UnwindSafe for OpReturnKind
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<T> BytesVecValue for T
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<T> FromInnerSlice<<T as Pco>::NumberType> for Twhere
T: PcoVecValue,
impl<T> FromInnerSlice<<T as Pco>::NumberType> for Twhere
T: PcoVecValue,
const _SIZE_CHECK: ()
const _ALIGN_CHECK: ()
fn from_inner_slice(vec: Vec<<T as Pco>::NumberType>) -> Vec<T>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more