pub struct SignedCertificateTimestampBuilder { /* private fields */ }Expand description
Builder for SignedCertificateTimestamp.
Implementations§
Source§impl SignedCertificateTimestampBuilder
impl SignedCertificateTimestampBuilder
Sourcepub fn log_description<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn log_description<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Log name / description.
Sourcepub fn timestamp<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
pub fn timestamp<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
Issuance date. Unlike TimeSinceEpoch, this contains the number of milliseconds since January 1, 1970, UTC, not the number of seconds.
Sourcepub fn hash_algorithm<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn hash_algorithm<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Hash algorithm.
Sourcepub fn signature_algorithm<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn signature_algorithm<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Signature algorithm.
Sourcepub fn signature_data<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn signature_data<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Signature data.
Sourcepub fn build(
&self,
) -> Result<SignedCertificateTimestamp, SignedCertificateTimestampBuilderError>
pub fn build( &self, ) -> Result<SignedCertificateTimestamp, SignedCertificateTimestampBuilderError>
Trait Implementations§
Source§impl Clone for SignedCertificateTimestampBuilder
impl Clone for SignedCertificateTimestampBuilder
Source§fn clone(&self) -> SignedCertificateTimestampBuilder
fn clone(&self) -> SignedCertificateTimestampBuilder
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 moreAuto Trait Implementations§
impl Freeze for SignedCertificateTimestampBuilder
impl RefUnwindSafe for SignedCertificateTimestampBuilder
impl Send for SignedCertificateTimestampBuilder
impl Sync for SignedCertificateTimestampBuilder
impl Unpin for SignedCertificateTimestampBuilder
impl UnsafeUnpin for SignedCertificateTimestampBuilder
impl UnwindSafe for SignedCertificateTimestampBuilder
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