pub struct CompletionCatalogEntry {
pub id: String,
pub label: String,
pub detail: Option<String>,
pub documentation: Option<String>,
}Expand description
Caller-owned icon metadata available to completion.
Fields§
§id: StringExact unnamespaced or provider-namespaced Stack icon identifier.
label: StringUser-visible plain-text label.
detail: Option<String>Optional plain-text secondary label.
documentation: Option<String>Optional plain-text documentation.
Trait Implementations§
Source§impl Clone for CompletionCatalogEntry
impl Clone for CompletionCatalogEntry
Source§fn clone(&self) -> CompletionCatalogEntry
fn clone(&self) -> CompletionCatalogEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompletionCatalogEntry
impl Debug for CompletionCatalogEntry
impl Eq for CompletionCatalogEntry
Source§impl PartialEq for CompletionCatalogEntry
impl PartialEq for CompletionCatalogEntry
impl StructuralPartialEq for CompletionCatalogEntry
Auto Trait Implementations§
impl Freeze for CompletionCatalogEntry
impl RefUnwindSafe for CompletionCatalogEntry
impl Send for CompletionCatalogEntry
impl Sync for CompletionCatalogEntry
impl Unpin for CompletionCatalogEntry
impl UnsafeUnpin for CompletionCatalogEntry
impl UnwindSafe for CompletionCatalogEntry
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