pub struct ProviderStatus {
pub enabled: bool,
pub weight: f64,
pub category: Option<String>,
pub label: Option<String>,
pub cors_readable: Option<bool>,
pub access: Option<String>,
}Expand description
Provider status information, enriched with registry metadata.
Fields§
§enabled: boolWhether the provider is enabled
weight: f64Provider weight for reranking
category: Option<String>Provider category (one of the registry categories)
label: Option<String>Human-readable label
cors_readable: Option<bool>Whether the endpoint is browser-CORS readable
access: Option<String>How results are obtained (api, html, hybrid, component, …)
Trait Implementations§
Source§impl Clone for ProviderStatus
impl Clone for ProviderStatus
Source§fn clone(&self) -> ProviderStatus
fn clone(&self) -> ProviderStatus
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 ProviderStatus
impl Debug for ProviderStatus
Auto Trait Implementations§
impl Freeze for ProviderStatus
impl RefUnwindSafe for ProviderStatus
impl Send for ProviderStatus
impl Sync for ProviderStatus
impl Unpin for ProviderStatus
impl UnsafeUnpin for ProviderStatus
impl UnwindSafe for ProviderStatus
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