Enum clarity_repl::clarity::types::serialization::TypePrefix
source · [−]#[repr(u8)]
pub enum TypePrefix {
Show 15 variants
Int,
UInt,
Buffer,
BoolTrue,
BoolFalse,
PrincipalStandard,
PrincipalContract,
ResponseOk,
ResponseErr,
OptionalNone,
OptionalSome,
List,
Tuple,
StringASCII,
StringUTF8,
}
Variants
Int
UInt
Buffer
BoolTrue
BoolFalse
PrincipalStandard
PrincipalContract
ResponseOk
ResponseErr
OptionalNone
OptionalSome
List
Tuple
StringASCII
StringUTF8
Implementations
Trait Implementations
sourceimpl From<&PrincipalData> for TypePrefix
impl From<&PrincipalData> for TypePrefix
sourcefn from(v: &PrincipalData) -> TypePrefix
fn from(v: &PrincipalData) -> TypePrefix
Converts to this type from the input type.
sourceimpl From<&Value> for TypePrefix
impl From<&Value> for TypePrefix
sourcefn from(v: &Value) -> TypePrefix
fn from(v: &Value) -> TypePrefix
Converts to this type from the input type.
sourceimpl PartialEq<TypePrefix> for TypePrefix
impl PartialEq<TypePrefix> for TypePrefix
sourcefn eq(&self, other: &TypePrefix) -> bool
fn eq(&self, other: &TypePrefix) -> bool
impl StructuralPartialEq for TypePrefix
Auto Trait Implementations
impl RefUnwindSafe for TypePrefix
impl Send for TypePrefix
impl Sync for TypePrefix
impl Unpin for TypePrefix
impl UnwindSafe for TypePrefix
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