pub enum ListPathIdentifier {
Pk(i64),
Id(String),
}
Variants§
Trait Implementations§
source§impl Clone for ListPathIdentifier
impl Clone for ListPathIdentifier
source§fn clone(&self) -> ListPathIdentifier
fn clone(&self) -> ListPathIdentifier
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 ListPathIdentifier
impl Debug for ListPathIdentifier
source§impl<'de> Deserialize<'de> for ListPathIdentifier
impl<'de> Deserialize<'de> for ListPathIdentifier
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 Display for ListPathIdentifier
impl Display for ListPathIdentifier
source§impl From<String> for ListPathIdentifier
impl From<String> for ListPathIdentifier
source§impl From<i64> for ListPathIdentifier
impl From<i64> for ListPathIdentifier
source§impl PartialEq<ListPathIdentifier> for ListPathIdentifier
impl PartialEq<ListPathIdentifier> for ListPathIdentifier
source§fn eq(&self, other: &ListPathIdentifier) -> bool
fn eq(&self, other: &ListPathIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ListPathIdentifier
impl Serialize for ListPathIdentifier
impl Eq for ListPathIdentifier
impl StructuralEq for ListPathIdentifier
impl StructuralPartialEq for ListPathIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for ListPathIdentifier
impl Send for ListPathIdentifier
impl Sync for ListPathIdentifier
impl Unpin for ListPathIdentifier
impl UnwindSafe for ListPathIdentifier
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.