Enum nidrs_extern::metadata::ServiceType
source · pub enum ServiceType {
Service,
Controller,
Interceptor,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ServiceType
impl Clone for ServiceType
source§fn clone(&self) -> ServiceType
fn clone(&self) -> ServiceType
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 ServiceType
impl Debug for ServiceType
source§impl From<&str> for ServiceType
impl From<&str> for ServiceType
source§impl Into<&'static str> for ServiceType
impl Into<&'static str> for ServiceType
source§impl PartialEq for ServiceType
impl PartialEq for ServiceType
source§fn eq(&self, other: &ServiceType) -> bool
fn eq(&self, other: &ServiceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ServiceType
impl Eq for ServiceType
impl StructuralPartialEq for ServiceType
Auto Trait Implementations§
impl Freeze for ServiceType
impl RefUnwindSafe for ServiceType
impl Send for ServiceType
impl Sync for ServiceType
impl Unpin for ServiceType
impl UnwindSafe for ServiceType
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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.