pub struct ConfigIdentityV2 {
pub version: u16,
pub resolved_config_digest: String,
pub policy_digest: Evidence<String>,
pub preset: Evidence<String>,
pub protection_state: Evidence<String>,
}Expand description
Canonical resolved configuration and policy identity.
Fields§
§version: u16§resolved_config_digest: String§policy_digest: Evidence<String>§preset: Evidence<String>§protection_state: Evidence<String>Implementations§
Source§impl ConfigIdentityV2
impl ConfigIdentityV2
Sourcepub fn capture(input: ConfigIdentityInput<'_>) -> Self
pub fn capture(input: ConfigIdentityInput<'_>) -> Self
Capture resolved policy identity without storing raw configuration values.
Trait Implementations§
Source§impl Clone for ConfigIdentityV2
impl Clone for ConfigIdentityV2
Source§fn clone(&self) -> ConfigIdentityV2
fn clone(&self) -> ConfigIdentityV2
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 ConfigIdentityV2
impl Debug for ConfigIdentityV2
Source§impl<'de> Deserialize<'de> for ConfigIdentityV2
impl<'de> Deserialize<'de> for ConfigIdentityV2
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 PartialEq for ConfigIdentityV2
impl PartialEq for ConfigIdentityV2
Source§impl Serialize for ConfigIdentityV2
impl Serialize for ConfigIdentityV2
impl StructuralPartialEq for ConfigIdentityV2
Auto Trait Implementations§
impl Freeze for ConfigIdentityV2
impl RefUnwindSafe for ConfigIdentityV2
impl Send for ConfigIdentityV2
impl Sync for ConfigIdentityV2
impl Unpin for ConfigIdentityV2
impl UnsafeUnpin for ConfigIdentityV2
impl UnwindSafe for ConfigIdentityV2
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