pub struct Discovery {Show 16 fields
pub schemas_available: bool,
pub validation_available: bool,
pub validation_defaults: ValidationBudget,
pub schema: u32,
pub languages: Vec<LanguageId>,
pub commands: Vec<Capability>,
pub page_defaults: PageBudget,
pub page_maximum: PageBudget,
pub work_defaults: WorkBudget,
pub work_maximum: WorkBudget,
pub query_retention: QueryLimits,
pub plan_retention: PlanLimits,
pub context_defaults: ContextBudget,
pub context_maximum: ContextBudget,
pub min_output_bytes: usize,
pub max_output_bytes: usize,
}Fields§
§schemas_available: bool§validation_available: bool§validation_defaults: ValidationBudget§schema: u32§languages: Vec<LanguageId>§commands: Vec<Capability>§page_defaults: PageBudget§page_maximum: PageBudget§work_defaults: WorkBudget§work_maximum: WorkBudget§query_retention: QueryLimits§plan_retention: PlanLimits§context_defaults: ContextBudget§context_maximum: ContextBudget§min_output_bytes: usize§max_output_bytes: usizeTrait Implementations§
Source§impl<'de> Deserialize<'de> for Discovery
impl<'de> Deserialize<'de> for Discovery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Discovery
impl StructuralPartialEq for Discovery
Auto Trait Implementations§
impl Freeze for Discovery
impl RefUnwindSafe for Discovery
impl Send for Discovery
impl Sync for Discovery
impl Unpin for Discovery
impl UnsafeUnpin for Discovery
impl UnwindSafe for Discovery
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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