pub struct CodeReportJson {
pub path: String,
pub size: usize,
pub has_allocator: bool,
pub has_panic: String,
}
Fields§
§path: String
§size: usize
§has_allocator: bool
§has_panic: String
Implementations§
Source§impl CodeReportJson
impl CodeReportJson
pub fn new(report: &ReportCreator, size: usize) -> CodeReportJson
Trait Implementations§
Source§impl Default for CodeReportJson
impl Default for CodeReportJson
Source§fn default() -> CodeReportJson
fn default() -> CodeReportJson
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeReportJson
impl<'de> Deserialize<'de> for CodeReportJson
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
Auto Trait Implementations§
impl Freeze for CodeReportJson
impl RefUnwindSafe for CodeReportJson
impl Send for CodeReportJson
impl Sync for CodeReportJson
impl Unpin for CodeReportJson
impl UnwindSafe for CodeReportJson
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