pub struct CodeGraphBatch {
pub files: Vec<CodeFileRecord>,
}Expand description
Atomic code graph mutation batch.
Fields§
§files: Vec<CodeFileRecord>Implementations§
Source§impl CodeGraphBatch
impl CodeGraphBatch
Sourcepub fn new(files: Vec<CodeFileRecord>) -> Result<Self, DomainError>
pub fn new(files: Vec<CodeFileRecord>) -> Result<Self, DomainError>
Creates a non-empty batch with at most one replacement per scope/path.
Trait Implementations§
Source§impl Clone for CodeGraphBatch
impl Clone for CodeGraphBatch
Source§fn clone(&self) -> CodeGraphBatch
fn clone(&self) -> CodeGraphBatch
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 CodeGraphBatch
impl Debug for CodeGraphBatch
Source§impl<'de> Deserialize<'de> for CodeGraphBatch
impl<'de> Deserialize<'de> for CodeGraphBatch
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
Source§impl PartialEq for CodeGraphBatch
impl PartialEq for CodeGraphBatch
Source§fn eq(&self, other: &CodeGraphBatch) -> bool
fn eq(&self, other: &CodeGraphBatch) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeGraphBatch
impl Serialize for CodeGraphBatch
impl Eq for CodeGraphBatch
impl StructuralPartialEq for CodeGraphBatch
Auto Trait Implementations§
impl Freeze for CodeGraphBatch
impl RefUnwindSafe for CodeGraphBatch
impl Send for CodeGraphBatch
impl Sync for CodeGraphBatch
impl Unpin for CodeGraphBatch
impl UnsafeUnpin for CodeGraphBatch
impl UnwindSafe for CodeGraphBatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.