pub struct BundleSignatureResponse {
pub public_key: String,
pub signature: String,
}Expand description
A signature over a bundle manifest.
JSON schema
{
"description": "A signature over a bundle manifest.",
"type": "object",
"required": [
"publicKey",
"signature"
],
"properties": {
"publicKey": {
"description": "`ed25519:<base64>` public key that verifies it.",
"type": "string"
},
"signature": {
"description": "`ed25519:<base64>` signature over the manifest bytes.",
"type": "string"
}
}
}Fields§
§public_key: Stringed25519:<base64> public key that verifies it.
signature: Stringed25519:<base64> signature over the manifest bytes.
Implementations§
Source§impl BundleSignatureResponse
impl BundleSignatureResponse
pub fn builder() -> BundleSignatureResponse
Trait Implementations§
Source§impl Clone for BundleSignatureResponse
impl Clone for BundleSignatureResponse
Source§impl Debug for BundleSignatureResponse
impl Debug for BundleSignatureResponse
Source§impl<'de> Deserialize<'de> for BundleSignatureResponse
impl<'de> Deserialize<'de> for BundleSignatureResponse
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
Source§impl From<&BundleSignatureResponse> for BundleSignatureResponse
impl From<&BundleSignatureResponse> for BundleSignatureResponse
Source§fn from(value: &BundleSignatureResponse) -> Self
fn from(value: &BundleSignatureResponse) -> Self
Converts to this type from the input type.
Source§impl From<BundleSignatureResponse> for BundleSignatureResponse
impl From<BundleSignatureResponse> for BundleSignatureResponse
Source§fn from(value: BundleSignatureResponse) -> Self
fn from(value: BundleSignatureResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for BundleSignatureResponse
impl Serialize for BundleSignatureResponse
Source§impl TryFrom<BundleSignatureResponse> for BundleSignatureResponse
impl TryFrom<BundleSignatureResponse> for BundleSignatureResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: BundleSignatureResponse) -> Result<Self, ConversionError>
fn try_from(value: BundleSignatureResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for BundleSignatureResponse
impl Freeze for BundleSignatureResponse
impl RefUnwindSafe for BundleSignatureResponse
impl Send for BundleSignatureResponse
impl Sync for BundleSignatureResponse
impl Unpin for BundleSignatureResponse
impl UnsafeUnpin for BundleSignatureResponse
impl UnwindSafe for BundleSignatureResponse
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