pub struct Builder<T>(/* private fields */);
Expand description
A builder for NominalStorageLocator
Implementations§
Source§impl Builder<DataSourceRidStage>
impl Builder<DataSourceRidStage>
Sourcepub fn data_source_rid(
self,
data_source_rid: NominalDataSourceOrDatasetRid,
) -> Builder<TypeStage>
pub fn data_source_rid( self, data_source_rid: NominalDataSourceOrDatasetRid, ) -> Builder<TypeStage>
Sets the data_source_rid
field.
Source§impl Builder<TypeStage>
impl Builder<TypeStage>
Sourcepub fn type_(self, type_: NominalDataType) -> Builder<DetailsStage>
pub fn type_(self, type_: NominalDataType) -> Builder<DetailsStage>
Sets the type_
field.
Source§impl Builder<DetailsStage>
impl Builder<DetailsStage>
Sourcepub fn details(
self,
details: ClickHouseSeriesResolutionDetails,
) -> Builder<IsInMemoryStreamingEnabledStage>
pub fn details( self, details: ClickHouseSeriesResolutionDetails, ) -> Builder<IsInMemoryStreamingEnabledStage>
Sets the details
field.
Source§impl Builder<IsInMemoryStreamingEnabledStage>
impl Builder<IsInMemoryStreamingEnabledStage>
Sourcepub fn is_in_memory_streaming_enabled(
self,
is_in_memory_streaming_enabled: bool,
) -> Builder<Complete>
pub fn is_in_memory_streaming_enabled( self, is_in_memory_streaming_enabled: bool, ) -> Builder<Complete>
Sets the is_in_memory_streaming_enabled
field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn data_source_rid(
self,
data_source_rid: NominalDataSourceOrDatasetRid,
) -> Self
pub fn data_source_rid( self, data_source_rid: NominalDataSourceOrDatasetRid, ) -> Self
Sets the data_source_rid
field.
Sourcepub fn type_(self, type_: NominalDataType) -> Self
pub fn type_(self, type_: NominalDataType) -> Self
Sets the type_
field.
Sourcepub fn details(self, details: ClickHouseSeriesResolutionDetails) -> Self
pub fn details(self, details: ClickHouseSeriesResolutionDetails) -> Self
Sets the details
field.
Sourcepub fn is_in_memory_streaming_enabled(
self,
is_in_memory_streaming_enabled: bool,
) -> Self
pub fn is_in_memory_streaming_enabled( self, is_in_memory_streaming_enabled: bool, ) -> Self
Sets the is_in_memory_streaming_enabled
field.
Sourcepub fn build(self) -> NominalStorageLocator
pub fn build(self) -> NominalStorageLocator
Consumes the builder, returning a NominalStorageLocator
.
Trait Implementations§
Source§impl Default for Builder<DataSourceRidStage>
impl Default for Builder<DataSourceRidStage>
Source§impl From<NominalStorageLocator> for Builder<Complete>
impl From<NominalStorageLocator> for Builder<Complete>
Source§fn from(v: NominalStorageLocator) -> Self
fn from(v: NominalStorageLocator) -> 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