pub struct DetectorIdentityV2 {
pub version: u16,
pub corpus_digest: String,
pub compiled_plan_digest: Evidence<String>,
pub enabled_detector_digest: Evidence<String>,
pub backend_database_digest: Evidence<String>,
pub external_provenance_digest: Evidence<String>,
}Expand description
Detector corpus and compiled execution-plan identity.
Fields§
§version: u16§corpus_digest: String§compiled_plan_digest: Evidence<String>§enabled_detector_digest: Evidence<String>§backend_database_digest: Evidence<String>§external_provenance_digest: Evidence<String>Implementations§
Source§impl DetectorIdentityV2
impl DetectorIdentityV2
Sourcepub fn capture(input: DetectorIdentityInput<'_>) -> Self
pub fn capture(input: DetectorIdentityInput<'_>) -> Self
Capture exact corpus and compiled-plan identities with explicit gaps for unavailable peers.
Trait Implementations§
Source§impl Clone for DetectorIdentityV2
impl Clone for DetectorIdentityV2
Source§fn clone(&self) -> DetectorIdentityV2
fn clone(&self) -> DetectorIdentityV2
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 DetectorIdentityV2
impl Debug for DetectorIdentityV2
Source§impl<'de> Deserialize<'de> for DetectorIdentityV2
impl<'de> Deserialize<'de> for DetectorIdentityV2
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 DetectorIdentityV2
impl PartialEq for DetectorIdentityV2
Source§impl Serialize for DetectorIdentityV2
impl Serialize for DetectorIdentityV2
impl StructuralPartialEq for DetectorIdentityV2
Auto Trait Implementations§
impl Freeze for DetectorIdentityV2
impl RefUnwindSafe for DetectorIdentityV2
impl Send for DetectorIdentityV2
impl Sync for DetectorIdentityV2
impl Unpin for DetectorIdentityV2
impl UnsafeUnpin for DetectorIdentityV2
impl UnwindSafe for DetectorIdentityV2
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