pub struct HealthCertificate {
pub name: String,
pub subject_sn: String,
pub issuer_organisation: String,
pub valid_from: String,
pub valid_to: String,
pub signature_type_sn: String,
}Expand description
Health Certificate
Fields§
§name: StringCertificate name
subject_sn: StringSubject SN
issuer_organisation: StringIssuer organisation
valid_from: StringValid from
valid_to: StringValid to
signature_type_sn: StringSignature type SN
Implementations§
Source§impl HealthCertificate
impl HealthCertificate
Sourcepub fn subject_sn(&self) -> &String
pub fn subject_sn(&self) -> &String
Get subject_sn
Sourcepub fn issuer_organisation(&self) -> &String
pub fn issuer_organisation(&self) -> &String
Get issuer_organisation
Sourcepub fn valid_from(&self) -> &String
pub fn valid_from(&self) -> &String
Get valid_from
Sourcepub fn signature_type_sn(&self) -> &String
pub fn signature_type_sn(&self) -> &String
Get signature_type_sn
Trait Implementations§
Source§impl Clone for HealthCertificate
impl Clone for HealthCertificate
Source§fn clone(&self) -> HealthCertificate
fn clone(&self) -> HealthCertificate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HealthCertificate
impl Debug for HealthCertificate
Source§impl<'de> Deserialize<'de> for HealthCertificate
impl<'de> Deserialize<'de> for HealthCertificate
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 Serialize for HealthCertificate
impl Serialize for HealthCertificate
impl Model for HealthCertificate
Auto Trait Implementations§
impl Freeze for HealthCertificate
impl RefUnwindSafe for HealthCertificate
impl Send for HealthCertificate
impl Sync for HealthCertificate
impl Unpin for HealthCertificate
impl UnsafeUnpin for HealthCertificate
impl UnwindSafe for HealthCertificate
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