pub struct ExternalKeyContextV1 {
pub format_version: u16,
pub collection_index_ref: CollectionIndexRef,
pub content_key_id: ContentKeyIdV1,
pub content_key_generation: u64,
pub binding_id: ExternalKeyBindingIdV1,
pub binding_generation: u64,
pub access_generation: u64,
pub object_context_digest: [u8; 32],
}Expand description
Exact non-secret context authenticated by the external resolver.
Fields§
§format_version: u16§collection_index_ref: CollectionIndexRef§content_key_id: ContentKeyIdV1§content_key_generation: u64§binding_id: ExternalKeyBindingIdV1§binding_generation: u64§access_generation: u64§object_context_digest: [u8; 32]Implementations§
Source§impl ExternalKeyContextV1
impl ExternalKeyContextV1
pub fn validate(self) -> Result<(), LifecycleContractError>
pub fn digest( self, ) -> Result<ExternalKeyContextDigestV1, LifecycleContractError>
Trait Implementations§
Source§impl Clone for ExternalKeyContextV1
impl Clone for ExternalKeyContextV1
impl Copy for ExternalKeyContextV1
Source§impl Debug for ExternalKeyContextV1
impl Debug for ExternalKeyContextV1
Source§impl<'de> Deserialize<'de> for ExternalKeyContextV1
impl<'de> Deserialize<'de> for ExternalKeyContextV1
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 ExternalKeyContextV1
Source§impl PartialEq for ExternalKeyContextV1
impl PartialEq for ExternalKeyContextV1
Source§impl Serialize for ExternalKeyContextV1
impl Serialize for ExternalKeyContextV1
impl StructuralPartialEq for ExternalKeyContextV1
Auto Trait Implementations§
impl Freeze for ExternalKeyContextV1
impl RefUnwindSafe for ExternalKeyContextV1
impl Send for ExternalKeyContextV1
impl Sync for ExternalKeyContextV1
impl Unpin for ExternalKeyContextV1
impl UnsafeUnpin for ExternalKeyContextV1
impl UnwindSafe for ExternalKeyContextV1
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