pub struct ReportAnnotation {
pub file: String,
pub line: usize,
pub tag: String,
pub date: String,
pub owner: Option<String>,
pub message: String,
pub status: String,
}Expand description
A single fuse as stored in the persisted report file. Owned strings — no lifetimes — so it can be deserialized easily.
Fields§
§file: String§line: usize§tag: String§date: String§owner: Option<String>§message: String§status: StringTrait Implementations§
Source§impl Clone for ReportAnnotation
impl Clone for ReportAnnotation
Source§fn clone(&self) -> ReportAnnotation
fn clone(&self) -> ReportAnnotation
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 ReportAnnotation
impl Debug for ReportAnnotation
Source§impl<'de> Deserialize<'de> for ReportAnnotation
impl<'de> Deserialize<'de> for ReportAnnotation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReportAnnotation
impl PartialEq for ReportAnnotation
Source§impl Serialize for ReportAnnotation
impl Serialize for ReportAnnotation
impl Eq for ReportAnnotation
impl StructuralPartialEq for ReportAnnotation
Auto Trait Implementations§
impl Freeze for ReportAnnotation
impl RefUnwindSafe for ReportAnnotation
impl Send for ReportAnnotation
impl Sync for ReportAnnotation
impl Unpin for ReportAnnotation
impl UnsafeUnpin for ReportAnnotation
impl UnwindSafe for ReportAnnotation
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> 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