pub struct ResourceGroupHandle { /* private fields */ }Expand description
Typed handle to the resource-group level (node → tenant → group).
Implementations§
Source§impl ResourceGroupHandle
impl ResourceGroupHandle
Sourcepub fn tenant(&self) -> TenantHandle
pub fn tenant(&self) -> TenantHandle
The tenant this group belongs to.
Sourcepub fn node(&self) -> NodeHandle
pub fn node(&self) -> NodeHandle
The node this group is scoped to.
Sourcepub fn query(&self, id: QueryId, class: WorkloadClass) -> QueryHandle
pub fn query(&self, id: QueryId, class: WorkloadClass) -> QueryHandle
Descend to query id admitted into this group under class.
Trait Implementations§
Source§impl Clone for ResourceGroupHandle
impl Clone for ResourceGroupHandle
Source§fn clone(&self) -> ResourceGroupHandle
fn clone(&self) -> ResourceGroupHandle
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 ResourceGroupHandle
impl Debug for ResourceGroupHandle
Source§impl<'de> Deserialize<'de> for ResourceGroupHandle
impl<'de> Deserialize<'de> for ResourceGroupHandle
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 ResourceGroupHandle
Source§impl Hash for ResourceGroupHandle
impl Hash for ResourceGroupHandle
Source§impl PartialEq for ResourceGroupHandle
impl PartialEq for ResourceGroupHandle
Source§impl Serialize for ResourceGroupHandle
impl Serialize for ResourceGroupHandle
impl StructuralPartialEq for ResourceGroupHandle
Auto Trait Implementations§
impl Freeze for ResourceGroupHandle
impl RefUnwindSafe for ResourceGroupHandle
impl Send for ResourceGroupHandle
impl Sync for ResourceGroupHandle
impl Unpin for ResourceGroupHandle
impl UnsafeUnpin for ResourceGroupHandle
impl UnwindSafe for ResourceGroupHandle
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