Struct aptos_sdk::move_types::identifier::IdentStr
[−]#[repr(transparent)]pub struct IdentStr(_);Expand description
A borrowed identifier.
For more details, see the module level documentation.
Implementations
Trait Implementations
impl AsRef<IdentStr> for Identifier
impl AsRef<IdentStr> for Identifier
impl Borrow<IdentStr> for Identifier
impl Borrow<IdentStr> for Identifier
impl From<&IdentStr> for Identifier
impl From<&IdentStr> for Identifier
fn from(ident_str: &IdentStr) -> Identifier
fn from(ident_str: &IdentStr) -> Identifier
Converts to this type from the input type.
impl Ord for IdentStr
impl Ord for IdentStr
impl PartialOrd<IdentStr> for IdentStr
impl PartialOrd<IdentStr> for IdentStr
fn partial_cmp(&self, other: &IdentStr) -> Option<Ordering>
fn partial_cmp(&self, other: &IdentStr) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 more
impl ToOwned for IdentStr
impl ToOwned for IdentStr
type Owned = Identifier
type Owned = Identifier
The resulting type after obtaining ownership.
fn to_owned(&self) -> Identifier
fn to_owned(&self) -> Identifier
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Eq for IdentStr
impl StructuralEq for IdentStr
impl StructuralPartialEq for IdentStr
Auto Trait Implementations
impl RefUnwindSafe for IdentStr
impl Send for IdentStr
impl !Sized for IdentStr
impl Sync for IdentStr
impl Unpin for IdentStr
impl UnwindSafe for IdentStr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.