pub struct SemanticGraphQueryResponse {
pub state_id: String,
pub kind: SemanticGraphQueryKind,
pub anchor: Option<SymbolAnchor>,
pub path: Option<String>,
pub index_present: bool,
pub refs: Vec<SemanticGraphRef>,
pub importers: Vec<String>,
}Expand description
weft#451 Tier-2 response body. index_present is false when the state
has no attached semantic index; the query then returns empty collections
and never computes one.
Fields§
§state_id: String§kind: SemanticGraphQueryKind§anchor: Option<SymbolAnchor>§path: Option<String>§index_present: bool§refs: Vec<SemanticGraphRef>§importers: Vec<String>Trait Implementations§
Source§impl Clone for SemanticGraphQueryResponse
impl Clone for SemanticGraphQueryResponse
Source§fn clone(&self) -> SemanticGraphQueryResponse
fn clone(&self) -> SemanticGraphQueryResponse
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 SemanticGraphQueryResponse
impl Debug for SemanticGraphQueryResponse
Source§impl<'de> Deserialize<'de> for SemanticGraphQueryResponse
impl<'de> Deserialize<'de> for SemanticGraphQueryResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SemanticGraphQueryResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SemanticGraphQueryResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SemanticGraphQueryResponse
Source§impl Serialize for SemanticGraphQueryResponse
impl Serialize for SemanticGraphQueryResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SemanticGraphQueryResponse
Auto Trait Implementations§
impl Freeze for SemanticGraphQueryResponse
impl RefUnwindSafe for SemanticGraphQueryResponse
impl Send for SemanticGraphQueryResponse
impl Sync for SemanticGraphQueryResponse
impl Unpin for SemanticGraphQueryResponse
impl UnsafeUnpin for SemanticGraphQueryResponse
impl UnwindSafe for SemanticGraphQueryResponse
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