Struct rgbstd::stl::ContractText
source · pub struct ContractText(_);Trait Implementations§
source§impl Clone for ContractText
impl Clone for ContractText
source§fn clone(&self) -> ContractText
fn clone(&self) -> ContractText
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 ContractText
impl Debug for ContractText
source§impl Default for ContractText
impl Default for ContractText
source§fn default() -> ContractText
fn default() -> ContractText
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ContractText
impl<'de> Deserialize<'de> for ContractText
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 PartialEq<ContractText> for ContractText
impl PartialEq<ContractText> for ContractText
source§fn eq(&self, other: &ContractText) -> bool
fn eq(&self, other: &ContractText) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ContractText
impl Serialize for ContractText
source§impl StrictDecode for ContractText
impl StrictDecode for ContractText
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
source§impl StrictDeserialize for ContractText
impl StrictDeserialize for ContractText
fn from_strict_serialized<const MAX: usize>( ast_data: Confined<Vec<u8, Global>, 0, MAX> ) -> Result<Self, DeserializeError>
fn strict_deserialize_from_file<const MAX: usize>( path: impl AsRef<Path> ) -> Result<Self, DeserializeError>
source§impl StrictEncode for ContractText
impl StrictEncode for ContractText
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
source§impl StrictSerialize for ContractText
impl StrictSerialize for ContractText
fn strict_serialized_len(&self) -> Result<usize, Error>
fn to_strict_serialized<const MAX: usize>( &self ) -> Result<Confined<Vec<u8, Global>, 0, MAX>, SerializeError>
fn strict_serialize_to_file<const MAX: usize>( &self, path: impl AsRef<Path> ) -> Result<(), SerializeError>
source§impl StrictTuple for ContractText
impl StrictTuple for ContractText
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for ContractText
impl StrictType for ContractText
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_CONTRACT
fn strict_name() -> Option<TypeName>
impl Eq for ContractText
impl StrictProduct for ContractText
impl StructuralEq for ContractText
impl StructuralPartialEq for ContractText
Auto Trait Implementations§
impl RefUnwindSafe for ContractText
impl Send for ContractText
impl Sync for ContractText
impl Unpin for ContractText
impl UnwindSafe for ContractText
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.