Builder

Struct Builder 

Source
pub struct Builder<T>(/* private fields */);
Expand description

A builder for Cartesian3dBucket

Implementations§

Source§

impl Builder<MeanXStage>

Source

pub fn mean_x(self, mean_x: f64) -> Builder<MeanYStage>

Sets the mean_x field.

Source§

impl Builder<MeanYStage>

Source

pub fn mean_y(self, mean_y: f64) -> Builder<MeanZStage>

Sets the mean_y field.

Source§

impl Builder<MeanZStage>

Source

pub fn mean_z(self, mean_z: f64) -> Builder<MinXPointStage>

Sets the mean_z field.

Source§

impl Builder<MinXPointStage>

Source

pub fn min_x_point(self, min_x_point: Point3d) -> Builder<MaxXPointStage>

Sets the min_x_point field.

Source§

impl Builder<MaxXPointStage>

Source

pub fn max_x_point(self, max_x_point: Point3d) -> Builder<MinYPointStage>

Sets the max_x_point field.

Source§

impl Builder<MinYPointStage>

Source

pub fn min_y_point(self, min_y_point: Point3d) -> Builder<MaxYPointStage>

Sets the min_y_point field.

Source§

impl Builder<MaxYPointStage>

Source

pub fn max_y_point(self, max_y_point: Point3d) -> Builder<MinZPointStage>

Sets the max_y_point field.

Source§

impl Builder<MinZPointStage>

Source

pub fn min_z_point(self, min_z_point: Point3d) -> Builder<MaxZPointStage>

Sets the min_z_point field.

Source§

impl Builder<MaxZPointStage>

Source

pub fn max_z_point(self, max_z_point: Point3d) -> Builder<MinTimestampStage>

Sets the max_z_point field.

Source§

impl Builder<MinTimestampStage>

Source

pub fn min_timestamp( self, min_timestamp: Timestamp, ) -> Builder<MaxTimestampStage>

Sets the min_timestamp field.

Source§

impl Builder<MaxTimestampStage>

Source

pub fn max_timestamp(self, max_timestamp: Timestamp) -> Builder<CountStage>

Sets the max_timestamp field.

Source§

impl Builder<CountStage>

Source

pub fn count(self, count: SafeLong) -> Builder<Complete>

Sets the count field.

Source§

impl Builder<Complete>

Source

pub fn min_x(self, min_x: impl Into<Option<f64>>) -> Self

Sets the min_x field.

Source

pub fn max_x(self, max_x: impl Into<Option<f64>>) -> Self

Sets the max_x field.

Source

pub fn mean_x(self, mean_x: f64) -> Self

Sets the mean_x field.

Source

pub fn min_y(self, min_y: impl Into<Option<f64>>) -> Self

Sets the min_y field.

Source

pub fn max_y(self, max_y: impl Into<Option<f64>>) -> Self

Sets the max_y field.

Source

pub fn mean_y(self, mean_y: f64) -> Self

Sets the mean_y field.

Source

pub fn min_z(self, min_z: impl Into<Option<f64>>) -> Self

Sets the min_z field.

Source

pub fn max_z(self, max_z: impl Into<Option<f64>>) -> Self

Sets the max_z field.

Source

pub fn mean_z(self, mean_z: f64) -> Self

Sets the mean_z field.

Source

pub fn min_x_point(self, min_x_point: Point3d) -> Self

Sets the min_x_point field.

Source

pub fn max_x_point(self, max_x_point: Point3d) -> Self

Sets the max_x_point field.

Source

pub fn min_y_point(self, min_y_point: Point3d) -> Self

Sets the min_y_point field.

Source

pub fn max_y_point(self, max_y_point: Point3d) -> Self

Sets the max_y_point field.

Source

pub fn min_z_point(self, min_z_point: Point3d) -> Self

Sets the min_z_point field.

Source

pub fn max_z_point(self, max_z_point: Point3d) -> Self

Sets the max_z_point field.

Source

pub fn min_timestamp(self, min_timestamp: Timestamp) -> Self

Sets the min_timestamp field.

Source

pub fn max_timestamp(self, max_timestamp: Timestamp) -> Self

Sets the max_timestamp field.

Source

pub fn count(self, count: SafeLong) -> Self

Sets the count field.

Source

pub fn build(self) -> Cartesian3dBucket

Consumes the builder, returning a Cartesian3dBucket.

Trait Implementations§

Source§

impl Default for Builder<MeanXStage>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl From<Cartesian3dBucket> for Builder<Complete>

Source§

fn from(v: Cartesian3dBucket) -> 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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

impl<L> LayerExt<L> for L

Source§

fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>
where L: Layer<S>,

Applies the layer to a service and wraps it in Layered.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more