pub struct ProjectUsageResponse {
pub build_minutes: ProjectUsageBuild,
pub vcpu: ProjectUsageVCPU,
pub daily: Vec<ProjectUsageDaily>,
}Expand description
Sub-Response for the /user/me/usage backend endpoint
Fields§
§build_minutes: ProjectUsageBuildShow the build minutes clocked against this Project.
vcpu: ProjectUsageVCPUShow the VCPU used by this project on the container platform.
daily: Vec<ProjectUsageDaily>Daily usage breakdown for this project
Trait Implementations§
Source§impl Clone for ProjectUsageResponse
impl Clone for ProjectUsageResponse
Source§fn clone(&self) -> ProjectUsageResponse
fn clone(&self) -> ProjectUsageResponse
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 moreSource§impl Debug for ProjectUsageResponse
impl Debug for ProjectUsageResponse
Source§impl Default for ProjectUsageResponse
impl Default for ProjectUsageResponse
Source§fn default() -> ProjectUsageResponse
fn default() -> ProjectUsageResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectUsageResponse
impl<'de> Deserialize<'de> for ProjectUsageResponse
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 ProjectUsageResponse
impl PartialEq for ProjectUsageResponse
Source§impl Serialize for ProjectUsageResponse
impl Serialize for ProjectUsageResponse
impl StructuralPartialEq for ProjectUsageResponse
Auto Trait Implementations§
impl Freeze for ProjectUsageResponse
impl RefUnwindSafe for ProjectUsageResponse
impl Send for ProjectUsageResponse
impl Sync for ProjectUsageResponse
impl Unpin for ProjectUsageResponse
impl UnwindSafe for ProjectUsageResponse
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