pub enum GetReleaseIntegrityResponse {
Variant0 {
assets: Vec<GetReleaseIntegrityResponseVariant0AssetsItem>,
jws: String,
slug: String,
version: String,
},
Variant1 {
assets: Map<String, Value>,
slug: String,
version: String,
},
}Expand description
GetReleaseIntegrityResponse
JSON schema
{
"anyOf": [
{
"type": "object",
"required": [
"assets",
"jws",
"slug",
"version"
],
"properties": {
"assets": {
"type": "array",
"items": {
"type": "object",
"required": [
"attestation_bundle",
"name",
"sha256",
"size"
],
"properties": {
"attestation_bundle": {},
"name": {
"type": "string"
},
"sha256": {
"type": "string"
},
"size": {
"type": "number"
}
}
}
},
"jws": {
"type": "string"
},
"slug": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"assets",
"slug",
"version"
],
"properties": {
"assets": {
"type": "object"
},
"slug": {
"type": "string"
},
"version": {
"type": "string"
}
}
}
]
}Variants§
Trait Implementations§
Source§impl Clone for GetReleaseIntegrityResponse
impl Clone for GetReleaseIntegrityResponse
Source§fn clone(&self) -> GetReleaseIntegrityResponse
fn clone(&self) -> GetReleaseIntegrityResponse
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 GetReleaseIntegrityResponse
impl Debug for GetReleaseIntegrityResponse
Source§impl<'de> Deserialize<'de> for GetReleaseIntegrityResponse
impl<'de> Deserialize<'de> for GetReleaseIntegrityResponse
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<&GetReleaseIntegrityResponse> for GetReleaseIntegrityResponse
impl From<&GetReleaseIntegrityResponse> for GetReleaseIntegrityResponse
Source§fn from(value: &GetReleaseIntegrityResponse) -> Self
fn from(value: &GetReleaseIntegrityResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetReleaseIntegrityResponse
impl RefUnwindSafe for GetReleaseIntegrityResponse
impl Send for GetReleaseIntegrityResponse
impl Sync for GetReleaseIntegrityResponse
impl Unpin for GetReleaseIntegrityResponse
impl UnsafeUnpin for GetReleaseIntegrityResponse
impl UnwindSafe for GetReleaseIntegrityResponse
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