pub struct CertReplace {
pub revoke: Hash,
pub replace_with: Hash,
}
Expand description
A certificate replacement statement. Replace the certificate under the
revoke
hash with the one at the replace_with
hash. Replacement should
fail if the revoke
& replace_with
hashes don’t share the exact same
subject/context/key/signer set.
Fields§
§revoke: Hash
§replace_with: Hash
Trait Implementations§
Source§impl Clone for CertReplace
impl Clone for CertReplace
Source§fn clone(&self) -> CertReplace
fn clone(&self) -> CertReplace
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 moreSource§impl Debug for CertReplace
impl Debug for CertReplace
Source§impl<'de> Deserialize<'de> for CertReplace
impl<'de> Deserialize<'de> for CertReplace
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
Auto Trait Implementations§
impl Freeze for CertReplace
impl RefUnwindSafe for CertReplace
impl Send for CertReplace
impl Sync for CertReplace
impl Unpin for CertReplace
impl UnwindSafe for CertReplace
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