pub struct ContextProvenanceRecord {
pub session_id: String,
pub node_id: String,
pub context_package_id: String,
pub structural_hashes: String,
pub summary_hashes: String,
pub dependency_hashes: String,
pub included_file_count: i32,
pub total_bytes: i32,
}Expand description
PSP-5 Phase 3: Record for context provenance persistence
Fields§
§session_id: String§node_id: String§context_package_id: String§structural_hashes: StringJSON-serialized structural digest hashes
summary_hashes: StringJSON-serialized summary hashes
dependency_hashes: StringJSON-serialized dependency commit hashes
included_file_count: i32§total_bytes: i32Trait Implementations§
Source§impl Clone for ContextProvenanceRecord
impl Clone for ContextProvenanceRecord
Source§fn clone(&self) -> ContextProvenanceRecord
fn clone(&self) -> ContextProvenanceRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 ContextProvenanceRecord
impl Debug for ContextProvenanceRecord
Source§impl<'de> Deserialize<'de> for ContextProvenanceRecord
impl<'de> Deserialize<'de> for ContextProvenanceRecord
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
Auto Trait Implementations§
impl Freeze for ContextProvenanceRecord
impl RefUnwindSafe for ContextProvenanceRecord
impl Send for ContextProvenanceRecord
impl Sync for ContextProvenanceRecord
impl Unpin for ContextProvenanceRecord
impl UnsafeUnpin for ContextProvenanceRecord
impl UnwindSafe for ContextProvenanceRecord
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