Enum leetcode_api::leetcode::IdSlug
source · pub enum IdSlug {
Id(u32),
Slug(String),
}
Variants§
Trait Implementations§
source§impl PartialEq for IdSlug
impl PartialEq for IdSlug
impl Eq for IdSlug
impl StructuralPartialEq for IdSlug
Auto Trait Implementations§
impl Freeze for IdSlug
impl RefUnwindSafe for IdSlug
impl Send for IdSlug
impl Sync for IdSlug
impl Unpin for IdSlug
impl UnwindSafe for IdSlug
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.