pub struct CodeRepositoryLatencySample {
pub query: String,
pub kind: CodeQueryKind,
pub result_count: usize,
pub duration_ms: u64,
}Expand description
Representative query latency captured for an operations report.
Fields§
§query: String§kind: CodeQueryKind§result_count: usize§duration_ms: u64Trait Implementations§
Source§impl Clone for CodeRepositoryLatencySample
impl Clone for CodeRepositoryLatencySample
Source§fn clone(&self) -> CodeRepositoryLatencySample
fn clone(&self) -> CodeRepositoryLatencySample
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 CodeRepositoryLatencySample
impl Debug for CodeRepositoryLatencySample
Source§impl<'de> Deserialize<'de> for CodeRepositoryLatencySample
impl<'de> Deserialize<'de> for CodeRepositoryLatencySample
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
Source§impl PartialEq for CodeRepositoryLatencySample
impl PartialEq for CodeRepositoryLatencySample
Source§fn eq(&self, other: &CodeRepositoryLatencySample) -> bool
fn eq(&self, other: &CodeRepositoryLatencySample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodeRepositoryLatencySample
Auto Trait Implementations§
impl Freeze for CodeRepositoryLatencySample
impl RefUnwindSafe for CodeRepositoryLatencySample
impl Send for CodeRepositoryLatencySample
impl Sync for CodeRepositoryLatencySample
impl Unpin for CodeRepositoryLatencySample
impl UnsafeUnpin for CodeRepositoryLatencySample
impl UnwindSafe for CodeRepositoryLatencySample
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