pub struct CaptureSummary {Show 15 fields
pub revision: Option<RevisionRef>,
pub thread: Option<ThreadRef>,
pub summary: String,
pub changed_files: u64,
pub principal_id: String,
pub agent_id: String,
pub captured_at: Option<Timestamp>,
pub agent_provider: String,
pub agent_model: String,
pub attribution_assurance: i32,
pub principal_name: String,
pub principal_email: String,
pub raw_signed_capture_operation: Vec<u8>,
pub identity_binding_authority: Vec<SignedRecord>,
pub parent_revisions: Vec<RevisionRef>,
}Fields§
§revision: Option<RevisionRef>§thread: Option<ThreadRef>§summary: String§changed_files: u64§principal_id: StringAuthenticated account/delegation bindings only. A State does not contain these IDs. Leave them empty if the portable binding proof is unavailable.
agent_id: String§captured_at: Option<Timestamp>§agent_provider: StringCopied from the producing State when present. State actor labels are claims, not proof that a provider ran a model or a person made a capture.
agent_model: String§attribution_assurance: i32Applies to State labels only. Authenticated IDs have separate provenance.
principal_name: String§principal_email: String§raw_signed_capture_operation: Vec<u8>Exact signed source/capture operation and its account/delegation authority chain, retained in portable replication history. These are public binding proofs, never live bearer credentials. A consumer verifies the operation’s exact State/thread binding and the signer-to-principal/agent chain against independent trust pins before using the IDs. The State’s name/email and provider/model are never used to derive those IDs.
parent_revisions: Vec<RevisionRef>Exact parents of this capture’s State. A merge names every head it combined; these are revisions, not mutable source-head positions.
Implementations§
Source§impl CaptureSummary
impl CaptureSummary
Sourcepub fn attribution_assurance(&self) -> AttributionAssurance
pub fn attribution_assurance(&self) -> AttributionAssurance
Returns the enum value of attribution_assurance, or the default if the field is set to an invalid enum value.
Sourcepub fn set_attribution_assurance(&mut self, value: AttributionAssurance)
pub fn set_attribution_assurance(&mut self, value: AttributionAssurance)
Sets attribution_assurance to the provided enum value.
Trait Implementations§
Source§impl Clone for CaptureSummary
impl Clone for CaptureSummary
Source§fn clone(&self) -> CaptureSummary
fn clone(&self) -> CaptureSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CaptureSummary
impl Debug for CaptureSummary
Source§impl Default for CaptureSummary
impl Default for CaptureSummary
Source§fn default() -> CaptureSummary
fn default() -> CaptureSummary
Source§impl Message for CaptureSummary
impl Message for CaptureSummary
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for CaptureSummary
impl PartialEq for CaptureSummary
impl StructuralPartialEq for CaptureSummary
Auto Trait Implementations§
impl Freeze for CaptureSummary
impl RefUnwindSafe for CaptureSummary
impl Send for CaptureSummary
impl Sync for CaptureSummary
impl Unpin for CaptureSummary
impl UnsafeUnpin for CaptureSummary
impl UnwindSafe for CaptureSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more