pub struct RegistryEntry {
pub id: String,
pub label: String,
pub category: String,
pub cors_readable: bool,
pub default_for_category: bool,
pub access: String,
}Expand description
Public metadata describing a single registered provider.
Fields§
§id: StringStable provider id.
label: StringHuman-readable label.
category: StringProvider category (one of CATEGORIES).
cors_readable: boolWhether the endpoint is browser-CORS readable.
default_for_category: boolWhether this is its category’s default provider.
access: StringHow results are obtained (api, html, hybrid, component, …).
Trait Implementations§
Source§impl Clone for RegistryEntry
impl Clone for RegistryEntry
Source§fn clone(&self) -> RegistryEntry
fn clone(&self) -> RegistryEntry
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 RegistryEntry
impl Debug for RegistryEntry
Auto Trait Implementations§
impl Freeze for RegistryEntry
impl RefUnwindSafe for RegistryEntry
impl Send for RegistryEntry
impl Sync for RegistryEntry
impl Unpin for RegistryEntry
impl UnsafeUnpin for RegistryEntry
impl UnwindSafe for RegistryEntry
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