#[non_exhaustive]pub struct InfluxDBv3EnterpriseParameters {Show 52 fields
pub query_file_limit: Option<i32>,
pub query_log_size: Option<i32>,
pub log_filter: Option<String>,
pub log_format: Option<LogFormats>,
pub data_fusion_num_threads: Option<i32>,
pub data_fusion_runtime_type: Option<DataFusionRuntimeType>,
pub data_fusion_runtime_disable_lifo_slot: Option<bool>,
pub data_fusion_runtime_event_interval: Option<i32>,
pub data_fusion_runtime_global_queue_interval: Option<i32>,
pub data_fusion_runtime_max_blocking_threads: Option<i32>,
pub data_fusion_runtime_max_io_events_per_tick: Option<i32>,
pub data_fusion_runtime_thread_keep_alive: Option<Duration>,
pub data_fusion_runtime_thread_priority: Option<i32>,
pub data_fusion_max_parquet_fanout: Option<i32>,
pub data_fusion_use_cached_parquet_loader: Option<bool>,
pub data_fusion_config: Option<String>,
pub max_http_request_size: Option<i64>,
pub force_snapshot_mem_threshold: Option<PercentOrAbsoluteLong>,
pub wal_snapshot_size: Option<i32>,
pub wal_max_write_buffer_size: Option<i32>,
pub snapshotted_wal_files_to_keep: Option<i32>,
pub preemptive_cache_age: Option<Duration>,
pub parquet_mem_cache_prune_percentage: Option<f32>,
pub parquet_mem_cache_prune_interval: Option<Duration>,
pub disable_parquet_mem_cache: Option<bool>,
pub parquet_mem_cache_query_path_duration: Option<Duration>,
pub last_cache_eviction_interval: Option<Duration>,
pub distinct_cache_eviction_interval: Option<Duration>,
pub gen1_duration: Option<Duration>,
pub exec_mem_pool_bytes: Option<PercentOrAbsoluteLong>,
pub parquet_mem_cache_size: Option<PercentOrAbsoluteLong>,
pub wal_replay_fail_on_error: Option<bool>,
pub wal_replay_concurrency_limit: Option<i32>,
pub table_index_cache_max_entries: Option<i32>,
pub table_index_cache_concurrency_limit: Option<i32>,
pub gen1_lookback_duration: Option<Duration>,
pub retention_check_interval: Option<Duration>,
pub delete_grace_period: Option<Duration>,
pub hard_delete_default_duration: Option<Duration>,
pub ingest_query_instances: i32,
pub query_only_instances: i32,
pub dedicated_compactor: bool,
pub compaction_row_limit: Option<i32>,
pub compaction_max_num_files_per_plan: Option<i32>,
pub compaction_gen2_duration: Option<Duration>,
pub compaction_multipliers: Option<String>,
pub compaction_cleanup_wait: Option<Duration>,
pub compaction_check_interval: Option<Duration>,
pub last_value_cache_disable_from_history: Option<bool>,
pub distinct_value_cache_disable_from_history: Option<bool>,
pub replication_interval: Option<Duration>,
pub catalog_sync_interval: Option<Duration>,
}Expand description
All the customer-modifiable InfluxDB v3 Enterprise parameters in Timestream for InfluxDB.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.query_file_limit: Option<i32>Limits the number of Parquet files a query can access. If a query attempts to read more than this limit, InfluxDB 3 returns an error.
Default: 432
query_log_size: Option<i32>Defines the size of the query log. Up to this many queries remain in the log before older queries are evicted to make room for new ones.
Default: 1000
log_filter: Option<String>Sets the filter directive for logs.
log_format: Option<LogFormats>Defines the message format for logs.
Default: full
data_fusion_num_threads: Option<i32>Sets the maximum number of DataFusion runtime threads to use.
data_fusion_runtime_type: Option<DataFusionRuntimeType>Specifies the DataFusion tokio runtime type.
Default: multi-thread
data_fusion_runtime_disable_lifo_slot: Option<bool>Disables the LIFO slot of the DataFusion runtime.
data_fusion_runtime_event_interval: Option<i32>Sets the number of scheduler ticks after which the scheduler of the DataFusion tokio runtime polls for external events–for example: timers, I/O.
data_fusion_runtime_global_queue_interval: Option<i32>Sets the number of scheduler ticks after which the scheduler of the DataFusion runtime polls the global task queue.
data_fusion_runtime_max_blocking_threads: Option<i32>Specifies the limit for additional threads spawned by the DataFusion runtime.
data_fusion_runtime_max_io_events_per_tick: Option<i32>Configures the maximum number of events processed per tick by the tokio DataFusion runtime.
data_fusion_runtime_thread_keep_alive: Option<Duration>Sets a custom timeout for a thread in the blocking pool of the tokio DataFusion runtime.
data_fusion_runtime_thread_priority: Option<i32>Sets the thread priority for tokio DataFusion runtime workers.
Default: 10
data_fusion_max_parquet_fanout: Option<i32>When multiple parquet files are required in a sorted way (deduplication for example), specifies the maximum fanout.
Default: 1000
data_fusion_use_cached_parquet_loader: Option<bool>Uses a cached parquet loader when reading parquet files from the object store.
data_fusion_config: Option<String>Provides custom configuration to DataFusion as a comma-separated list of key:value pairs.
max_http_request_size: Option<i64>Specifies the maximum size of HTTP requests.
Default: 10485760
force_snapshot_mem_threshold: Option<PercentOrAbsoluteLong>Specifies the threshold for the internal memory buffer. Supports either a percentage (portion of available memory) or absolute value in MB–for example: 70% or 100
Default: 70%
wal_snapshot_size: Option<i32>Defines the number of WAL files to attempt to remove in a snapshot. This, multiplied by the interval, determines how often snapshots are taken.
Default: 600
wal_max_write_buffer_size: Option<i32>Specifies the maximum number of write requests that can be buffered before a flush must be executed and succeed.
Default: 100000
snapshotted_wal_files_to_keep: Option<i32>Specifies the number of snapshotted WAL files to retain in the object store. Flushing the WAL files does not clear the WAL files immediately; they are deleted when the number of snapshotted WAL files exceeds this number.
Default: 300
preemptive_cache_age: Option<Duration>Specifies the interval to prefetch into the Parquet cache during compaction.
Default: 3d
parquet_mem_cache_prune_percentage: Option<f32>Specifies the percentage of entries to prune during a prune operation on the in-memory Parquet cache.
Default: 0.1
parquet_mem_cache_prune_interval: Option<Duration>Sets the interval to check if the in-memory Parquet cache needs to be pruned.
Default: 1s
disable_parquet_mem_cache: Option<bool>Disables the in-memory Parquet cache. By default, the cache is enabled.
parquet_mem_cache_query_path_duration: Option<Duration>Specifies the time window for caching recent Parquet files in memory.
Default: 5h
last_cache_eviction_interval: Option<Duration>Specifies the interval to evict expired entries from the Last-N-Value cache, expressed as a human-readable duration–for example: 20s, 1m, 1h.
Default: 10s
distinct_cache_eviction_interval: Option<Duration>Specifies the interval to evict expired entries from the distinct value cache, expressed as a human-readable duration–for example: 20s, 1m, 1h.
Default: 10s
gen1_duration: Option<Duration>Specifies the duration that Parquet files are arranged into. Data timestamps land each row into a file of this duration. Supported durations are 1m, 5m, and 10m. These files are known as “generation 1” files, which the compactor can merge into larger generations.
Default: 10m
exec_mem_pool_bytes: Option<PercentOrAbsoluteLong>Specifies the size of memory pool used during query execution. Can be given as absolute value in bytes or as a percentage of the total available memory–for example: 8000000000 or 10%.
Default: 20%
parquet_mem_cache_size: Option<PercentOrAbsoluteLong>Specifies the size of the in-memory Parquet cache in megabytes or percentage of total available memory.
Default: 20%
wal_replay_fail_on_error: Option<bool>Determines whether WAL replay should fail when encountering errors.
Default: false
wal_replay_concurrency_limit: Option<i32>Concurrency limit during WAL replay. Setting this number too high can lead to OOM. The default is dynamically determined.
Default: max(num_cpus, 10)
table_index_cache_max_entries: Option<i32>Specifies the maximum number of entries in the table index cache.
Default: 1000
table_index_cache_concurrency_limit: Option<i32>Limits the concurrency level for table index cache operations.
Default: 8
gen1_lookback_duration: Option<Duration>Specifies how far back to look when creating generation 1 Parquet files.
Default: 24h
retention_check_interval: Option<Duration>The interval at which retention policies are checked and enforced. Enter as a human-readable time–for example: 30m or 1h.
Default: 30m
delete_grace_period: Option<Duration>Specifies the grace period before permanently deleting data.
Default: 24h
hard_delete_default_duration: Option<Duration>Sets the default duration for hard deletion of data.
Default: 90d
ingest_query_instances: i32Specifies number of instances in the DbCluster which can both ingest and query.
query_only_instances: i32Specifies number of instances in the DbCluster which can only query.
dedicated_compactor: boolSpecifies if the compactor instance should be a standalone instance or not.
compaction_row_limit: Option<i32>Specifies the soft limit for the number of rows per file that the compactor writes. The compactor may write more rows than this limit.
Default: 1000000
compaction_max_num_files_per_plan: Option<i32>Sets the maximum number of files included in any compaction plan.
Default: 500
compaction_gen2_duration: Option<Duration>Specifies the duration of the first level of compaction (gen2). Later levels of compaction are multiples of this duration. This value should be equal to or greater than the gen1 duration.
Default: 20m
compaction_multipliers: Option<String>Specifies a comma-separated list of multiples defining the duration of each level of compaction. The number of elements in the list determines the number of compaction levels. The first element specifies the duration of the first level (gen3); subsequent levels are multiples of the previous level.
Default: 3,4,6,5
compaction_cleanup_wait: Option<Duration>Specifies the amount of time that the compactor waits after finishing a compaction run to delete files marked as needing deletion during that compaction run.
Default: 10m
compaction_check_interval: Option<Duration>Specifies how often the compactor checks for new compaction work to perform.
Default: 10s
last_value_cache_disable_from_history: Option<bool>Disables populating the last-N-value cache from historical data. If disabled, the cache is still populated with data from the write-ahead log (WAL).
distinct_value_cache_disable_from_history: Option<bool>Disables populating the distinct value cache from historical data. If disabled, the cache is still populated with data from the write-ahead log (WAL).
replication_interval: Option<Duration>Specifies the interval at which data replication occurs between cluster nodes.
Default: 250ms
catalog_sync_interval: Option<Duration>Defines how often the catalog synchronizes across cluster nodes.
Default: 10s
Implementations§
Source§impl InfluxDBv3EnterpriseParameters
impl InfluxDBv3EnterpriseParameters
Sourcepub fn query_file_limit(&self) -> Option<i32>
pub fn query_file_limit(&self) -> Option<i32>
Limits the number of Parquet files a query can access. If a query attempts to read more than this limit, InfluxDB 3 returns an error.
Default: 432
Sourcepub fn query_log_size(&self) -> Option<i32>
pub fn query_log_size(&self) -> Option<i32>
Defines the size of the query log. Up to this many queries remain in the log before older queries are evicted to make room for new ones.
Default: 1000
Sourcepub fn log_filter(&self) -> Option<&str>
pub fn log_filter(&self) -> Option<&str>
Sets the filter directive for logs.
Sourcepub fn log_format(&self) -> Option<&LogFormats>
pub fn log_format(&self) -> Option<&LogFormats>
Defines the message format for logs.
Default: full
Sourcepub fn data_fusion_num_threads(&self) -> Option<i32>
pub fn data_fusion_num_threads(&self) -> Option<i32>
Sets the maximum number of DataFusion runtime threads to use.
Sourcepub fn data_fusion_runtime_type(&self) -> Option<&DataFusionRuntimeType>
pub fn data_fusion_runtime_type(&self) -> Option<&DataFusionRuntimeType>
Specifies the DataFusion tokio runtime type.
Default: multi-thread
Sourcepub fn data_fusion_runtime_disable_lifo_slot(&self) -> Option<bool>
pub fn data_fusion_runtime_disable_lifo_slot(&self) -> Option<bool>
Disables the LIFO slot of the DataFusion runtime.
Sourcepub fn data_fusion_runtime_event_interval(&self) -> Option<i32>
pub fn data_fusion_runtime_event_interval(&self) -> Option<i32>
Sets the number of scheduler ticks after which the scheduler of the DataFusion tokio runtime polls for external events–for example: timers, I/O.
Sourcepub fn data_fusion_runtime_global_queue_interval(&self) -> Option<i32>
pub fn data_fusion_runtime_global_queue_interval(&self) -> Option<i32>
Sets the number of scheduler ticks after which the scheduler of the DataFusion runtime polls the global task queue.
Sourcepub fn data_fusion_runtime_max_blocking_threads(&self) -> Option<i32>
pub fn data_fusion_runtime_max_blocking_threads(&self) -> Option<i32>
Specifies the limit for additional threads spawned by the DataFusion runtime.
Sourcepub fn data_fusion_runtime_max_io_events_per_tick(&self) -> Option<i32>
pub fn data_fusion_runtime_max_io_events_per_tick(&self) -> Option<i32>
Configures the maximum number of events processed per tick by the tokio DataFusion runtime.
Sourcepub fn data_fusion_runtime_thread_keep_alive(&self) -> Option<&Duration>
pub fn data_fusion_runtime_thread_keep_alive(&self) -> Option<&Duration>
Sets a custom timeout for a thread in the blocking pool of the tokio DataFusion runtime.
Sourcepub fn data_fusion_runtime_thread_priority(&self) -> Option<i32>
pub fn data_fusion_runtime_thread_priority(&self) -> Option<i32>
Sets the thread priority for tokio DataFusion runtime workers.
Default: 10
Sourcepub fn data_fusion_max_parquet_fanout(&self) -> Option<i32>
pub fn data_fusion_max_parquet_fanout(&self) -> Option<i32>
When multiple parquet files are required in a sorted way (deduplication for example), specifies the maximum fanout.
Default: 1000
Sourcepub fn data_fusion_use_cached_parquet_loader(&self) -> Option<bool>
pub fn data_fusion_use_cached_parquet_loader(&self) -> Option<bool>
Uses a cached parquet loader when reading parquet files from the object store.
Sourcepub fn data_fusion_config(&self) -> Option<&str>
pub fn data_fusion_config(&self) -> Option<&str>
Provides custom configuration to DataFusion as a comma-separated list of key:value pairs.
Sourcepub fn max_http_request_size(&self) -> Option<i64>
pub fn max_http_request_size(&self) -> Option<i64>
Specifies the maximum size of HTTP requests.
Default: 10485760
Sourcepub fn force_snapshot_mem_threshold(&self) -> Option<&PercentOrAbsoluteLong>
pub fn force_snapshot_mem_threshold(&self) -> Option<&PercentOrAbsoluteLong>
Specifies the threshold for the internal memory buffer. Supports either a percentage (portion of available memory) or absolute value in MB–for example: 70% or 100
Default: 70%
Sourcepub fn wal_snapshot_size(&self) -> Option<i32>
pub fn wal_snapshot_size(&self) -> Option<i32>
Defines the number of WAL files to attempt to remove in a snapshot. This, multiplied by the interval, determines how often snapshots are taken.
Default: 600
Sourcepub fn wal_max_write_buffer_size(&self) -> Option<i32>
pub fn wal_max_write_buffer_size(&self) -> Option<i32>
Specifies the maximum number of write requests that can be buffered before a flush must be executed and succeed.
Default: 100000
Sourcepub fn snapshotted_wal_files_to_keep(&self) -> Option<i32>
pub fn snapshotted_wal_files_to_keep(&self) -> Option<i32>
Specifies the number of snapshotted WAL files to retain in the object store. Flushing the WAL files does not clear the WAL files immediately; they are deleted when the number of snapshotted WAL files exceeds this number.
Default: 300
Sourcepub fn preemptive_cache_age(&self) -> Option<&Duration>
pub fn preemptive_cache_age(&self) -> Option<&Duration>
Specifies the interval to prefetch into the Parquet cache during compaction.
Default: 3d
Sourcepub fn parquet_mem_cache_prune_percentage(&self) -> Option<f32>
pub fn parquet_mem_cache_prune_percentage(&self) -> Option<f32>
Specifies the percentage of entries to prune during a prune operation on the in-memory Parquet cache.
Default: 0.1
Sourcepub fn parquet_mem_cache_prune_interval(&self) -> Option<&Duration>
pub fn parquet_mem_cache_prune_interval(&self) -> Option<&Duration>
Sets the interval to check if the in-memory Parquet cache needs to be pruned.
Default: 1s
Sourcepub fn disable_parquet_mem_cache(&self) -> Option<bool>
pub fn disable_parquet_mem_cache(&self) -> Option<bool>
Disables the in-memory Parquet cache. By default, the cache is enabled.
Sourcepub fn parquet_mem_cache_query_path_duration(&self) -> Option<&Duration>
pub fn parquet_mem_cache_query_path_duration(&self) -> Option<&Duration>
Specifies the time window for caching recent Parquet files in memory.
Default: 5h
Sourcepub fn last_cache_eviction_interval(&self) -> Option<&Duration>
pub fn last_cache_eviction_interval(&self) -> Option<&Duration>
Specifies the interval to evict expired entries from the Last-N-Value cache, expressed as a human-readable duration–for example: 20s, 1m, 1h.
Default: 10s
Sourcepub fn distinct_cache_eviction_interval(&self) -> Option<&Duration>
pub fn distinct_cache_eviction_interval(&self) -> Option<&Duration>
Specifies the interval to evict expired entries from the distinct value cache, expressed as a human-readable duration–for example: 20s, 1m, 1h.
Default: 10s
Sourcepub fn gen1_duration(&self) -> Option<&Duration>
pub fn gen1_duration(&self) -> Option<&Duration>
Specifies the duration that Parquet files are arranged into. Data timestamps land each row into a file of this duration. Supported durations are 1m, 5m, and 10m. These files are known as “generation 1” files, which the compactor can merge into larger generations.
Default: 10m
Sourcepub fn exec_mem_pool_bytes(&self) -> Option<&PercentOrAbsoluteLong>
pub fn exec_mem_pool_bytes(&self) -> Option<&PercentOrAbsoluteLong>
Specifies the size of memory pool used during query execution. Can be given as absolute value in bytes or as a percentage of the total available memory–for example: 8000000000 or 10%.
Default: 20%
Sourcepub fn parquet_mem_cache_size(&self) -> Option<&PercentOrAbsoluteLong>
pub fn parquet_mem_cache_size(&self) -> Option<&PercentOrAbsoluteLong>
Specifies the size of the in-memory Parquet cache in megabytes or percentage of total available memory.
Default: 20%
Sourcepub fn wal_replay_fail_on_error(&self) -> Option<bool>
pub fn wal_replay_fail_on_error(&self) -> Option<bool>
Determines whether WAL replay should fail when encountering errors.
Default: false
Sourcepub fn wal_replay_concurrency_limit(&self) -> Option<i32>
pub fn wal_replay_concurrency_limit(&self) -> Option<i32>
Concurrency limit during WAL replay. Setting this number too high can lead to OOM. The default is dynamically determined.
Default: max(num_cpus, 10)
Sourcepub fn table_index_cache_max_entries(&self) -> Option<i32>
pub fn table_index_cache_max_entries(&self) -> Option<i32>
Specifies the maximum number of entries in the table index cache.
Default: 1000
Sourcepub fn table_index_cache_concurrency_limit(&self) -> Option<i32>
pub fn table_index_cache_concurrency_limit(&self) -> Option<i32>
Limits the concurrency level for table index cache operations.
Default: 8
Sourcepub fn gen1_lookback_duration(&self) -> Option<&Duration>
pub fn gen1_lookback_duration(&self) -> Option<&Duration>
Specifies how far back to look when creating generation 1 Parquet files.
Default: 24h
Sourcepub fn retention_check_interval(&self) -> Option<&Duration>
pub fn retention_check_interval(&self) -> Option<&Duration>
The interval at which retention policies are checked and enforced. Enter as a human-readable time–for example: 30m or 1h.
Default: 30m
Sourcepub fn delete_grace_period(&self) -> Option<&Duration>
pub fn delete_grace_period(&self) -> Option<&Duration>
Specifies the grace period before permanently deleting data.
Default: 24h
Sourcepub fn hard_delete_default_duration(&self) -> Option<&Duration>
pub fn hard_delete_default_duration(&self) -> Option<&Duration>
Sets the default duration for hard deletion of data.
Default: 90d
Sourcepub fn ingest_query_instances(&self) -> i32
pub fn ingest_query_instances(&self) -> i32
Specifies number of instances in the DbCluster which can both ingest and query.
Sourcepub fn query_only_instances(&self) -> i32
pub fn query_only_instances(&self) -> i32
Specifies number of instances in the DbCluster which can only query.
Sourcepub fn dedicated_compactor(&self) -> bool
pub fn dedicated_compactor(&self) -> bool
Specifies if the compactor instance should be a standalone instance or not.
Sourcepub fn compaction_row_limit(&self) -> Option<i32>
pub fn compaction_row_limit(&self) -> Option<i32>
Specifies the soft limit for the number of rows per file that the compactor writes. The compactor may write more rows than this limit.
Default: 1000000
Sourcepub fn compaction_max_num_files_per_plan(&self) -> Option<i32>
pub fn compaction_max_num_files_per_plan(&self) -> Option<i32>
Sets the maximum number of files included in any compaction plan.
Default: 500
Sourcepub fn compaction_gen2_duration(&self) -> Option<&Duration>
pub fn compaction_gen2_duration(&self) -> Option<&Duration>
Specifies the duration of the first level of compaction (gen2). Later levels of compaction are multiples of this duration. This value should be equal to or greater than the gen1 duration.
Default: 20m
Sourcepub fn compaction_multipliers(&self) -> Option<&str>
pub fn compaction_multipliers(&self) -> Option<&str>
Specifies a comma-separated list of multiples defining the duration of each level of compaction. The number of elements in the list determines the number of compaction levels. The first element specifies the duration of the first level (gen3); subsequent levels are multiples of the previous level.
Default: 3,4,6,5
Sourcepub fn compaction_cleanup_wait(&self) -> Option<&Duration>
pub fn compaction_cleanup_wait(&self) -> Option<&Duration>
Specifies the amount of time that the compactor waits after finishing a compaction run to delete files marked as needing deletion during that compaction run.
Default: 10m
Sourcepub fn compaction_check_interval(&self) -> Option<&Duration>
pub fn compaction_check_interval(&self) -> Option<&Duration>
Specifies how often the compactor checks for new compaction work to perform.
Default: 10s
Sourcepub fn last_value_cache_disable_from_history(&self) -> Option<bool>
pub fn last_value_cache_disable_from_history(&self) -> Option<bool>
Disables populating the last-N-value cache from historical data. If disabled, the cache is still populated with data from the write-ahead log (WAL).
Sourcepub fn distinct_value_cache_disable_from_history(&self) -> Option<bool>
pub fn distinct_value_cache_disable_from_history(&self) -> Option<bool>
Disables populating the distinct value cache from historical data. If disabled, the cache is still populated with data from the write-ahead log (WAL).
Sourcepub fn replication_interval(&self) -> Option<&Duration>
pub fn replication_interval(&self) -> Option<&Duration>
Specifies the interval at which data replication occurs between cluster nodes.
Default: 250ms
Sourcepub fn catalog_sync_interval(&self) -> Option<&Duration>
pub fn catalog_sync_interval(&self) -> Option<&Duration>
Defines how often the catalog synchronizes across cluster nodes.
Default: 10s
Source§impl InfluxDBv3EnterpriseParameters
impl InfluxDBv3EnterpriseParameters
Sourcepub fn builder() -> InfluxDBv3EnterpriseParametersBuilder
pub fn builder() -> InfluxDBv3EnterpriseParametersBuilder
Creates a new builder-style object to manufacture InfluxDBv3EnterpriseParameters.
Trait Implementations§
Source§impl Clone for InfluxDBv3EnterpriseParameters
impl Clone for InfluxDBv3EnterpriseParameters
Source§fn clone(&self) -> InfluxDBv3EnterpriseParameters
fn clone(&self) -> InfluxDBv3EnterpriseParameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for InfluxDBv3EnterpriseParameters
impl PartialEq for InfluxDBv3EnterpriseParameters
Source§fn eq(&self, other: &InfluxDBv3EnterpriseParameters) -> bool
fn eq(&self, other: &InfluxDBv3EnterpriseParameters) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InfluxDBv3EnterpriseParameters
Auto Trait Implementations§
impl Freeze for InfluxDBv3EnterpriseParameters
impl RefUnwindSafe for InfluxDBv3EnterpriseParameters
impl Send for InfluxDBv3EnterpriseParameters
impl Sync for InfluxDBv3EnterpriseParameters
impl Unpin for InfluxDBv3EnterpriseParameters
impl UnwindSafe for InfluxDBv3EnterpriseParameters
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> 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> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the foreground set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red() and
green(), which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg():
use yansi::{Paint, Color};
painted.fg(Color::White);Set foreground color to white using white().
use yansi::Paint;
painted.white();Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the background set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red() and
on_green(), which have the same functionality but
are pithier.
§Example
Set background color to red using fg():
use yansi::{Paint, Color};
painted.bg(Color::Red);Set background color to red using on_red().
use yansi::Paint;
painted.on_red();Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute value.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold() and
underline(), which have the same functionality
but are pithier.
§Example
Make text bold using attr():
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);Make text bold using using bold().
use yansi::Paint;
painted.bold();Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi Quirk value.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask() and
wrap(), which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk():
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);Enable wrapping using wrap().
use yansi::Paint;
painted.wrap();Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted only when both stdout and stderr are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);