pub struct SignedRotation {
pub bytes: Vec<u8>,
pub sig_old: Vec<u8>,
pub sig_new: Vec<u8>,
}Expand description
A SignedRootRotation in JSON (§4.6): {bytes, sig_old, sig_new}, all base64url.
Kept undecoded, like crate::json::SignedJson; the signed module verifies it.
Fields§
§bytes: Vec<u8>Canonical bytes of the RootRotation.
sig_old: Vec<u8>Signature by the retiring root key.
sig_new: Vec<u8>Signature by the new root key.
Trait Implementations§
Source§impl Clone for SignedRotation
impl Clone for SignedRotation
Source§fn clone(&self) -> SignedRotation
fn clone(&self) -> SignedRotation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SignedRotation
impl Debug for SignedRotation
Source§impl<'de> Deserialize<'de> for SignedRotation
impl<'de> Deserialize<'de> for SignedRotation
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 SignedRotation
Source§impl PartialEq for SignedRotation
impl PartialEq for SignedRotation
Source§impl Serialize for SignedRotation
impl Serialize for SignedRotation
impl StructuralPartialEq for SignedRotation
Auto Trait Implementations§
impl Freeze for SignedRotation
impl RefUnwindSafe for SignedRotation
impl Send for SignedRotation
impl Sync for SignedRotation
impl Unpin for SignedRotation
impl UnsafeUnpin for SignedRotation
impl UnwindSafe for SignedRotation
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