Struct rerun::sdk::external::re_data_loader::DataLoaderSettings
source · pub struct DataLoaderSettings {
pub application_id: Option<ApplicationId>,
pub opened_application_id: Option<ApplicationId>,
pub store_id: StoreId,
pub opened_store_id: Option<StoreId>,
pub force_store_info: bool,
pub entity_path_prefix: Option<EntityPath>,
pub timepoint: Option<TimePoint>,
}
Expand description
Recommended settings for the DataLoader
.
The loader is free to ignore some or all of these.
External DataLoader
s will be passed the following CLI parameters:
--application-id <application_id>
--opened-application-id <opened_application_id>
(if set)--recording-id <store_id>
--opened-recording-id <opened_store_id>
(if set)--entity-path-prefix <entity_path_prefix>
(if set)--static
(iftimepoint
is set to the timeless timepoint)--timeless
[deprecated] (iftimepoint
is set to the timeless timepoint)--time <timeline1>=<time1> <timeline2>=<time2> ...
(iftimepoint
contains temporal data)--sequence <timeline1>=<seq1> <timeline2>=<seq2> ...
(iftimepoint
contains sequence data)
Fields§
§application_id: Option<ApplicationId>
The recommended re_log_types::ApplicationId
to log the data to, based on the surrounding context.
opened_application_id: Option<ApplicationId>
The re_log_types::ApplicationId
that is currently opened in the viewer, if any.
store_id: StoreId
The recommended re_log_types::StoreId
to log the data to, based on the surrounding context.
Log data to this recording if you want it to appear in a new recording shared by all data-loaders for the current loading session.
opened_store_id: Option<StoreId>
The re_log_types::StoreId
that is currently opened in the viewer, if any.
force_store_info: bool
Whether SetStoreInfo
s should be sent, regardless of the surrounding context.
Only useful when creating a recording just-in-time directly in the viewer (which is what happens when importing things into the welcome screen).
entity_path_prefix: Option<EntityPath>
What should the logged entity paths be prefixed with?
timepoint: Option<TimePoint>
At what time(s) should the data be logged to?
Implementations§
source§impl DataLoaderSettings
impl DataLoaderSettings
pub fn recommended(store_id: impl Into<StoreId>) -> DataLoaderSettings
sourcepub fn to_cli_args(&self) -> Vec<String>
pub fn to_cli_args(&self) -> Vec<String>
Generates CLI flags from these settings, for external data loaders.
Trait Implementations§
source§impl Clone for DataLoaderSettings
impl Clone for DataLoaderSettings
source§fn clone(&self) -> DataLoaderSettings
fn clone(&self) -> DataLoaderSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DataLoaderSettings
impl RefUnwindSafe for DataLoaderSettings
impl Send for DataLoaderSettings
impl Sync for DataLoaderSettings
impl Unpin for DataLoaderSettings
impl UnwindSafe for DataLoaderSettings
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
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§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> ⓘ
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> ⓘ
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 moresource§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>
T
in a tonic::Request