pub struct PerformanceContract {
pub roofline: Option<String>,
pub prefill_bound: Option<String>,
pub decode_bound: Option<String>,
pub throughput_ceiling: Option<String>,
}Expand description
Performance contract tied to roofline model.
Fields§
§roofline: Option<String>§prefill_bound: Option<String>§decode_bound: Option<String>§throughput_ceiling: Option<String>Trait Implementations§
Source§impl Clone for PerformanceContract
impl Clone for PerformanceContract
Source§fn clone(&self) -> PerformanceContract
fn clone(&self) -> PerformanceContract
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 PerformanceContract
impl Debug for PerformanceContract
Source§impl<'de> Deserialize<'de> for PerformanceContract
impl<'de> Deserialize<'de> for PerformanceContract
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
Auto Trait Implementations§
impl Freeze for PerformanceContract
impl RefUnwindSafe for PerformanceContract
impl Send for PerformanceContract
impl Sync for PerformanceContract
impl Unpin for PerformanceContract
impl UnsafeUnpin for PerformanceContract
impl UnwindSafe for PerformanceContract
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