pub struct JsonFuse<'a> {
pub file: String,
pub line: usize,
pub tag: &'a str,
pub date: String,
pub days: i64,
pub owner: Option<&'a str>,
pub blamed_owner: Option<&'a str>,
pub message: &'a str,
pub status: &'a str,
}Expand description
A single fuse serialized for JSON output.
Fields§
§file: String§line: usize§tag: &'a str§date: String§days: i64Days until expiry (positive) or overdue (negative).
owner: Option<&'a str>§blamed_owner: Option<&'a str>§message: &'a str§status: &'a strTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for JsonFuse<'a>
impl<'a> RefUnwindSafe for JsonFuse<'a>
impl<'a> Send for JsonFuse<'a>
impl<'a> Sync for JsonFuse<'a>
impl<'a> Unpin for JsonFuse<'a>
impl<'a> UnsafeUnpin for JsonFuse<'a>
impl<'a> UnwindSafe for JsonFuse<'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
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