pub struct DemandForecast { /* private fields */ }Implementations§
Source§impl DemandForecast
impl DemandForecast
pub const fn new( sku: Sku, expected_units: Quantity, confidence: Confidence, horizon_days: Days, ) -> Self
pub const fn try_new( sku: Sku, expected_units: Quantity, confidence: Confidence, horizon_days: Days, ) -> Result<Self, ValidationError>
pub fn sku(&self) -> <Sku as FieldAccess>::Output<'_>
pub fn expected_units(&self) -> <Quantity as FieldAccess>::Output<'_>
pub fn confidence(&self) -> <Confidence as FieldAccess>::Output<'_>
pub fn horizon_days(&self) -> <Days as FieldAccess>::Output<'_>
Trait Implementations§
Source§impl Clone for DemandForecast
impl Clone for DemandForecast
Source§fn clone(&self) -> DemandForecast
fn clone(&self) -> DemandForecast
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 DemandForecast
impl Debug for DemandForecast
Source§impl PartialEq for DemandForecast
impl PartialEq for DemandForecast
Source§fn eq(&self, other: &DemandForecast) -> bool
fn eq(&self, other: &DemandForecast) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DemandForecast
impl StructuralPartialEq for DemandForecast
Auto Trait Implementations§
impl Freeze for DemandForecast
impl RefUnwindSafe for DemandForecast
impl Send for DemandForecast
impl Sync for DemandForecast
impl Unpin for DemandForecast
impl UnsafeUnpin for DemandForecast
impl UnwindSafe for DemandForecast
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