Struct nyx_space::io::ExportCfgBuilder
source · pub struct ExportCfgBuilder<TypedBuilderFields = ((), (), (), (), (), ())> { /* private fields */ }
Expand description
Builder for ExportCfg
instances.
See ExportCfg::builder()
for more info.
Implementations§
source§impl<__start_epoch, __end_epoch, __step, __metadata, __timestamp> ExportCfgBuilder<((), __start_epoch, __end_epoch, __step, __metadata, __timestamp)>
impl<__start_epoch, __end_epoch, __step, __metadata, __timestamp> ExportCfgBuilder<((), __start_epoch, __end_epoch, __step, __metadata, __timestamp)>
pub fn fields( self, fields: Vec<StateParameter> ) -> ExportCfgBuilder<((Option<Vec<StateParameter>>,), __start_epoch, __end_epoch, __step, __metadata, __timestamp)>
source§impl<__fields, __end_epoch, __step, __metadata, __timestamp> ExportCfgBuilder<(__fields, (), __end_epoch, __step, __metadata, __timestamp)>
impl<__fields, __end_epoch, __step, __metadata, __timestamp> ExportCfgBuilder<(__fields, (), __end_epoch, __step, __metadata, __timestamp)>
pub fn start_epoch( self, start_epoch: Epoch ) -> ExportCfgBuilder<(__fields, (Option<Epoch>,), __end_epoch, __step, __metadata, __timestamp)>
source§impl<__fields, __start_epoch, __step, __metadata, __timestamp> ExportCfgBuilder<(__fields, __start_epoch, (), __step, __metadata, __timestamp)>
impl<__fields, __start_epoch, __step, __metadata, __timestamp> ExportCfgBuilder<(__fields, __start_epoch, (), __step, __metadata, __timestamp)>
source§impl<__fields, __start_epoch, __end_epoch, __metadata, __timestamp> ExportCfgBuilder<(__fields, __start_epoch, __end_epoch, (), __metadata, __timestamp)>
impl<__fields, __start_epoch, __end_epoch, __metadata, __timestamp> ExportCfgBuilder<(__fields, __start_epoch, __end_epoch, (), __metadata, __timestamp)>
source§impl<__fields, __start_epoch, __end_epoch, __step, __timestamp> ExportCfgBuilder<(__fields, __start_epoch, __end_epoch, __step, (), __timestamp)>
impl<__fields, __start_epoch, __end_epoch, __step, __timestamp> ExportCfgBuilder<(__fields, __start_epoch, __end_epoch, __step, (), __timestamp)>
source§impl<__fields, __start_epoch, __end_epoch, __step, __metadata> ExportCfgBuilder<(__fields, __start_epoch, __end_epoch, __step, __metadata, ())>
impl<__fields, __start_epoch, __end_epoch, __step, __metadata> ExportCfgBuilder<(__fields, __start_epoch, __end_epoch, __step, __metadata, ())>
pub fn timestamp( self, timestamp: bool ) -> ExportCfgBuilder<(__fields, __start_epoch, __end_epoch, __step, __metadata, (bool,))>
source§impl<__fields: Optional<Option<Vec<StateParameter>>>, __start_epoch: Optional<Option<Epoch>>, __end_epoch: Optional<Option<Epoch>>, __step: Optional<Option<Duration>>, __metadata: Optional<Option<HashMap<String, String>>>, __timestamp: Optional<bool>> ExportCfgBuilder<(__fields, __start_epoch, __end_epoch, __step, __metadata, __timestamp)>
impl<__fields: Optional<Option<Vec<StateParameter>>>, __start_epoch: Optional<Option<Epoch>>, __end_epoch: Optional<Option<Epoch>>, __step: Optional<Option<Duration>>, __metadata: Optional<Option<HashMap<String, String>>>, __timestamp: Optional<bool>> ExportCfgBuilder<(__fields, __start_epoch, __end_epoch, __step, __metadata, __timestamp)>
Trait Implementations§
Auto Trait Implementations§
impl<TypedBuilderFields> Freeze for ExportCfgBuilder<TypedBuilderFields>where
TypedBuilderFields: Freeze,
impl<TypedBuilderFields> RefUnwindSafe for ExportCfgBuilder<TypedBuilderFields>where
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for ExportCfgBuilder<TypedBuilderFields>where
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for ExportCfgBuilder<TypedBuilderFields>where
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for ExportCfgBuilder<TypedBuilderFields>where
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for ExportCfgBuilder<TypedBuilderFields>where
TypedBuilderFields: 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.