pub struct ContextIndex {
pub source: String,
pub hash: u64,
pub symbols: Vec<String>,
pub records: Vec<EvidenceRecord>,
}Expand description
Cached index for one source blob.
Fields§
§source: String§hash: u64§symbols: Vec<String>§records: Vec<EvidenceRecord>Trait Implementations§
Source§impl Clone for ContextIndex
impl Clone for ContextIndex
Source§fn clone(&self) -> ContextIndex
fn clone(&self) -> ContextIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContextIndex
impl Debug for ContextIndex
Source§impl<'de> Deserialize<'de> for ContextIndex
impl<'de> Deserialize<'de> for ContextIndex
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 ContextIndex
impl RefUnwindSafe for ContextIndex
impl Send for ContextIndex
impl Sync for ContextIndex
impl Unpin for ContextIndex
impl UnsafeUnpin for ContextIndex
impl UnwindSafe for ContextIndex
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