pub struct ServiceIdentifier<'a> {
pub vendor_name: VendorName<'a>,
pub service_name: ServiceName<'a>,
}Fields§
§vendor_name: VendorName<'a>§service_name: ServiceName<'a>Implementations§
Source§impl ServiceIdentifier<'_>
impl ServiceIdentifier<'_>
pub fn provides(&self, resource_type: &ResourceTypeName<'_>) -> bool
Trait Implementations§
Source§impl<'a> Clone for ServiceIdentifier<'a>
impl<'a> Clone for ServiceIdentifier<'a>
Source§fn clone(&self) -> ServiceIdentifier<'a>
fn clone(&self) -> ServiceIdentifier<'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 ServiceIdentifier<'a>
impl<'a> Debug for ServiceIdentifier<'a>
Source§impl Display for ServiceIdentifier<'_>
impl Display for ServiceIdentifier<'_>
Source§impl<'a> Ord for ServiceIdentifier<'a>
impl<'a> Ord for ServiceIdentifier<'a>
Source§fn cmp(&self, other: &ServiceIdentifier<'a>) -> Ordering
fn cmp(&self, other: &ServiceIdentifier<'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 ServiceIdentifier<'a>
impl<'a> PartialEq for ServiceIdentifier<'a>
Source§impl<'a> PartialOrd for ServiceIdentifier<'a>
impl<'a> PartialOrd for ServiceIdentifier<'a>
Source§impl ToTokens for ServiceIdentifier<'_>
impl ToTokens for ServiceIdentifier<'_>
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 ServiceIdentifier<'a>
impl<'a> TryFrom<&'a str> for ServiceIdentifier<'a>
impl<'a> Eq for ServiceIdentifier<'a>
impl<'a> StructuralPartialEq for ServiceIdentifier<'a>
Auto Trait Implementations§
impl<'a> Freeze for ServiceIdentifier<'a>
impl<'a> RefUnwindSafe for ServiceIdentifier<'a>
impl<'a> Send for ServiceIdentifier<'a>
impl<'a> Sync for ServiceIdentifier<'a>
impl<'a> Unpin for ServiceIdentifier<'a>
impl<'a> UnwindSafe for ServiceIdentifier<'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.