pub struct Certification {
pub cert_id: Option<String>,
pub standard: Option<String>,
pub certifying_body: Option<String>,
pub issue_date: Option<DateTime<Utc>>,
pub expiry_date: Option<DateTime<Utc>>,
pub is_valid: Option<bool>,
pub scope: Option<String>,
pub document_ref: Option<String>,
}Expand description
Certification record.
Fields§
§cert_id: Option<String>Certification ID
standard: Option<String>Standard name (e.g., “ISO 13482”, “CE”, “UL”)
certifying_body: Option<String>Certification body
issue_date: Option<DateTime<Utc>>Issue date
expiry_date: Option<DateTime<Utc>>Expiry date
is_valid: Option<bool>Whether currently valid
scope: Option<String>Certification scope
document_ref: Option<String>Document reference
Implementations§
Source§impl Certification
impl Certification
Trait Implementations§
Source§impl Clone for Certification
impl Clone for Certification
Source§fn clone(&self) -> Certification
fn clone(&self) -> Certification
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 Certification
impl Debug for Certification
Source§impl Default for Certification
impl Default for Certification
Source§fn default() -> Certification
fn default() -> Certification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Certification
impl<'de> Deserialize<'de> for Certification
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 Certification
impl RefUnwindSafe for Certification
impl Send for Certification
impl Sync for Certification
impl Unpin for Certification
impl UnwindSafe for Certification
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