#[repr(transparent)]pub struct ContractTypeKind(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl ContractTypeKind
impl ContractTypeKind
pub const Void: ContractTypeKind
pub const Bool: ContractTypeKind
pub const U32: ContractTypeKind
pub const I32: ContractTypeKind
pub const U64: ContractTypeKind
pub const I64: ContractTypeKind
pub const U128: ContractTypeKind
pub const I128: ContractTypeKind
pub const String: ContractTypeKind
pub const Bytes: ContractTypeKind
pub const Address: ContractTypeKind
pub const Option: ContractTypeKind
pub const Vector: ContractTypeKind
pub const Tuple: ContractTypeKind
pub const Named: ContractTypeKind
pub const U8: ContractTypeKind
pub const Array: ContractTypeKind
pub const SignedToken: ContractTypeKind
pub const U256: ContractTypeKind
pub const I256: ContractTypeKind
Trait Implementations§
Source§impl Clone for ContractTypeKind
impl Clone for ContractTypeKind
Source§fn clone(&self) -> ContractTypeKind
fn clone(&self) -> ContractTypeKind
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 moreSource§impl ConstMaxSize for ContractTypeKind
impl ConstMaxSize for ContractTypeKind
Source§impl ConstMaxSize for ContractTypeKind
impl ConstMaxSize for ContractTypeKind
impl Copy for ContractTypeKind
Source§impl Debug for ContractTypeKind
impl Debug for ContractTypeKind
Source§impl<'de> Deserialize<'de> for ContractTypeKind
impl<'de> Deserialize<'de> for ContractTypeKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContractTypeKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContractTypeKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl EncodesAs<ContractTypeKind> for ContractTypeKind
impl Eq for ContractTypeKind
Source§impl From<i32> for ContractTypeKind
impl From<i32> for ContractTypeKind
Source§fn from(v: i32) -> ContractTypeKind
fn from(v: i32) -> ContractTypeKind
Converts to this type from the input type.
Source§impl Hash for ContractTypeKind
impl Hash for ContractTypeKind
Source§impl Ord for ContractTypeKind
impl Ord for ContractTypeKind
Source§fn cmp(&self, other: &ContractTypeKind) -> Ordering
fn cmp(&self, other: &ContractTypeKind) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ContractTypeKind
impl PartialEq for ContractTypeKind
Source§impl PartialOrd for ContractTypeKind
impl PartialOrd for ContractTypeKind
Source§impl<'_r> ReadXDR<'_r> for ContractTypeKind
impl<'_r> ReadXDR<'_r> for ContractTypeKind
Source§fn read_xdr<R>(r: &mut R) -> Result<ContractTypeKind, ReadError>where
R: Reader<'_r>,
fn read_xdr<R>(r: &mut R) -> Result<ContractTypeKind, ReadError>where
R: Reader<'_r>,
Reads an XDR value from the reader. Read more
Source§fn read_xdr_in_place<R, '__xdrs_s>(
r: &mut R,
__xdrs_slot: Slot<'__xdrs_s, ContractTypeKind>,
) -> Result<Init<'__xdrs_s, ContractTypeKind>, ReadError>where
R: Reader<'_r>,
fn read_xdr_in_place<R, '__xdrs_s>(
r: &mut R,
__xdrs_slot: Slot<'__xdrs_s, ContractTypeKind>,
) -> Result<Init<'__xdrs_s, ContractTypeKind>, ReadError>where
R: Reader<'_r>,
Reads an XDR value directly into
slot, without first building it
on the stack. Read moreSource§impl Serialize for ContractTypeKind
impl Serialize for ContractTypeKind
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 ContractTypeKind
Source§impl WriteXDR for ContractTypeKind
impl WriteXDR for ContractTypeKind
Source§fn write_xdr<F, W>(&self, w: &mut W) -> Result<(), WriteError>where
W: Writer<F>,
fn write_xdr<F, W>(&self, w: &mut W) -> Result<(), WriteError>where
W: Writer<F>,
Writes this value as XDR data to the writer. Read more
Source§unsafe fn write_xdr_unchecked<F, W>(&self, w: &mut W)where
W: WriterUnchecked<F>,
unsafe fn write_xdr_unchecked<F, W>(&self, w: &mut W)where
W: WriterUnchecked<F>,
Writes this value as XDR data to the writer, without runtime checks. Read more
Auto Trait Implementations§
impl Freeze for ContractTypeKind
impl RefUnwindSafe for ContractTypeKind
impl Send for ContractTypeKind
impl Sync for ContractTypeKind
impl Unpin for ContractTypeKind
impl UnsafeUnpin for ContractTypeKind
impl UnwindSafe for ContractTypeKind
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