pub struct LimitsDecl {
pub acquisition: Option<AcquisitionBudget>,
pub max_semantic_requests: u64,
pub on_excess: ExcessPolicy,
pub max_projection_bytes: u64,
pub distribution_tolerance: Decimal,
pub deadline_ms: u64,
}Expand description
Declared ceilings (spec 002, 3.9.5 category 7, and 3.10.3).
Fields§
§acquisition: Option<AcquisitionBudget>Spec 036 acquisition ceilings, omitted when unused.
max_semantic_requests: u64§on_excess: ExcessPolicy§max_projection_bytes: u64§distribution_tolerance: DecimalAllowed |sum - 1| for a supplied distribution.
deadline_ms: u64Recorded for the runtime; not enforced by the pure core.
Trait Implementations§
Source§impl Clone for LimitsDecl
impl Clone for LimitsDecl
Source§impl Debug for LimitsDecl
impl Debug for LimitsDecl
Source§impl<'de> Deserialize<'de> for LimitsDecl
impl<'de> Deserialize<'de> for LimitsDecl
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 LimitsDecl
Source§impl JsonSchema for LimitsDecl
impl JsonSchema for LimitsDecl
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 moreSource§impl PartialEq for LimitsDecl
impl PartialEq for LimitsDecl
Source§impl Serialize for LimitsDecl
impl Serialize for LimitsDecl
impl StructuralPartialEq for LimitsDecl
Auto Trait Implementations§
impl Freeze for LimitsDecl
impl RefUnwindSafe for LimitsDecl
impl Send for LimitsDecl
impl Sync for LimitsDecl
impl Unpin for LimitsDecl
impl UnsafeUnpin for LimitsDecl
impl UnwindSafe for LimitsDecl
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