pub struct CodeGraphRecommendation {
pub action_kind: String,
pub target_block_id: BlockId,
pub target_short_id: String,
pub target_label: String,
pub relation_set: Vec<String>,
pub priority: u16,
pub candidate_count: usize,
pub estimated_evidence_gain: usize,
pub estimated_token_cost: u32,
pub estimated_hydration_bytes: usize,
pub explanation: String,
pub rationale: String,
}Fields§
§action_kind: String§target_block_id: BlockId§target_short_id: String§target_label: String§relation_set: Vec<String>§priority: u16§candidate_count: usize§estimated_evidence_gain: usize§estimated_token_cost: u32§estimated_hydration_bytes: usize§explanation: String§rationale: StringTrait Implementations§
Source§impl Clone for CodeGraphRecommendation
impl Clone for CodeGraphRecommendation
Source§fn clone(&self) -> CodeGraphRecommendation
fn clone(&self) -> CodeGraphRecommendation
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 CodeGraphRecommendation
impl Debug for CodeGraphRecommendation
Source§impl<'de> Deserialize<'de> for CodeGraphRecommendation
impl<'de> Deserialize<'de> for CodeGraphRecommendation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeGraphRecommendation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeGraphRecommendation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CodeGraphRecommendation
impl Serialize for CodeGraphRecommendation
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
Auto Trait Implementations§
impl Freeze for CodeGraphRecommendation
impl RefUnwindSafe for CodeGraphRecommendation
impl Send for CodeGraphRecommendation
impl Sync for CodeGraphRecommendation
impl Unpin for CodeGraphRecommendation
impl UnsafeUnpin for CodeGraphRecommendation
impl UnwindSafe for CodeGraphRecommendation
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