pub struct UsedGraphElementIds {
pub node_ids: Vec<String>,
pub edge_ids: Vec<String>,
}Expand description
Graph element IDs that were used to produce the answer for a Q&A entry.
Matches the Python used_graph_element_ids dict: {"node_ids": [...], "edge_ids": [...]}.
Fields§
§node_ids: Vec<String>§edge_ids: Vec<String>Trait Implementations§
Source§impl Clone for UsedGraphElementIds
impl Clone for UsedGraphElementIds
Source§fn clone(&self) -> UsedGraphElementIds
fn clone(&self) -> UsedGraphElementIds
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 UsedGraphElementIds
impl Debug for UsedGraphElementIds
Source§impl Default for UsedGraphElementIds
impl Default for UsedGraphElementIds
Source§fn default() -> UsedGraphElementIds
fn default() -> UsedGraphElementIds
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UsedGraphElementIds
impl<'de> Deserialize<'de> for UsedGraphElementIds
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
Auto Trait Implementations§
impl Freeze for UsedGraphElementIds
impl RefUnwindSafe for UsedGraphElementIds
impl Send for UsedGraphElementIds
impl Sync for UsedGraphElementIds
impl Unpin for UsedGraphElementIds
impl UnsafeUnpin for UsedGraphElementIds
impl UnwindSafe for UsedGraphElementIds
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