pub struct ReleaseResponse {
pub lease: Lease,
pub noise: Option<NoiseReport>,
pub run: Option<RunReport>,
pub next: Option<NextReservation>,
}Expand description
Response of DELETE /leases/{id}.
Fields§
§lease: LeaseThe lease in its final state.
noise: Option<NoiseReport>Background load while a benchmark lease was active. Only the release that ends the lease carries it, and only when at least one sample was taken during the lease.
run: Option<RunReport>What the run used. Only the release that ends an active lease carries it.
next: Option<NextReservation>What the next run of the same request would reserve, now that this run counts. Only
with run, and only while allotd still knows the request, which a lease restored
across a daemon restart it does not.
Trait Implementations§
Source§impl Clone for ReleaseResponse
impl Clone for ReleaseResponse
Source§impl Debug for ReleaseResponse
impl Debug for ReleaseResponse
Source§impl<'de> Deserialize<'de> for ReleaseResponse
impl<'de> Deserialize<'de> for ReleaseResponse
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
Source§impl PartialEq for ReleaseResponse
impl PartialEq for ReleaseResponse
Source§impl Serialize for ReleaseResponse
impl Serialize for ReleaseResponse
impl StructuralPartialEq for ReleaseResponse
Auto Trait Implementations§
impl Forget for ReleaseResponse
impl Freeze for ReleaseResponse
impl Move for ReleaseResponse
impl RefUnwindSafe for ReleaseResponse
impl Send for ReleaseResponse
impl Sync for ReleaseResponse
impl Unpin for ReleaseResponse
impl UnsafeUnpin for ReleaseResponse
impl UnwindSafe for ReleaseResponse
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