pub struct LogSection {
pub name: String,
pub start: usize,
pub end: usize,
pub step: Option<usize>,
}Expand description
One step’s stretch of a job log, as line indices into the text it was parsed from.
Fields§
§name: StringThe step name the marker carries (GitLab: its header text, or its id without one).
start: usizeThe line holding the opening marker.
end: usizeOne past the last line that belongs to the section (a closing marker included).
step: Option<usize>The job step this section was matched to, when parse_step_sections read it.
Implementations§
Trait Implementations§
Source§impl Clone for LogSection
impl Clone for LogSection
Source§impl Debug for LogSection
impl Debug for LogSection
impl Eq for LogSection
Source§impl PartialEq for LogSection
impl PartialEq for LogSection
impl StructuralPartialEq for LogSection
Auto Trait Implementations§
impl Freeze for LogSection
impl RefUnwindSafe for LogSection
impl Send for LogSection
impl Sync for LogSection
impl Unpin for LogSection
impl UnsafeUnpin for LogSection
impl UnwindSafe for LogSection
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