pub struct InfoResponse {
pub app_id: String,
pub instance_id: String,
pub app_cert: String,
pub tcb_info: TcbInfo,
pub app_name: String,
pub device_id: String,
pub mr_aggregated: String,
pub os_image_hash: String,
pub key_provider_info: String,
pub compose_hash: String,
pub vm_config: String,
}Expand description
Response containing instance information and attestation data
Fields§
§app_id: StringThe application identifier
instance_id: StringThe instance identifier
app_cert: StringThe application certificate
tcb_info: TcbInfoTrusted Computing Base information
app_name: StringThe name of the application
device_id: StringThe device identifier
mr_aggregated: StringThe aggregated measurement register
os_image_hash: StringThe hash of the OS image Optional: empty if OS image is not measured by KMS
key_provider_info: StringInformation about the key provider
compose_hash: StringThe hash of the compose configuration
vm_config: StringVM configuration
Implementations§
Source§impl InfoResponse
impl InfoResponse
pub fn validated_from_value(obj: Value) -> Result<InfoResponse, Error>
Trait Implementations§
Source§impl Debug for InfoResponse
impl Debug for InfoResponse
Source§impl<'de> Deserialize<'de> for InfoResponse
impl<'de> Deserialize<'de> for InfoResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InfoResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InfoResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for InfoResponse
impl Serialize for InfoResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for InfoResponse
impl RefUnwindSafe for InfoResponse
impl Send for InfoResponse
impl Sync for InfoResponse
impl Unpin for InfoResponse
impl UnwindSafe for InfoResponse
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more