pub struct LinearQuantityRequest { /* private fields */ }Expand description
A request for one linear measurement of one object.
Implementations§
Source§impl LinearQuantityRequest
impl LinearQuantityRequest
pub fn new(scope: ObjectId, kind: LinearQuantityKind) -> Self
pub fn scope(&self) -> &ObjectId
pub fn kind(&self) -> LinearQuantityKind
Trait Implementations§
Source§impl Clone for LinearQuantityRequest
impl Clone for LinearQuantityRequest
Source§fn clone(&self) -> LinearQuantityRequest
fn clone(&self) -> LinearQuantityRequest
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 LinearQuantityRequest
impl Debug for LinearQuantityRequest
Source§impl PartialEq for LinearQuantityRequest
impl PartialEq for LinearQuantityRequest
impl StructuralPartialEq for LinearQuantityRequest
Auto Trait Implementations§
impl Freeze for LinearQuantityRequest
impl RefUnwindSafe for LinearQuantityRequest
impl Send for LinearQuantityRequest
impl Sync for LinearQuantityRequest
impl Unpin for LinearQuantityRequest
impl UnsafeUnpin for LinearQuantityRequest
impl UnwindSafe for LinearQuantityRequest
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