pub struct Budgets {
pub image_bytes: Option<Positive>,
pub binary_bytes: Option<Positive>,
pub build_context_bytes: Option<Positive>,
pub cold_start_ms: Option<Positive>,
pub resident_memory_mb: Option<Positive>,
pub blocking_check_ms: Option<Positive>,
pub request_p99_ms: Option<Positive>,
}Expand description
The measured figures this deployment is held to. Each is written by the run that measured it; an absent one has not been measured yet and is not a licence.
Fields§
§image_bytes: Option<Positive>Largest accepted compressed image size.
binary_bytes: Option<Positive>Largest accepted stripped binary size.
build_context_bytes: Option<Positive>Largest accepted build context.
cold_start_ms: Option<Positive>Longest accepted time from a stopped machine to a served response.
resident_memory_mb: Option<Positive>Largest accepted resident set under load.
blocking_check_ms: Option<Positive>Longest accepted time for one liveness or readiness check.
request_p99_ms: Option<Positive>Longest accepted p99 for a served request.
Trait Implementations§
impl Copy for Budgets
Source§impl<'de> Deserialize<'de> for Budgets
impl<'de> Deserialize<'de> for Budgets
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
impl Eq for Budgets
Source§impl JsonSchema for Budgets
impl JsonSchema for Budgets
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Budgets
Auto Trait Implementations§
impl Freeze for Budgets
impl RefUnwindSafe for Budgets
impl Send for Budgets
impl Sync for Budgets
impl Unpin for Budgets
impl UnsafeUnpin for Budgets
impl UnwindSafe for Budgets
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.