pub struct RegistryEnvelope {
pub schema_version: u32,
pub payload: String,
pub sha256: String,
pub signature: String,
}Expand description
Signed registry response. The signature covers the decoded payload bytes exactly.
Fields§
§schema_version: u32§payload: String§sha256: String§signature: StringTrait Implementations§
Source§impl Clone for RegistryEnvelope
impl Clone for RegistryEnvelope
Source§impl Debug for RegistryEnvelope
impl Debug for RegistryEnvelope
Source§impl<'de> Deserialize<'de> for RegistryEnvelope
impl<'de> Deserialize<'de> for RegistryEnvelope
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 RegistryEnvelope
Source§impl PartialEq for RegistryEnvelope
impl PartialEq for RegistryEnvelope
Source§impl Serialize for RegistryEnvelope
impl Serialize for RegistryEnvelope
impl StructuralPartialEq for RegistryEnvelope
Auto Trait Implementations§
impl Freeze for RegistryEnvelope
impl RefUnwindSafe for RegistryEnvelope
impl Send for RegistryEnvelope
impl Sync for RegistryEnvelope
impl Unpin for RegistryEnvelope
impl UnsafeUnpin for RegistryEnvelope
impl UnwindSafe for RegistryEnvelope
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