pub struct ServiceName<'a>(pub &'a str);Tuple Fields§
§0: &'a strImplementations§
Trait Implementations§
Source§impl AsRef<str> for ServiceName<'_>
impl AsRef<str> for ServiceName<'_>
Source§impl<'a> Clone for ServiceName<'a>
impl<'a> Clone for ServiceName<'a>
Source§fn clone(&self) -> ServiceName<'a>
fn clone(&self) -> ServiceName<'a>
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<'a> Debug for ServiceName<'a>
impl<'a> Debug for ServiceName<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for ServiceName<'a>
impl<'de: 'a, 'a> Deserialize<'de> for ServiceName<'a>
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 ServiceName<'_>
impl Display for ServiceName<'_>
Source§impl<'a> Ord for ServiceName<'a>
impl<'a> Ord for ServiceName<'a>
Source§fn cmp(&self, other: &ServiceName<'a>) -> Ordering
fn cmp(&self, other: &ServiceName<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for ServiceName<'a>
impl<'a> PartialEq for ServiceName<'a>
Source§impl<'a> PartialOrd for ServiceName<'a>
impl<'a> PartialOrd for ServiceName<'a>
Source§impl ToTokens for ServiceName<'_>
impl ToTokens for ServiceName<'_>
Source§fn to_tokens(&self, stream: &mut TokenStream)
fn to_tokens(&self, stream: &mut TokenStream)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Source§impl<'a> TryFrom<&'a str> for ServiceName<'a>
impl<'a> TryFrom<&'a str> for ServiceName<'a>
impl<'a> Eq for ServiceName<'a>
impl<'a> StructuralPartialEq for ServiceName<'a>
Auto Trait Implementations§
impl<'a> Freeze for ServiceName<'a>
impl<'a> RefUnwindSafe for ServiceName<'a>
impl<'a> Send for ServiceName<'a>
impl<'a> Sync for ServiceName<'a>
impl<'a> Unpin for ServiceName<'a>
impl<'a> UnsafeUnpin for ServiceName<'a>
impl<'a> UnwindSafe for ServiceName<'a>
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.Source§impl<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty.