pub struct PackFunctionDef {
pub name: SmolStr,
pub engine: SmolStr,
pub input_type: SmolStr,
pub output_type: SmolStr,
pub p50_budget_us: u32,
pub p99_budget_us: u32,
}Expand description
Signature-level function descriptor carried in PackDef. Budgets ride
the build fingerprint (operational policy, not stored meaning) but not
the compatibility summary’s verb identity.
Fields§
§name: SmolStrVerb name (as declared).
engine: SmolStrEngine tag (scheme).
input_type: SmolStrStringified input type name.
output_type: SmolStrStringified output type name.
p50_budget_us: u32p50 budget, microseconds.
p99_budget_us: u32p99 budget, microseconds.
Trait Implementations§
Source§impl Clone for PackFunctionDef
impl Clone for PackFunctionDef
Source§fn clone(&self) -> PackFunctionDef
fn clone(&self) -> PackFunctionDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PackFunctionDef
impl Debug for PackFunctionDef
Source§impl<'de> Deserialize<'de> for PackFunctionDef
impl<'de> Deserialize<'de> for PackFunctionDef
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 PackFunctionDef
impl PartialEq for PackFunctionDef
Source§impl Serialize for PackFunctionDef
impl Serialize for PackFunctionDef
impl StructuralPartialEq for PackFunctionDef
Auto Trait Implementations§
impl Freeze for PackFunctionDef
impl RefUnwindSafe for PackFunctionDef
impl Send for PackFunctionDef
impl Sync for PackFunctionDef
impl Unpin for PackFunctionDef
impl UnsafeUnpin for PackFunctionDef
impl UnwindSafe for PackFunctionDef
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