#[non_exhaustive]pub struct FacetedEntry {
pub kind: CatalogKind,
pub name: String,
pub hash: Option<String>,
pub facets: Facets,
pub first_bound: Option<String>,
pub source_name: Option<String>,
}Expand description
A catalogue entry that has facets, as Store::catalog_entries_with_facets
lists it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: CatalogKindClass, method or function.
name: StringThe full name.
hash: Option<String>The catalogue’s hash of the entry (a function’s or a class’s), when it has one.
facets: FacetsIts facets; at least one key.
first_bound: Option<String>The instant of the earliest binding of the name (of a class for a class, of a function
or method otherwise); None when the name was never bound.
source_name: Option<String>The entry’s source_name, when it has one. Since 0.6.0.
Trait Implementations§
Source§impl Clone for FacetedEntry
impl Clone for FacetedEntry
Source§impl Debug for FacetedEntry
impl Debug for FacetedEntry
impl Eq for FacetedEntry
Source§impl PartialEq for FacetedEntry
impl PartialEq for FacetedEntry
impl StructuralPartialEq for FacetedEntry
Auto Trait Implementations§
impl Forget for FacetedEntry
impl Freeze for FacetedEntry
impl Move for FacetedEntry
impl RefUnwindSafe for FacetedEntry
impl Send for FacetedEntry
impl Sync for FacetedEntry
impl Unpin for FacetedEntry
impl UnsafeUnpin for FacetedEntry
impl UnwindSafe for FacetedEntry
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