Struct concordium_std::AttributeTag [−][src]
#[repr(transparent)]pub struct AttributeTag(pub u8);
Expand description
Tag of an attribute. See the module attributes for the currently supported attributes.
Tuple Fields
0: u8
Trait Implementations
Attempt to read a structure from a given source, failing if an error occurs during deserialization or reading. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
pub fn try_from(
v: &'a str
) -> Result<AttributeTag, <AttributeTag as TryFrom<&'a str>>::Error>
pub fn try_from(
v: &'a str
) -> Result<AttributeTag, <AttributeTag as TryFrom<&'a str>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for AttributeTag
impl Send for AttributeTag
impl Sync for AttributeTag
impl Unpin for AttributeTag
impl UnwindSafe for AttributeTag
Blanket Implementations
Mutably borrows from an owned value. Read more