pub struct ModelMetricsResponse {
pub model_volume: f64,
pub model_surface_area: f64,
pub solids: Vec<VolumeMetric>,
pub sheets: Vec<VolumeMetric>,
pub faces: Vec<FaceMetric>,
pub edges: Vec<EdgeMetric>,
}Expand description
Response for model metrics query
Fields§
§model_volume: f64Sum of the volumes in solids
model_surface_area: f64Aggregated surface area of all solids and sheets
solids: Vec<VolumeMetric>Volume and surface area metrics per solid
sheets: Vec<VolumeMetric>Volume and surface area metrics per sheet
faces: Vec<FaceMetric>Surface area metrics per face
edges: Vec<EdgeMetric>Length metrics per edge
Trait Implementations§
Source§impl Clone for ModelMetricsResponse
impl Clone for ModelMetricsResponse
Source§impl Debug for ModelMetricsResponse
impl Debug for ModelMetricsResponse
Source§impl<'de> Deserialize<'de> for ModelMetricsResponse
impl<'de> Deserialize<'de> for ModelMetricsResponse
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 Forget for ModelMetricsResponse
impl Freeze for ModelMetricsResponse
impl RefUnwindSafe for ModelMetricsResponse
impl Send for ModelMetricsResponse
impl Sync for ModelMetricsResponse
impl Unpin for ModelMetricsResponse
impl UnsafeUnpin for ModelMetricsResponse
impl UnwindSafe for ModelMetricsResponse
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