pub struct HashpipeHeaderNormalization {
pub prefix: String,
pub header_line_count: usize,
pub header_byte_span: Range<usize>,
pub normalized_yaml: String,
pub line_mappings: Vec<HashpipeLineMapping>,
}Expand description
Result of hashpipe header detection and stripping.
Fields§
§prefix: StringPrefix that was used for detection and stripping.
header_line_count: usizeNumber of contiguous hashpipe header lines consumed from the start.
header_byte_span: Range<usize>Byte span of the detected header in host content.
normalized_yaml: StringPrefix-stripped YAML text with deterministic \n newlines.
line_mappings: Vec<HashpipeLineMapping>Per-line host↔normalized mapping metadata.
Trait Implementations§
Source§impl Clone for HashpipeHeaderNormalization
impl Clone for HashpipeHeaderNormalization
Source§fn clone(&self) -> HashpipeHeaderNormalization
fn clone(&self) -> HashpipeHeaderNormalization
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 Debug for HashpipeHeaderNormalization
impl Debug for HashpipeHeaderNormalization
impl Eq for HashpipeHeaderNormalization
impl StructuralPartialEq for HashpipeHeaderNormalization
Auto Trait Implementations§
impl Freeze for HashpipeHeaderNormalization
impl RefUnwindSafe for HashpipeHeaderNormalization
impl Send for HashpipeHeaderNormalization
impl Sync for HashpipeHeaderNormalization
impl Unpin for HashpipeHeaderNormalization
impl UnsafeUnpin for HashpipeHeaderNormalization
impl UnwindSafe for HashpipeHeaderNormalization
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