pub struct HookView {
pub privacy: PrivacyClass,
pub redacted_summary: String,
pub subject_refs: Vec<EntityRef>,
pub content_refs: Vec<ContentRef>,
}Expand description
Describes the hook view portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
Fields§
§privacy: PrivacyClassPrivacy class used for projection, telemetry, and raw-content access decisions.
redacted_summary: StringRedacted human-readable summary safe for events, telemetry, and logs.
subject_refs: Vec<EntityRef>Typed subject refs references. Resolving them is separate from constructing this record.
content_refs: Vec<ContentRef>Content references associated with this record; resolving them is a separate policy-gated step.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HookView
impl<'de> Deserialize<'de> for HookView
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 HookView
impl StructuralPartialEq for HookView
Auto Trait Implementations§
impl Freeze for HookView
impl RefUnwindSafe for HookView
impl Send for HookView
impl Sync for HookView
impl Unpin for HookView
impl UnsafeUnpin for HookView
impl UnwindSafe for HookView
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