Struct crev_data::proof::content::CommonBuilder
source · pub struct CommonBuilder { /* private fields */ }
Expand description
Builder for Common
.
Implementations§
source§impl CommonBuilder
impl CommonBuilder
sourcepub fn kind(&mut self, value: Option<String>) -> &mut Self
pub fn kind(&mut self, value: Option<String>) -> &mut Self
Type of this review/trust/whatever file
sourcepub fn version(&mut self, value: i64) -> &mut Self
pub fn version(&mut self, value: i64) -> &mut Self
A version, to allow future backward-incompatible extensions and changes.
sourcepub fn date(&mut self, value: DateTime<FixedOffset>) -> &mut Self
pub fn date(&mut self, value: DateTime<FixedOffset>) -> &mut Self
Timestamp of proof creation
sourcepub fn original(&mut self, value: Option<OriginalReference>) -> &mut Self
pub fn original(&mut self, value: Option<OriginalReference>) -> &mut Self
Reference to original proof when reissuing
Trait Implementations§
source§impl Clone for CommonBuilder
impl Clone for CommonBuilder
source§fn clone(&self) -> CommonBuilder
fn clone(&self) -> CommonBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for CommonBuilder
impl RefUnwindSafe for CommonBuilder
impl Send for CommonBuilder
impl Sync for CommonBuilder
impl Unpin for CommonBuilder
impl UnwindSafe for CommonBuilder
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