Enum elasticsearch_dsl::search::params::Byte [−][src]
pub enum Byte {
Bytes(u64),
Kilobytes(u64),
Megabytes(u64),
Gigabytes(u64),
Terabytes(u64),
Petabytes(u64),
}Expand description
Whenever the byte size of data needs to be specified, e.g. when setting a
buffer size parameter, the value must specify the unit,
like 10kb for 10 kilobytes.
Note that these units use powers of 1024, so 1kb means 1024 bytes.
https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#byte-units
Variants
Bytes(u64)Tuple Fields of Bytes
0: u64Kilobytes(u64)Tuple Fields of Kilobytes
0: u64Megabytes(u64)Tuple Fields of Megabytes
0: u64Gigabytes(u64)Tuple Fields of Gigabytes
0: u64Terabytes(u64)Tuple Fields of Terabytes
0: u64Petabytes(u64)Tuple Fields of Petabytes
0: u64Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Byte
impl UnwindSafe for Byte
Blanket Implementations
Mutably borrows from an owned value. Read more