pub struct SignedReleaseReference {
pub version: u8,
pub release_commitment_sha256: [u8; 32],
pub key_id: Vec<u8>,
pub signature: Vec<u8>,
}Expand description
One blanket signed-release reference covering the release commitment
(see record_core::commitment::release_commitment). SHA-256 and Ed25519
are fixed by SIGNED_RELEASE_REFERENCE_VERSION; there is no per-reference
algorithm selector.
Fields§
§version: u8§release_commitment_sha256: [u8; 32]§key_id: Vec<u8>§signature: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for SignedReleaseReference
impl Clone for SignedReleaseReference
Source§fn clone(&self) -> SignedReleaseReference
fn clone(&self) -> SignedReleaseReference
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 SignedReleaseReference
impl Debug for SignedReleaseReference
Source§impl<'de> Deserialize<'de> for SignedReleaseReference
impl<'de> Deserialize<'de> for SignedReleaseReference
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 SignedReleaseReference
Source§impl PartialEq for SignedReleaseReference
impl PartialEq for SignedReleaseReference
Source§fn eq(&self, other: &SignedReleaseReference) -> bool
fn eq(&self, other: &SignedReleaseReference) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignedReleaseReference
impl Serialize for SignedReleaseReference
impl StructuralPartialEq for SignedReleaseReference
Auto Trait Implementations§
impl Freeze for SignedReleaseReference
impl RefUnwindSafe for SignedReleaseReference
impl Send for SignedReleaseReference
impl Sync for SignedReleaseReference
impl Unpin for SignedReleaseReference
impl UnsafeUnpin for SignedReleaseReference
impl UnwindSafe for SignedReleaseReference
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