Struct rgbstd::stl::ContractName
source · pub struct ContractName(_);Trait Implementations§
source§impl AsRef<<ContractName as Wrapper>::Inner> for ContractName
impl AsRef<<ContractName as Wrapper>::Inner> for ContractName
source§impl Borrow<<ContractName as Wrapper>::Inner> for ContractName
impl Borrow<<ContractName as Wrapper>::Inner> for ContractName
source§impl Clone for ContractName
impl Clone for ContractName
source§fn clone(&self) -> ContractName
fn clone(&self) -> ContractName
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 ContractName
impl Debug for ContractName
source§impl Deref for ContractName
impl Deref for ContractName
source§impl<'de> Deserialize<'de> for ContractName
impl<'de> Deserialize<'de> for ContractName
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 Display for ContractName
impl Display for ContractName
source§impl From<&'static str> for ContractName
impl From<&'static str> for ContractName
source§impl From<ContractName> for Confined<String, 1, 40>
impl From<ContractName> for Confined<String, 1, 40>
source§fn from(wrapped: ContractName) -> Self
fn from(wrapped: ContractName) -> Self
Converts to this type from the input type.
source§impl FromStr for ContractName
impl FromStr for ContractName
source§impl Hash for ContractName
impl Hash for ContractName
source§impl Ord for ContractName
impl Ord for ContractName
source§fn cmp(&self, other: &ContractName) -> Ordering
fn cmp(&self, other: &ContractName) -> Ordering
1.21.0 · 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<ContractName> for ContractName
impl PartialEq<ContractName> for ContractName
source§fn eq(&self, other: &ContractName) -> bool
fn eq(&self, other: &ContractName) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ContractName> for ContractName
impl PartialOrd<ContractName> for ContractName
source§fn partial_cmp(&self, other: &ContractName) -> Option<Ordering>
fn partial_cmp(&self, other: &ContractName) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for ContractName
impl Serialize for ContractName
source§impl StrictDecode for ContractName
impl StrictDecode for ContractName
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
source§impl StrictDumb for ContractName
impl StrictDumb for ContractName
fn strict_dumb() -> Self
source§impl StrictEncode for ContractName
impl StrictEncode for ContractName
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
source§impl StrictTuple for ContractName
impl StrictTuple for ContractName
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for ContractName
impl StrictType for ContractName
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_CONTRACT
fn strict_name() -> Option<TypeName>
source§impl TryFrom<String> for ContractName
impl TryFrom<String> for ContractName
§type Error = InvalidIdent
type Error = InvalidIdent
The type returned in the event of a conversion error.
source§impl Wrapper for ContractName
impl Wrapper for ContractName
impl Eq for ContractName
impl StrictProduct for ContractName
impl StructuralEq for ContractName
impl StructuralPartialEq for ContractName
Auto Trait Implementations§
impl RefUnwindSafe for ContractName
impl Send for ContractName
impl Sync for ContractName
impl Unpin for ContractName
impl UnwindSafe for ContractName
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.