pub struct SessionCostFileReadDiagnostic {
pub path: String,
pub range: String,
pub occurrences: usize,
pub estimated_tokens: u64,
pub duplicate_estimated_tokens: u64,
pub follow_up_commands: Vec<String>,
}Fields§
§path: String§range: String§occurrences: usize§estimated_tokens: u64§duplicate_estimated_tokens: u64§follow_up_commands: Vec<String>Trait Implementations§
Source§impl Clone for SessionCostFileReadDiagnostic
impl Clone for SessionCostFileReadDiagnostic
Source§fn clone(&self) -> SessionCostFileReadDiagnostic
fn clone(&self) -> SessionCostFileReadDiagnostic
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 moreimpl Eq for SessionCostFileReadDiagnostic
Source§impl Serialize for SessionCostFileReadDiagnostic
impl Serialize for SessionCostFileReadDiagnostic
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 SessionCostFileReadDiagnostic
Auto Trait Implementations§
impl Freeze for SessionCostFileReadDiagnostic
impl RefUnwindSafe for SessionCostFileReadDiagnostic
impl Send for SessionCostFileReadDiagnostic
impl Sync for SessionCostFileReadDiagnostic
impl Unpin for SessionCostFileReadDiagnostic
impl UnsafeUnpin for SessionCostFileReadDiagnostic
impl UnwindSafe for SessionCostFileReadDiagnostic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.