pub struct LeanWorkerDeclarationInspectionFields {
pub source: bool,
pub statement: bool,
pub docstring: bool,
pub attributes: bool,
pub flags: bool,
pub rendering: LeanWorkerRendering,
pub proof_search: bool,
}Expand description
Field selection for one declaration inspection request.
Fields§
§source: bool§statement: bool§docstring: bool§attributes: bool§flags: bool§rendering: LeanWorkerRenderingHow to render statement. Defaults to
LeanWorkerRendering::Pretty (notation-aware, pp.universes false),
which falls back to LeanWorkerRendering::Raw when the pretty-printer
cannot render the term. Request Raw for the fully-elaborated form.
proof_search: boolInclude proof-search-oriented facts such as simp/rw/instance/class. Defaults off because these facts may initialize expensive persistent extension or derived-index state.
Trait Implementations§
Source§impl Clone for LeanWorkerDeclarationInspectionFields
impl Clone for LeanWorkerDeclarationInspectionFields
Source§fn clone(&self) -> LeanWorkerDeclarationInspectionFields
fn clone(&self) -> LeanWorkerDeclarationInspectionFields
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 moreimpl Copy for LeanWorkerDeclarationInspectionFields
Source§impl Default for LeanWorkerDeclarationInspectionFields
impl Default for LeanWorkerDeclarationInspectionFields
Source§fn default() -> LeanWorkerDeclarationInspectionFields
fn default() -> LeanWorkerDeclarationInspectionFields
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LeanWorkerDeclarationInspectionFields
impl<'de> Deserialize<'de> for LeanWorkerDeclarationInspectionFields
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerDeclarationInspectionFields, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerDeclarationInspectionFields, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerDeclarationInspectionFields
Source§impl PartialEq for LeanWorkerDeclarationInspectionFields
impl PartialEq for LeanWorkerDeclarationInspectionFields
Source§fn eq(&self, other: &LeanWorkerDeclarationInspectionFields) -> bool
fn eq(&self, other: &LeanWorkerDeclarationInspectionFields) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerDeclarationInspectionFields
impl Serialize for LeanWorkerDeclarationInspectionFields
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LeanWorkerDeclarationInspectionFields
Auto Trait Implementations§
impl Freeze for LeanWorkerDeclarationInspectionFields
impl RefUnwindSafe for LeanWorkerDeclarationInspectionFields
impl Send for LeanWorkerDeclarationInspectionFields
impl Sync for LeanWorkerDeclarationInspectionFields
impl Unpin for LeanWorkerDeclarationInspectionFields
impl UnsafeUnpin for LeanWorkerDeclarationInspectionFields
impl UnwindSafe for LeanWorkerDeclarationInspectionFields
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