Skip to main content
pub enum PartitionType 
    Range,
    Interval,
    List,
    Hash,

How a table created for the ingest is partitioned.

Variants

Range

By ranges of values

Interval

By intervals of values

List

By lists of values

Hash

By hash

Implementations

Source

pub fn as_str(&self) -> &‘static str

The type’s name, as the server takes it.

Source

pub fn default_partition_type(&self) -> &‘static str

The default type’s name.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

The type’s name.

Source

fn eq(&self, other: &PartitionType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.