pub struct Builder<T>(/* private fields */);Expand description
A builder for RefpropSeriesNode
Implementations§
Source§impl Builder<FirstInputStage>
impl Builder<FirstInputStage>
Sourcepub fn first_input(
self,
first_input: NumericSeriesNode,
) -> Builder<SecondInputStage>
pub fn first_input( self, first_input: NumericSeriesNode, ) -> Builder<SecondInputStage>
Sets the first_input field.
Source§impl Builder<SecondInputStage>
impl Builder<SecondInputStage>
Sourcepub fn second_input(
self,
second_input: NumericSeriesNode,
) -> Builder<FirstPropertyStage>
pub fn second_input( self, second_input: NumericSeriesNode, ) -> Builder<FirstPropertyStage>
Sets the second_input field.
Source§impl Builder<FirstPropertyStage>
impl Builder<FirstPropertyStage>
Sourcepub fn first_property(
self,
first_property: RefpropProperty,
) -> Builder<SecondPropertyStage>
pub fn first_property( self, first_property: RefpropProperty, ) -> Builder<SecondPropertyStage>
Sets the first_property field.
Source§impl Builder<SecondPropertyStage>
impl Builder<SecondPropertyStage>
Sourcepub fn second_property(
self,
second_property: RefpropProperty,
) -> Builder<OutputPropertyStage>
pub fn second_property( self, second_property: RefpropProperty, ) -> Builder<OutputPropertyStage>
Sets the second_property field.
Source§impl Builder<OutputPropertyStage>
impl Builder<OutputPropertyStage>
Sourcepub fn output_property(
self,
output_property: RefpropProperty,
) -> Builder<SubstanceStage>
pub fn output_property( self, output_property: RefpropProperty, ) -> Builder<SubstanceStage>
Sets the output_property field.
Source§impl Builder<SubstanceStage>
impl Builder<SubstanceStage>
Sourcepub fn substance(
self,
substance: RefpropSubstance,
) -> Builder<InterpolationConfigurationStage>
pub fn substance( self, substance: RefpropSubstance, ) -> Builder<InterpolationConfigurationStage>
Sets the substance field.
Source§impl Builder<InterpolationConfigurationStage>
impl Builder<InterpolationConfigurationStage>
Sourcepub fn interpolation_configuration(
self,
interpolation_configuration: InterpolationConfiguration,
) -> Builder<Complete>
pub fn interpolation_configuration( self, interpolation_configuration: InterpolationConfiguration, ) -> Builder<Complete>
Sets the interpolation_configuration field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn first_input(self, first_input: NumericSeriesNode) -> Self
pub fn first_input(self, first_input: NumericSeriesNode) -> Self
Sets the first_input field.
Sourcepub fn second_input(self, second_input: NumericSeriesNode) -> Self
pub fn second_input(self, second_input: NumericSeriesNode) -> Self
Sets the second_input field.
Sourcepub fn first_property(self, first_property: RefpropProperty) -> Self
pub fn first_property(self, first_property: RefpropProperty) -> Self
Sets the first_property field.
Sourcepub fn second_property(self, second_property: RefpropProperty) -> Self
pub fn second_property(self, second_property: RefpropProperty) -> Self
Sets the second_property field.
Sourcepub fn output_property(self, output_property: RefpropProperty) -> Self
pub fn output_property(self, output_property: RefpropProperty) -> Self
Sets the output_property field.
Sourcepub fn substance(self, substance: RefpropSubstance) -> Self
pub fn substance(self, substance: RefpropSubstance) -> Self
Sets the substance field.
Sourcepub fn interpolation_configuration(
self,
interpolation_configuration: InterpolationConfiguration,
) -> Self
pub fn interpolation_configuration( self, interpolation_configuration: InterpolationConfiguration, ) -> Self
Sets the interpolation_configuration field.
Sourcepub fn build(self) -> RefpropSeriesNode
pub fn build(self) -> RefpropSeriesNode
Consumes the builder, returning a RefpropSeriesNode.
Trait Implementations§
Source§impl Default for Builder<FirstInputStage>
impl Default for Builder<FirstInputStage>
Source§impl From<RefpropSeriesNode> for Builder<Complete>
impl From<RefpropSeriesNode> for Builder<Complete>
Source§fn from(v: RefpropSeriesNode) -> Self
fn from(v: RefpropSeriesNode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request