pub struct SourceableDistributorProduct { /* private fields */ }Implementations§
Source§impl SourceableDistributorProduct
impl SourceableDistributorProduct
pub const fn try_new( product: DistributorProduct, units: Quantity, ) -> DomainResult<Self>
Trait Implementations§
Source§impl Clone for SourceableDistributorProduct
impl Clone for SourceableDistributorProduct
Source§fn clone(&self) -> SourceableDistributorProduct
fn clone(&self) -> SourceableDistributorProduct
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 SourceableDistributorProduct
impl Debug for SourceableDistributorProduct
Source§impl PartialEq for SourceableDistributorProduct
impl PartialEq for SourceableDistributorProduct
Source§fn eq(&self, other: &SourceableDistributorProduct) -> bool
fn eq(&self, other: &SourceableDistributorProduct) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SourceableDistributorProduct
impl StructuralPartialEq for SourceableDistributorProduct
Auto Trait Implementations§
impl Freeze for SourceableDistributorProduct
impl RefUnwindSafe for SourceableDistributorProduct
impl Send for SourceableDistributorProduct
impl Sync for SourceableDistributorProduct
impl Unpin for SourceableDistributorProduct
impl UnsafeUnpin for SourceableDistributorProduct
impl UnwindSafe for SourceableDistributorProduct
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