Enum db_dump::crate_owners::OwnerId
source · pub enum OwnerId {
User(UserId),
Team(TeamId),
}
Variants§
Trait Implementations§
source§impl Ord for OwnerId
impl Ord for OwnerId
source§impl PartialEq<OwnerId> for TeamId
impl PartialEq<OwnerId> for TeamId
source§impl PartialEq<OwnerId> for UserId
impl PartialEq<OwnerId> for UserId
source§impl PartialEq<TeamId> for OwnerId
impl PartialEq<TeamId> for OwnerId
source§impl PartialEq<UserId> for OwnerId
impl PartialEq<UserId> for OwnerId
source§impl PartialEq for OwnerId
impl PartialEq for OwnerId
source§impl PartialOrd for OwnerId
impl PartialOrd for OwnerId
1.0.0 · source§fn 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 moreimpl Copy for OwnerId
impl Eq for OwnerId
impl StructuralPartialEq for OwnerId
Auto Trait Implementations§
impl Freeze for OwnerId
impl RefUnwindSafe for OwnerId
impl Send for OwnerId
impl Sync for OwnerId
impl Unpin for OwnerId
impl UnwindSafe for OwnerId
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