pub struct AlertmanagersQueryBuilder { /* private fields */ }Expand description
Provides a builder to choose how the response from Prometheus is returned to the caller.
Implementations§
Source§impl AlertmanagersQueryBuilder
impl AlertmanagersQueryBuilder
Sourcepub async fn get(self) -> Result<Alertmanagers, Error>
pub async fn get(self) -> Result<Alertmanagers, Error>
Execute the query (using HTTP GET) and retrieve an overview of the current state of Prometheus alertmanager discovery.
Trait Implementations§
Source§impl Clone for AlertmanagersQueryBuilder
impl Clone for AlertmanagersQueryBuilder
Auto Trait Implementations§
impl !RefUnwindSafe for AlertmanagersQueryBuilder
impl !UnwindSafe for AlertmanagersQueryBuilder
impl Forget for AlertmanagersQueryBuilder
impl Freeze for AlertmanagersQueryBuilderwhere
*const ArcInner<ClientRef> is !null: Freeze,
PhantomData<ArcInner<ClientRef>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for AlertmanagersQueryBuilder
impl Send for AlertmanagersQueryBuilder
impl Sync for AlertmanagersQueryBuilder
impl Unpin for AlertmanagersQueryBuilder
impl UnsafeUnpin for AlertmanagersQueryBuilderwhere
*const ArcInner<ClientRef> is !null: UnsafeUnpin,
PhantomData<ArcInner<ClientRef>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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