SummaryModel

Struct SummaryModel 

Source
pub struct SummaryModel {
Show 34 fields pub id: String, pub project_id: String, pub consignor: String, pub consignor_info: String, pub manufacturer: String, pub manufacturer_info: String, pub test_lab: String, pub test_lab_info: String, pub cn_name: String, pub en_name: String, pub classification: String, pub model: String, pub trademark: String, pub voltage: String, pub capacity: String, pub watt: String, pub color: String, pub shape: String, pub mass: String, pub li_content: String, pub test_report_no: String, pub test_date: String, pub test_manual: String, pub test1: String, pub test2: String, pub test3: String, pub test4: String, pub test5: String, pub test6: String, pub test7: String, pub test8: String, pub un38_f: String, pub un38_g: String, pub note: String,
}

Fields§

§id: String

项目ID

§project_id: String

项目ID

§consignor: String

委托方

§consignor_info: String

委托方信息

§manufacturer: String

制造商

§manufacturer_info: String

制造商信息

§test_lab: String

测试实验室

§test_lab_info: String

测试实验室信息

§cn_name: String

中文名称

§en_name: String

英文名称

§classification: String

电池/电芯类别

§model: String

型号

§trademark: String

商标

§voltage: String

电压

§capacity: String

容量

§watt: String

瓦数

§color: String

颜色

§shape: String

形状

§mass: String

质量

§li_content: String

锂含量

§test_report_no: String

测试报告编号

§test_date: String

测试日期

§test_manual: String

测试标准

§test1: String

测试项目

§test2: String§test3: String§test4: String§test5: String§test6: String§test7: String§test8: String§un38_f: String§un38_g: String§note: String

备注

Implementations§

Source§

impl SummaryModel

Source

pub fn default() -> Self

Trait Implementations§

Source§

impl Clone for SummaryModel

Source§

fn clone(&self) -> SummaryModel

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SummaryModel

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for SummaryModel

Source§

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 SummaryModel

Source§

fn eq(&self, other: &SummaryModel) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for SummaryModel

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for SummaryModel

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,