pub struct ContextProvenanceV1 {Show 20 fields
pub v: u32,
pub provenance_id: TeamId,
pub scope: TeamScopeV1,
pub object_id: TeamId,
pub object_type: ProvenanceObjectType,
pub object_digest: RecordDigest,
pub source_kind: SourceKind,
pub source_digest: ContentDigest,
pub author: MemberId,
pub created_at: TeamTimestampV1,
pub classification: TeamClassification,
pub authority_state: AuthorityState,
pub supersedes: Option<RecordDigest>,
pub superseded_by: Option<RecordDigest>,
pub valid_from: TeamTimestampV1,
pub valid_until: Option<TeamTimestampV1>,
pub authority_decision_digest: Option<RecordDigest>,
pub version: u64,
pub parent_digest: Option<RecordDigest>,
pub idempotency_key: IdempotencyKey,
}Fields§
§v: u32§provenance_id: TeamId§scope: TeamScopeV1§object_id: TeamId§object_type: ProvenanceObjectType§object_digest: RecordDigest§source_kind: SourceKind§source_digest: ContentDigest§created_at: TeamTimestampV1§classification: TeamClassification§supersedes: Option<RecordDigest>§superseded_by: Option<RecordDigest>§valid_from: TeamTimestampV1§valid_until: Option<TeamTimestampV1>§version: u64§parent_digest: Option<RecordDigest>§idempotency_key: IdempotencyKeyImplementations§
Source§impl ContextProvenanceV1
impl ContextProvenanceV1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for ContextProvenanceV1
impl Clone for ContextProvenanceV1
Source§impl Debug for ContextProvenanceV1
impl Debug for ContextProvenanceV1
Source§impl<'de> Deserialize<'de> for ContextProvenanceV1
impl<'de> Deserialize<'de> for ContextProvenanceV1
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContextProvenanceV1
Source§impl PartialEq for ContextProvenanceV1
impl PartialEq for ContextProvenanceV1
Source§impl Serialize for ContextProvenanceV1
impl Serialize for ContextProvenanceV1
impl StructuralPartialEq for ContextProvenanceV1
Auto Trait Implementations§
impl Forget for ContextProvenanceV1
impl Freeze for ContextProvenanceV1
impl Move for ContextProvenanceV1
impl RefUnwindSafe for ContextProvenanceV1
impl Send for ContextProvenanceV1
impl Sync for ContextProvenanceV1
impl Unpin for ContextProvenanceV1
impl UnsafeUnpin for ContextProvenanceV1
impl UnwindSafe for ContextProvenanceV1
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