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
0: u64
Kilobytes(u64)
Tuple Fields
0: u64
Megabytes(u64)
Tuple Fields
0: u64
Gigabytes(u64)
Tuple Fields
0: u64
Terabytes(u64)
Tuple Fields
0: u64
Petabytes(u64)
Tuple Fields
0: u64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Byte
impl UnwindSafe for Byte
Blanket Implementations
Mutably borrows from an owned value. Read more