pub struct Builder<T>(/* private fields */);
Expand description
A builder for GeoPlotFromLatLong
Implementations§
Source§impl Builder<LatitudeVariableNameStage>
impl Builder<LatitudeVariableNameStage>
Sourcepub fn latitude_variable_name(
self,
latitude_variable_name: ChannelVariableName,
) -> Builder<LongitudeVariableNameStage>
pub fn latitude_variable_name( self, latitude_variable_name: ChannelVariableName, ) -> Builder<LongitudeVariableNameStage>
Sets the latitude_variable_name
field.
Source§impl Builder<LongitudeVariableNameStage>
impl Builder<LongitudeVariableNameStage>
Sourcepub fn longitude_variable_name(
self,
longitude_variable_name: ChannelVariableName,
) -> Builder<VisualizationOptionsStage>
pub fn longitude_variable_name( self, longitude_variable_name: ChannelVariableName, ) -> Builder<VisualizationOptionsStage>
Sets the longitude_variable_name
field.
Source§impl Builder<VisualizationOptionsStage>
impl Builder<VisualizationOptionsStage>
Sourcepub fn visualization_options(
self,
visualization_options: GeoPlotVisualizationOptions,
) -> Builder<Complete>
pub fn visualization_options( self, visualization_options: GeoPlotVisualizationOptions, ) -> Builder<Complete>
Sets the visualization_options
field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn latitude_variable_name(
self,
latitude_variable_name: ChannelVariableName,
) -> Self
pub fn latitude_variable_name( self, latitude_variable_name: ChannelVariableName, ) -> Self
Sets the latitude_variable_name
field.
Sourcepub fn longitude_variable_name(
self,
longitude_variable_name: ChannelVariableName,
) -> Self
pub fn longitude_variable_name( self, longitude_variable_name: ChannelVariableName, ) -> Self
Sets the longitude_variable_name
field.
Sourcepub fn secondary_variables(
self,
secondary_variables: impl Into<Option<Vec<GeoAdditionalVariable>>>,
) -> Self
pub fn secondary_variables( self, secondary_variables: impl Into<Option<Vec<GeoAdditionalVariable>>>, ) -> Self
Sets the secondary_variables
field.
Sourcepub fn visualization_options(
self,
visualization_options: GeoPlotVisualizationOptions,
) -> Self
pub fn visualization_options( self, visualization_options: GeoPlotVisualizationOptions, ) -> Self
Sets the visualization_options
field.
Sourcepub fn build(self) -> GeoPlotFromLatLong
pub fn build(self) -> GeoPlotFromLatLong
Consumes the builder, returning a GeoPlotFromLatLong
.
Trait Implementations§
Source§impl Default for Builder<LatitudeVariableNameStage>
impl Default for Builder<LatitudeVariableNameStage>
Source§impl From<GeoPlotFromLatLong> for Builder<Complete>
impl From<GeoPlotFromLatLong> for Builder<Complete>
Source§fn from(v: GeoPlotFromLatLong) -> Self
fn from(v: GeoPlotFromLatLong) -> 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