pub struct PropertyKey(pub SharedString);
Tuple Fields§
§0: SharedString
Implementations§
Trait Implementations§
Source§impl Clone for PropertyKey
impl Clone for PropertyKey
Source§fn clone(&self) -> PropertyKey
fn clone(&self) -> PropertyKey
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PropertyKey
impl Debug for PropertyKey
Source§impl Default for PropertyKey
impl Default for PropertyKey
Source§impl<'de> Deserialize<'de> for PropertyKey
impl<'de> Deserialize<'de> for PropertyKey
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 FromJSON for PropertyKey
impl FromJSON for PropertyKey
Source§impl Hash for PropertyKey
impl Hash for PropertyKey
Source§impl Ord for PropertyKey
impl Ord for PropertyKey
Source§fn cmp(&self, other: &PropertyKey) -> Ordering
fn cmp(&self, other: &PropertyKey) -> 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<'a> PartialEq<&'a str> for PropertyKey
impl<'a> PartialEq<&'a str> for PropertyKey
Source§impl PartialEq for PropertyKey
impl PartialEq for PropertyKey
Source§impl PartialOrd for PropertyKey
impl PartialOrd for PropertyKey
Source§impl Serialize for PropertyKey
impl Serialize for PropertyKey
impl Eq for PropertyKey
Auto Trait Implementations§
impl Freeze for PropertyKey
impl RefUnwindSafe for PropertyKey
impl !Send for PropertyKey
impl !Sync for PropertyKey
impl Unpin for PropertyKey
impl UnwindSafe for PropertyKey
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more