pub struct CodeSymbolVectorPayload {Show 23 fields
pub project_id: String,
pub file_path: String,
pub symbol_id: String,
pub name: String,
pub kind: String,
pub language: String,
pub line_start: usize,
pub line_end: usize,
pub byte_start: usize,
pub byte_end: usize,
pub signature: Option<String>,
pub docstring: Option<String>,
pub provenance: ProjectionProvenance,
pub confidence: Option<f64>,
pub source_system: String,
pub source_file_path: String,
pub source_line: usize,
pub source_line_start: usize,
pub source_line_end: usize,
pub source_byte_start: usize,
pub source_byte_end: usize,
pub source_symbol_id: String,
pub summary: Option<String>,
}Fields§
§project_id: String§file_path: String§symbol_id: String§name: String§kind: String§language: String§line_start: usize§line_end: usize§byte_start: usize§byte_end: usize§signature: Option<String>§docstring: Option<String>§provenance: ProjectionProvenance§confidence: Option<f64>§source_system: String§source_file_path: String§source_line: usize§source_line_start: usize§source_line_end: usize§source_byte_start: usize§source_byte_end: usize§source_symbol_id: String§summary: Option<String>Implementations§
Source§impl CodeSymbolVectorPayload
impl CodeSymbolVectorPayload
pub fn from_symbol(symbol: &Symbol) -> Self
Trait Implementations§
Source§impl Clone for CodeSymbolVectorPayload
impl Clone for CodeSymbolVectorPayload
Source§fn clone(&self) -> CodeSymbolVectorPayload
fn clone(&self) -> CodeSymbolVectorPayload
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 CodeSymbolVectorPayload
impl Debug for CodeSymbolVectorPayload
Source§impl<'de> Deserialize<'de> for CodeSymbolVectorPayload
impl<'de> Deserialize<'de> for CodeSymbolVectorPayload
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 CodeSymbolVectorPayload
impl PartialEq for CodeSymbolVectorPayload
Source§fn eq(&self, other: &CodeSymbolVectorPayload) -> bool
fn eq(&self, other: &CodeSymbolVectorPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeSymbolVectorPayload
impl Serialize for CodeSymbolVectorPayload
impl StructuralPartialEq for CodeSymbolVectorPayload
Auto Trait Implementations§
impl Freeze for CodeSymbolVectorPayload
impl RefUnwindSafe for CodeSymbolVectorPayload
impl Send for CodeSymbolVectorPayload
impl Sync for CodeSymbolVectorPayload
impl Unpin for CodeSymbolVectorPayload
impl UnsafeUnpin for CodeSymbolVectorPayload
impl UnwindSafe for CodeSymbolVectorPayload
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more