pub struct SignedReleaseIndexWithGenerationV1 {
pub schema_version: u32,
pub release_generation: u64,
pub index: SignedReleaseIndex,
pub lifecycle_signature: String,
}Expand description
A signed v3 index plus a monotonic generation used for rollback protection.
Fields§
§schema_version: u32§release_generation: u64§index: SignedReleaseIndex§lifecycle_signature: StringLowercase hexadecimal signature over the lifecycle envelope fields and the embedded signed index. This binds the generation to the publisher.
Implementations§
Source§impl SignedReleaseIndexWithGenerationV1
impl SignedReleaseIndexWithGenerationV1
pub fn validate_shape(&self) -> Result<(), &'static str>
Trait Implementations§
Source§impl Clone for SignedReleaseIndexWithGenerationV1
impl Clone for SignedReleaseIndexWithGenerationV1
Source§fn clone(&self) -> SignedReleaseIndexWithGenerationV1
fn clone(&self) -> SignedReleaseIndexWithGenerationV1
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<'de> Deserialize<'de> for SignedReleaseIndexWithGenerationV1
impl<'de> Deserialize<'de> for SignedReleaseIndexWithGenerationV1
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 SignedReleaseIndexWithGenerationV1
impl StructuralPartialEq for SignedReleaseIndexWithGenerationV1
Auto Trait Implementations§
impl Freeze for SignedReleaseIndexWithGenerationV1
impl RefUnwindSafe for SignedReleaseIndexWithGenerationV1
impl Send for SignedReleaseIndexWithGenerationV1
impl Sync for SignedReleaseIndexWithGenerationV1
impl Unpin for SignedReleaseIndexWithGenerationV1
impl UnsafeUnpin for SignedReleaseIndexWithGenerationV1
impl UnwindSafe for SignedReleaseIndexWithGenerationV1
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