pub struct GetDeploymentMetricsHistory<'a> { /* private fields */ }Expand description
Builder for Client::get_deployment_metrics_history
Implementations§
Source§impl<'a> GetDeploymentMetricsHistory<'a>
impl<'a> GetDeploymentMetricsHistory<'a>
pub fn new(client: &'a Client) -> Self
pub fn id<V>(self, value: V) -> Selfwhere
V: TryInto<GetDeploymentMetricsHistoryId>,
pub fn from<V>(self, value: V) -> Self
pub fn replica<V>(self, value: V) -> Selfwhere
V: TryInto<GetDeploymentMetricsHistoryReplica>,
pub fn service<V>(self, value: V) -> Selfwhere
V: TryInto<GetDeploymentMetricsHistoryService>,
pub fn to<V>(self, value: V) -> Self
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<GetDeploymentMetricsHistoryWorkspace>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<GetDeploymentMetricsHistoryResponse>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<GetDeploymentMetricsHistoryResponse>, Error<ApiError>>
Sends a GET request to /v1/deployments/{id}/metrics-history
Trait Implementations§
Source§impl<'a> Clone for GetDeploymentMetricsHistory<'a>
impl<'a> Clone for GetDeploymentMetricsHistory<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetDeploymentMetricsHistory<'a>
impl<'a> !UnwindSafe for GetDeploymentMetricsHistory<'a>
impl<'a> Forget for GetDeploymentMetricsHistory<'a>
impl<'a> Freeze for GetDeploymentMetricsHistory<'a>
impl<'a> Send for GetDeploymentMetricsHistory<'a>
impl<'a> Sync for GetDeploymentMetricsHistory<'a>
impl<'a> Unpin for GetDeploymentMetricsHistory<'a>
impl<'a> UnsafeUnpin for GetDeploymentMetricsHistory<'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