Struct concordium_base::id::constants::AttributeKind
source · pub struct AttributeKind(pub String);
Expand description
Concrete attribute values. All currently supported attributes are string values.
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for AttributeKind
impl Clone for AttributeKind
source§fn clone(&self) -> AttributeKind
fn clone(&self) -> AttributeKind
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 AttributeKind
impl Debug for AttributeKind
source§impl Deserial for AttributeKind
impl Deserial for AttributeKind
fn deserial<R: ReadBytesExt>(source: &mut R) -> ParseResult<Self>
source§impl<'de> Deserialize<'de> for AttributeKind
impl<'de> Deserialize<'de> for AttributeKind
source§fn deserialize<D: Deserializer<'de>>(des: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(des: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for AttributeKind
impl Display for AttributeKind
source§impl From<u64> for AttributeKind
impl From<u64> for AttributeKind
source§impl FromStr for AttributeKind
impl FromStr for AttributeKind
source§impl Ord for AttributeKind
impl Ord for AttributeKind
source§fn cmp(&self, other: &AttributeKind) -> Ordering
fn cmp(&self, other: &AttributeKind) -> 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<AttributeKind> for AttributeKind
impl PartialEq<AttributeKind> for AttributeKind
source§fn eq(&self, other: &AttributeKind) -> bool
fn eq(&self, other: &AttributeKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AttributeKind> for AttributeKind
impl PartialOrd<AttributeKind> for AttributeKind
source§fn partial_cmp(&self, other: &AttributeKind) -> Option<Ordering>
fn partial_cmp(&self, other: &AttributeKind) -> 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 AttributeKind
impl Serialize for AttributeKind
impl Eq for AttributeKind
impl StructuralEq for AttributeKind
impl StructuralPartialEq for AttributeKind
Auto Trait Implementations§
impl RefUnwindSafe for AttributeKind
impl Send for AttributeKind
impl Sync for AttributeKind
impl Unpin for AttributeKind
impl UnwindSafe for AttributeKind
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