pub enum ServiceDomain {
Search,
Foundry,
}Expand description
The service domain a resource belongs to
Variants§
Implementations§
Source§impl ServiceDomain
impl ServiceDomain
Sourcepub fn display_name(&self) -> &'static str
pub fn display_name(&self) -> &'static str
Human-readable display name
Sourcepub fn directory_prefix(&self) -> &'static str
pub fn directory_prefix(&self) -> &'static str
Top-level directory prefix for resources of this domain
Trait Implementations§
Source§impl Clone for ServiceDomain
impl Clone for ServiceDomain
Source§fn clone(&self) -> ServiceDomain
fn clone(&self) -> ServiceDomain
Returns a duplicate 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 ServiceDomain
impl Debug for ServiceDomain
Source§impl<'de> Deserialize<'de> for ServiceDomain
impl<'de> Deserialize<'de> for ServiceDomain
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 ServiceDomain
impl Display for ServiceDomain
Source§impl Hash for ServiceDomain
impl Hash for ServiceDomain
Source§impl PartialEq for ServiceDomain
impl PartialEq for ServiceDomain
Source§impl Serialize for ServiceDomain
impl Serialize for ServiceDomain
impl Copy for ServiceDomain
impl Eq for ServiceDomain
impl StructuralPartialEq for ServiceDomain
Auto Trait Implementations§
impl Freeze for ServiceDomain
impl RefUnwindSafe for ServiceDomain
impl Send for ServiceDomain
impl Sync for ServiceDomain
impl Unpin for ServiceDomain
impl UnwindSafe for ServiceDomain
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<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.