pub struct CatalogEntry {
pub package: String,
pub interface_refs: Vec<String>,
pub inline: bool,
}Expand description
One entry of the ServiceCatalog: the package that declared a service
and the interfaces it names.
interface_refs holds the canonical interface references of the shape
list, in slot order (ADR-0015 decision 12) — each a bare Name for a
same-package or unresolved shape, a fully qualified pkg.Name when the
name resolves through the declaring package’s imports. Service-level
reserved tombstones hold a slot but name no interface, so they do not
appear here; a service with an inline shape carries an empty list
(ridl §14.5). inline tells the inline shape from a list that names no
interface, one holding only tombstones: rsdl’s requires accepts the first
and not the second (rsdl reference §3.2).
Fields§
§package: String§interface_refs: Vec<String>§inline: boolTrait Implementations§
Source§impl Clone for CatalogEntry
impl Clone for CatalogEntry
Source§impl Debug for CatalogEntry
impl Debug for CatalogEntry
impl Eq for CatalogEntry
Source§impl PartialEq for CatalogEntry
impl PartialEq for CatalogEntry
impl StructuralPartialEq for CatalogEntry
Auto Trait Implementations§
impl Freeze for CatalogEntry
impl RefUnwindSafe for CatalogEntry
impl Send for CatalogEntry
impl Sync for CatalogEntry
impl Unpin for CatalogEntry
impl UnsafeUnpin for CatalogEntry
impl UnwindSafe for CatalogEntry
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more