pub struct ListJsonOutputInput<Boundaries, Diagnostic> {
pub plugins: Option<Vec<String>>,
pub files: Option<Vec<String>>,
pub entry_points: Option<Vec<ListEntryPointOutput>>,
pub boundaries: Option<Boundaries>,
pub entry_weight: Option<EntryWeightListing>,
pub workspaces: Option<WorkspacesOutput<Diagnostic>>,
pub plugin_diagnostics: Vec<Diagnostic>,
}Expand description
Section data for serializing a fallow list --format json payload.
Fields§
§plugins: Option<Vec<String>>Detected plugin names; None omits the plugins section entirely.
files: Option<Vec<String>>Analyzed file paths; None omits the files section and its count.
entry_points: Option<Vec<ListEntryPointOutput>>Resolved entry points with the source that declared each one; None
omits the section and its count.
boundaries: Option<Boundaries>Boundaries listing payload; None omits the section.
entry_weight: Option<EntryWeightListing>Startup import weight per runtime entry; None omits the section.
workspaces: Option<WorkspacesOutput<Diagnostic>>Workspace listing whose count, members, and diagnostics are flattened
into the output body; None omits all three fields.
plugin_diagnostics: Vec<Diagnostic>Diagnostics the plugin stage recorded (plugin-config-unreadable,
plugin-effect-not-modeled), appended to workspace_diagnostics.
When the workspace listing is absent, a non-empty set still emits
workspace_diagnostics, so a listing of plugins or entry points states
the plugin problem that shaped it.
Auto Trait Implementations§
impl<Boundaries, Diagnostic> Freeze for ListJsonOutputInput<Boundaries, Diagnostic>
impl<Boundaries, Diagnostic> RefUnwindSafe for ListJsonOutputInput<Boundaries, Diagnostic>where
Option<Boundaries>: RefUnwindSafe,
Option<WorkspacesOutput<Diagnostic>>: RefUnwindSafe,
Vec<Diagnostic>: RefUnwindSafe,
impl<Boundaries, Diagnostic> Send for ListJsonOutputInput<Boundaries, Diagnostic>
impl<Boundaries, Diagnostic> Sync for ListJsonOutputInput<Boundaries, Diagnostic>
impl<Boundaries, Diagnostic> Unpin for ListJsonOutputInput<Boundaries, Diagnostic>
impl<Boundaries, Diagnostic> UnsafeUnpin for ListJsonOutputInput<Boundaries, Diagnostic>where
Option<Boundaries>: UnsafeUnpin,
Option<WorkspacesOutput<Diagnostic>>: UnsafeUnpin,
Vec<Diagnostic>: UnsafeUnpin,
impl<Boundaries, Diagnostic> UnwindSafe for ListJsonOutputInput<Boundaries, Diagnostic>where
Option<Boundaries>: UnwindSafe,
Option<WorkspacesOutput<Diagnostic>>: UnwindSafe,
Vec<Diagnostic>: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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