pub struct ScopeReport {
pub origin: Origin,
pub path: String,
pub declaration: Declaration,
pub tracked: Tally,
}Expand description
The scope: the declaration as read, its origin, and every tracked file against it.
Fields§
§origin: Originrepository when the manifest names a scope section, distribution for the default.
path: StringThe file the declaration was read from.
declaration: DeclarationThe declaration as read.
tracked: TallyEvery tracked file judged by name and size, counted; the out ones listed.
Trait Implementations§
Source§impl Debug for ScopeReport
impl Debug for ScopeReport
Source§impl<'de> Deserialize<'de> for ScopeReport
impl<'de> Deserialize<'de> for ScopeReport
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
Source§impl JsonSchema for ScopeReport
impl JsonSchema for ScopeReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ScopeReport
impl RefUnwindSafe for ScopeReport
impl Send for ScopeReport
impl Sync for ScopeReport
impl Unpin for ScopeReport
impl UnsafeUnpin for ScopeReport
impl UnwindSafe for ScopeReport
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