pub struct SourceReport {
pub source: String,
pub items: Vec<String>,
pub truncated: bool,
pub error: Option<String>,
}Expand description
One source that was (or was meant to be) checked against.
Fields§
§source: StringThe source’s display name, e.g. "#1614 and PR #1629".
items: Vec<String>Every item making up this source.
truncated: boolWhether this source’s text was cut at the input cap.
error: Option<String>Why this source could not be checked, if it could not.
Trait Implementations§
Source§impl Clone for SourceReport
impl Clone for SourceReport
Source§impl Debug for SourceReport
impl Debug for SourceReport
Auto Trait Implementations§
impl Freeze for SourceReport
impl RefUnwindSafe for SourceReport
impl Send for SourceReport
impl Sync for SourceReport
impl Unpin for SourceReport
impl UnsafeUnpin for SourceReport
impl UnwindSafe for SourceReport
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,
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> ⓘ
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