pub struct Capture {
pub state: Vec<u8>,
pub source_targets: Option<ContentHash>,
pub visibility: Option<CaptureVisibility>,
}Expand description
Source result shared by authored captures and executor-derived integrations. Per-Thread reference metadata never changes State identity.
Fields§
§state: Vec<u8>§source_targets: Option<ContentHash>§visibility: Option<CaptureVisibility>Original author-signed privacy declarations; independent of the courier.
Implementations§
Source§impl Capture
impl Capture
Sourcepub fn validated_state(&self) -> Result<State, HeddleError>
pub fn validated_state(&self) -> Result<State, HeddleError>
Decode canonical source and validate every signed source-result binding.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Capture
impl<'de> Deserialize<'de> for Capture
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Capture, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Capture, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Capture
Source§impl Serialize for Capture
impl Serialize for Capture
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
impl StructuralPartialEq for Capture
Auto Trait Implementations§
impl Freeze for Capture
impl RefUnwindSafe for Capture
impl Send for Capture
impl Sync for Capture
impl Unpin for Capture
impl UnsafeUnpin for Capture
impl UnwindSafe for Capture
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