pub struct ContextPack {
pub symbol: Option<SymbolRecord>,
pub body: Option<String>,
pub dependency_signatures: Vec<SignatureLine>,
pub caller_signatures: Vec<SignatureLine>,
pub tests: Vec<SymbolRecord>,
pub budget_tokens: usize,
pub meta: QueryMeta,
}Fields§
§symbol: Option<SymbolRecord>§body: Option<String>§dependency_signatures: Vec<SignatureLine>§caller_signatures: Vec<SignatureLine>§tests: Vec<SymbolRecord>§budget_tokens: usize§meta: QueryMetaTrait Implementations§
Source§impl Clone for ContextPack
impl Clone for ContextPack
Source§fn clone(&self) -> ContextPack
fn clone(&self) -> ContextPack
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 ContextPack
impl Debug for ContextPack
Source§impl<'de> Deserialize<'de> for ContextPack
impl<'de> Deserialize<'de> for ContextPack
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 Display for ContextPack
impl Display for ContextPack
Auto Trait Implementations§
impl Freeze for ContextPack
impl RefUnwindSafe for ContextPack
impl Send for ContextPack
impl Sync for ContextPack
impl Unpin for ContextPack
impl UnsafeUnpin for ContextPack
impl UnwindSafe for ContextPack
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