pub struct SegmentId {
pub code: String,
pub version: u16,
pub number: u16,
}Available on non-crate feature
tooling only.Expand description
The segment an error belongs to, as read from its header.
Fields§
§code: String§version: u16§number: u16Segment number from the header (position in the message).
Trait Implementations§
impl Eq for SegmentId
impl StructuralPartialEq for SegmentId
Auto Trait Implementations§
impl Forget for SegmentId
impl Freeze for SegmentId
impl Move for SegmentId
impl RefUnwindSafe for SegmentId
impl Send for SegmentId
impl Sync for SegmentId
impl Unpin for SegmentId
impl UnsafeUnpin for SegmentId
impl UnwindSafe for SegmentId
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