pub struct MeasureQuery {
pub id: u64,
pub kind: MeasureKind,
pub owner: String,
pub entity: String,
pub density: f64,
}Expand description
A per-object MEASUREMENT request routed to the runner (which owns the warm
registry). The runner resolves owner to its resident handle and measures by
kind; the reply is the object-info JSON fragment MINUS the
main-injected name/creatingFeature fields. Tagged with a monotonic
id so the main side can pair the reply with its pending request.
Fields§
§id: u64Monotonic request id (main pairs the reply back by it).
kind: MeasureKindThe measurement to run.
owner: StringThe OWNING solid name (a solid is its own owner; a face/edge names its solid).
entity: StringThe face/edge NAME to measure (ignored for a whole-solid query).
density: f64The density (mass per mm³) to scale a solid’s weight (ignored for face/edge).
Trait Implementations§
Source§impl Clone for MeasureQuery
impl Clone for MeasureQuery
Source§fn clone(&self) -> MeasureQuery
fn clone(&self) -> MeasureQuery
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 MeasureQuery
impl Debug for MeasureQuery
Source§impl<'de> Deserialize<'de> for MeasureQuery
impl<'de> Deserialize<'de> for MeasureQuery
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 MeasureQuery
impl RefUnwindSafe for MeasureQuery
impl Send for MeasureQuery
impl Sync for MeasureQuery
impl Unpin for MeasureQuery
impl UnsafeUnpin for MeasureQuery
impl UnwindSafe for MeasureQuery
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>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more