pub struct ChunkMetadata {
pub source: String,
pub session_id: String,
pub chunk_index: usize,
pub ts_start: String,
pub ts_end: String,
pub tool_names: Vec<String>,
pub error_types: Vec<String>,
pub repo_fingerprint: Option<String>,
pub language: Option<String>,
pub policy_version: String,
pub sanitizer_version: String,
pub content_hash: String,
}Fields§
§source: String§session_id: String§chunk_index: usize§ts_start: String§ts_end: String§tool_names: Vec<String>§error_types: Vec<String>§repo_fingerprint: Option<String>§language: Option<String>§policy_version: String§sanitizer_version: String§content_hash: StringTrait Implementations§
Source§impl Clone for ChunkMetadata
impl Clone for ChunkMetadata
Source§fn clone(&self) -> ChunkMetadata
fn clone(&self) -> ChunkMetadata
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 ChunkMetadata
impl Debug for ChunkMetadata
Source§impl<'de> Deserialize<'de> for ChunkMetadata
impl<'de> Deserialize<'de> for ChunkMetadata
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 ChunkMetadata
impl RefUnwindSafe for ChunkMetadata
impl Send for ChunkMetadata
impl Sync for ChunkMetadata
impl Unpin for ChunkMetadata
impl UnsafeUnpin for ChunkMetadata
impl UnwindSafe for ChunkMetadata
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