pub struct Common {
pub kind: Option<String>,
pub version: i64,
pub date: DateTime<FixedOffset>,
pub from: PublicId,
}Expand description
A Common part of every Content format
Fields
kind: Option<String>version: i64A version, to allow future backward-incompatible extensions and changes.
date: DateTime<FixedOffset>Timestamp of proof creation
from: PublicIdAuthor of the proof
Trait Implementations
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 RefUnwindSafe for Common
impl UnwindSafe for Common
Blanket Implementations
Mutably borrows from an owned value. Read more
