Struct move_core_types::identifier::Identifier [−][src]
pub struct Identifier(_);
Expand description
An owned identifier.
For more details, see the module level documentation.
Implementations
Returns if this identifier is “
Creates a borrowed version of self
.
Converts this Identifier
into a String
.
This is not implemented as a From
trait to discourage automatic conversions – these
conversions should not typically happen.
Converts this Identifier
into a UTF-8-encoded byte sequence.
Methods from Deref<Target = IdentStr>
Converts self
to a &str
.
This is not implemented as a From
trait to discourage automatic conversions – these
conversions should not typically happen.
Trait Implementations
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
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
Auto Trait Implementations
impl RefUnwindSafe for Identifier
impl Send for Identifier
impl Sync for Identifier
impl Unpin for Identifier
impl UnwindSafe for Identifier
Blanket Implementations
Mutably borrows from an owned value. Read more