pub struct QueryHandle { /* private fields */ }Expand description
Typed handle to the query level (node → tenant → group → query).
Implementations§
Source§impl QueryHandle
impl QueryHandle
Sourcepub fn group(&self) -> &ResourceGroupHandle
pub fn group(&self) -> &ResourceGroupHandle
The resource group this query runs in.
Sourcepub fn class(&self) -> WorkloadClass
pub fn class(&self) -> WorkloadClass
The workload class the query was admitted under.
Sourcepub fn tenant(&self) -> TenantHandle
pub fn tenant(&self) -> TenantHandle
The tenant this query runs under.
Sourcepub fn node(&self) -> NodeHandle
pub fn node(&self) -> NodeHandle
The node this query runs on.
Trait Implementations§
Source§impl Clone for QueryHandle
impl Clone for QueryHandle
Source§fn clone(&self) -> QueryHandle
fn clone(&self) -> QueryHandle
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 QueryHandle
impl Debug for QueryHandle
Source§impl<'de> Deserialize<'de> for QueryHandle
impl<'de> Deserialize<'de> for QueryHandle
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
impl Eq for QueryHandle
Source§impl Hash for QueryHandle
impl Hash for QueryHandle
Source§impl PartialEq for QueryHandle
impl PartialEq for QueryHandle
Source§impl Serialize for QueryHandle
impl Serialize for QueryHandle
impl StructuralPartialEq for QueryHandle
Auto Trait Implementations§
impl Freeze for QueryHandle
impl RefUnwindSafe for QueryHandle
impl Send for QueryHandle
impl Sync for QueryHandle
impl Unpin for QueryHandle
impl UnsafeUnpin for QueryHandle
impl UnwindSafe for QueryHandle
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more