pub struct SetPressureDataOverrideParamsBuilder { /* private fields */ }Implementations§
Source§impl SetPressureDataOverrideParamsBuilder
impl SetPressureDataOverrideParamsBuilder
pub fn source( self, source: impl Into<PressureSource>, ) -> SetPressureDataOverrideParamsBuilder
pub fn state( self, state: impl Into<PressureState>, ) -> SetPressureDataOverrideParamsBuilder
pub fn own_contribution_estimate( self, own_contribution_estimate: impl Into<f64>, ) -> SetPressureDataOverrideParamsBuilder
pub fn build(self) -> Result<SetPressureDataOverrideParams, String>
Trait Implementations§
Source§impl Clone for SetPressureDataOverrideParamsBuilder
impl Clone for SetPressureDataOverrideParamsBuilder
Source§fn clone(&self) -> SetPressureDataOverrideParamsBuilder
fn clone(&self) -> SetPressureDataOverrideParamsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for SetPressureDataOverrideParamsBuilder
impl Default for SetPressureDataOverrideParamsBuilder
Source§fn default() -> SetPressureDataOverrideParamsBuilder
fn default() -> SetPressureDataOverrideParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetPressureDataOverrideParamsBuilder
impl RefUnwindSafe for SetPressureDataOverrideParamsBuilder
impl Send for SetPressureDataOverrideParamsBuilder
impl Sync for SetPressureDataOverrideParamsBuilder
impl Unpin for SetPressureDataOverrideParamsBuilder
impl UnwindSafe for SetPressureDataOverrideParamsBuilder
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