pub struct CodeGraphMutationEstimate {Show 13 fields
pub operation: String,
pub selector: Option<String>,
pub target_block_id: Option<BlockId>,
pub resolved_block_ids: Vec<BlockId>,
pub budget: Option<CodeGraphOperationBudget>,
pub estimated_nodes_added: usize,
pub estimated_nodes_changed: usize,
pub estimated_nodes_visited: usize,
pub estimated_frontier_width: usize,
pub estimated_rendered_bytes: usize,
pub estimated_rendered_tokens: u32,
pub estimated_export_growth: isize,
pub explanation: String,
}Fields§
§operation: String§selector: Option<String>§target_block_id: Option<BlockId>§resolved_block_ids: Vec<BlockId>§budget: Option<CodeGraphOperationBudget>§estimated_nodes_added: usize§estimated_nodes_changed: usize§estimated_nodes_visited: usize§estimated_frontier_width: usize§estimated_rendered_bytes: usize§estimated_rendered_tokens: u32§estimated_export_growth: isize§explanation: StringTrait Implementations§
Source§impl Clone for CodeGraphMutationEstimate
impl Clone for CodeGraphMutationEstimate
Source§fn clone(&self) -> CodeGraphMutationEstimate
fn clone(&self) -> CodeGraphMutationEstimate
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 CodeGraphMutationEstimate
impl Debug for CodeGraphMutationEstimate
Source§impl<'de> Deserialize<'de> for CodeGraphMutationEstimate
impl<'de> Deserialize<'de> for CodeGraphMutationEstimate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeGraphMutationEstimate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeGraphMutationEstimate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CodeGraphMutationEstimate
impl Serialize for CodeGraphMutationEstimate
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 CodeGraphMutationEstimate
impl RefUnwindSafe for CodeGraphMutationEstimate
impl Send for CodeGraphMutationEstimate
impl Sync for CodeGraphMutationEstimate
impl Unpin for CodeGraphMutationEstimate
impl UnsafeUnpin for CodeGraphMutationEstimate
impl UnwindSafe for CodeGraphMutationEstimate
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