pub struct ScopeSummary {
pub scope_id: ScopeId,
pub summary: String,
pub token_count: i32,
}Expand description
Summary of a scope for context assembly.
Fields§
§scope_id: ScopeIdID of the scope being summarized
summary: StringSummary text
token_count: i32Token count of the summary
Trait Implementations§
Source§impl Clone for ScopeSummary
impl Clone for ScopeSummary
Source§fn clone(&self) -> ScopeSummary
fn clone(&self) -> ScopeSummary
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 ScopeSummary
impl Debug for ScopeSummary
Source§impl<'de> Deserialize<'de> for ScopeSummary
impl<'de> Deserialize<'de> for ScopeSummary
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 ScopeSummary
impl PartialEq for ScopeSummary
Source§impl Serialize for ScopeSummary
impl Serialize for ScopeSummary
impl StructuralPartialEq for ScopeSummary
Auto Trait Implementations§
impl Freeze for ScopeSummary
impl RefUnwindSafe for ScopeSummary
impl Send for ScopeSummary
impl Sync for ScopeSummary
impl Unpin for ScopeSummary
impl UnwindSafe for ScopeSummary
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