pub struct GraphOperationResponse {Show 14 fields
pub action: String,
pub node_type: Option<String>,
pub scope: Option<String>,
pub project_id: Option<String>,
pub content: Option<String>,
pub confidence: Option<f64>,
pub node_id: Option<String>,
pub new_confidence: Option<f64>,
pub new_content: Option<String>,
pub source_id: Option<String>,
pub target_id: Option<String>,
pub edge_type: Option<String>,
pub keep_id: Option<String>,
pub remove_id: Option<String>,
}Expand description
A single operation from the AI response (before conversion to GraphOperation).
Fields§
§action: String§node_type: Option<String>§scope: Option<String>§project_id: Option<String>§content: Option<String>§confidence: Option<f64>§node_id: Option<String>§new_confidence: Option<f64>§new_content: Option<String>§source_id: Option<String>§target_id: Option<String>§edge_type: Option<String>§keep_id: Option<String>§remove_id: Option<String>Trait Implementations§
Source§impl Clone for GraphOperationResponse
impl Clone for GraphOperationResponse
Source§fn clone(&self) -> GraphOperationResponse
fn clone(&self) -> GraphOperationResponse
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 GraphOperationResponse
impl Debug for GraphOperationResponse
Source§impl<'de> Deserialize<'de> for GraphOperationResponse
impl<'de> Deserialize<'de> for GraphOperationResponse
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 GraphOperationResponse
impl RefUnwindSafe for GraphOperationResponse
impl Send for GraphOperationResponse
impl Sync for GraphOperationResponse
impl Unpin for GraphOperationResponse
impl UnsafeUnpin for GraphOperationResponse
impl UnwindSafe for GraphOperationResponse
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