pub struct QueryProfile {
pub breakdown: QueryBreakdown,
pub description: String,
pub time_in_nanos: String,
pub children: Option<Vec<QueryProfile>>,
pub type: String,
}Fields§
§breakdown: QueryBreakdown§description: String§time_in_nanos: String§children: Option<Vec<QueryProfile>>§type: StringImplementations§
Source§impl QueryProfile
impl QueryProfile
pub fn new( breakdown: QueryBreakdown, description: String, time_in_nanos: String, type: String, ) -> QueryProfile
Trait Implementations§
Source§impl Clone for QueryProfile
impl Clone for QueryProfile
Source§fn clone(&self) -> QueryProfile
fn clone(&self) -> QueryProfile
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 QueryProfile
impl Debug for QueryProfile
Source§impl Default for QueryProfile
impl Default for QueryProfile
Source§fn default() -> QueryProfile
fn default() -> QueryProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryProfile
impl<'de> Deserialize<'de> for QueryProfile
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 QueryProfile
impl PartialEq for QueryProfile
Source§fn eq(&self, other: &QueryProfile) -> bool
fn eq(&self, other: &QueryProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for QueryProfile
impl Serialize for QueryProfile
impl StructuralPartialEq for QueryProfile
Auto Trait Implementations§
impl Freeze for QueryProfile
impl RefUnwindSafe for QueryProfile
impl Send for QueryProfile
impl Sync for QueryProfile
impl Unpin for QueryProfile
impl UnsafeUnpin for QueryProfile
impl UnwindSafe for QueryProfile
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