pub struct ParseReport<'a> {
pub robots: RobotsTxt<'a>,
pub warnings: Vec<ParseWarning<'a>>,
}Expand description
Parsed rules plus any diagnostics collected during parsing.
Returned by diagnostics APIs. The parser output remains available even when warnings were emitted.
Fields§
§robots: RobotsTxt<'a>Parsed robots.txt rules and extension metadata.
warnings: Vec<ParseWarning<'a>>Recoverable parse warnings in source order.
Trait Implementations§
Source§impl<'a> Clone for ParseReport<'a>
impl<'a> Clone for ParseReport<'a>
Source§fn clone(&self) -> ParseReport<'a>
fn clone(&self) -> ParseReport<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ParseReport<'a>
impl<'a> Debug for ParseReport<'a>
Source§impl<'a> PartialEq for ParseReport<'a>
impl<'a> PartialEq for ParseReport<'a>
impl<'a> Eq for ParseReport<'a>
impl<'a> StructuralPartialEq for ParseReport<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParseReport<'a>
impl<'a> RefUnwindSafe for ParseReport<'a>
impl<'a> Send for ParseReport<'a>
impl<'a> Sync for ParseReport<'a>
impl<'a> Unpin for ParseReport<'a>
impl<'a> UnsafeUnpin for ParseReport<'a>
impl<'a> UnwindSafe for ParseReport<'a>
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