pub struct LeanWorkerDeclarationInspectionRequest {
pub name: String,
pub fields: LeanWorkerDeclarationInspectionFields,
pub budgets: LeanWorkerOutputBudgets,
}Expand description
Bounded request to inspect one selected declaration.
Fields§
§name: String§fields: LeanWorkerDeclarationInspectionFields§budgets: LeanWorkerOutputBudgetsImplementations§
Source§impl LeanWorkerDeclarationInspectionRequest
impl LeanWorkerDeclarationInspectionRequest
Sourcepub fn new(name: impl Into<String>) -> LeanWorkerDeclarationInspectionRequest
pub fn new(name: impl Into<String>) -> LeanWorkerDeclarationInspectionRequest
Inspect one declaration with the default field set and output budgets.
Trait Implementations§
Source§impl Clone for LeanWorkerDeclarationInspectionRequest
impl Clone for LeanWorkerDeclarationInspectionRequest
Source§fn clone(&self) -> LeanWorkerDeclarationInspectionRequest
fn clone(&self) -> LeanWorkerDeclarationInspectionRequest
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<'de> Deserialize<'de> for LeanWorkerDeclarationInspectionRequest
impl<'de> Deserialize<'de> for LeanWorkerDeclarationInspectionRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerDeclarationInspectionRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerDeclarationInspectionRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerDeclarationInspectionRequest
Source§impl PartialEq for LeanWorkerDeclarationInspectionRequest
impl PartialEq for LeanWorkerDeclarationInspectionRequest
Source§fn eq(&self, other: &LeanWorkerDeclarationInspectionRequest) -> bool
fn eq(&self, other: &LeanWorkerDeclarationInspectionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerDeclarationInspectionRequest
impl Serialize for LeanWorkerDeclarationInspectionRequest
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 LeanWorkerDeclarationInspectionRequest
Auto Trait Implementations§
impl Freeze for LeanWorkerDeclarationInspectionRequest
impl RefUnwindSafe for LeanWorkerDeclarationInspectionRequest
impl Send for LeanWorkerDeclarationInspectionRequest
impl Sync for LeanWorkerDeclarationInspectionRequest
impl Unpin for LeanWorkerDeclarationInspectionRequest
impl UnsafeUnpin for LeanWorkerDeclarationInspectionRequest
impl UnwindSafe for LeanWorkerDeclarationInspectionRequest
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