pub struct GetPipelineMetrics<'a> { /* private fields */ }
Expand description
Builder for Client::get_pipeline_metrics
Implementations§
Source§impl<'a> GetPipelineMetrics<'a>
impl<'a> GetPipelineMetrics<'a>
pub fn new(client: &'a Client) -> Self
pub fn pipeline_name<V>(self, value: V) -> Self
pub fn format<V>(self, value: V) -> Selfwhere
V: TryInto<MetricsFormat>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<Map<String, Value>>, Error<ErrorResponse>>
pub async fn send( self, ) -> Result<ResponseValue<Map<String, Value>>, Error<ErrorResponse>>
Sends a GET
request to /v0/pipelines/{pipeline_name}/metrics
Trait Implementations§
Source§impl<'a> Clone for GetPipelineMetrics<'a>
impl<'a> Clone for GetPipelineMetrics<'a>
Source§fn clone(&self) -> GetPipelineMetrics<'a>
fn clone(&self) -> GetPipelineMetrics<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for GetPipelineMetrics<'a>
impl<'a> !RefUnwindSafe for GetPipelineMetrics<'a>
impl<'a> Send for GetPipelineMetrics<'a>
impl<'a> Sync for GetPipelineMetrics<'a>
impl<'a> Unpin for GetPipelineMetrics<'a>
impl<'a> !UnwindSafe for GetPipelineMetrics<'a>
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