pub struct Certification {
pub standard: String,
pub issuer: Option<String>,
pub valid_until: Option<String>,
pub url: Option<String>,
}Expand description
A compliance certification held by the entity.
§Examples
use oas_document::compliance::Certification;
let cert = Certification {
standard: "SOC2 Type II".to_string(),
issuer: Some("Vanta".to_string()),
valid_until: Some("2027-06-30".to_string()),
url: Some("https://acme.com/compliance/soc2".to_string()),
};Fields§
§standard: StringStandard name: "SOC2 Type II", "GDPR", "HIPAA", "ISO 27001".
issuer: Option<String>Issuing body or audit firm.
valid_until: Option<String>Expiry date (ISO 8601 date or datetime).
url: Option<String>URL to certification evidence or public report.
Trait Implementations§
Source§impl Clone for Certification
impl Clone for Certification
Source§impl Debug for Certification
impl Debug for Certification
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
impl Eq for Certification
Source§impl PartialEq for Certification
impl PartialEq for Certification
Source§impl Serialize for Certification
impl Serialize for Certification
impl StructuralPartialEq for Certification
Auto Trait Implementations§
impl Freeze for Certification
impl RefUnwindSafe for Certification
impl Send for Certification
impl Sync for Certification
impl Unpin for Certification
impl UnsafeUnpin 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