Enum elasticsearch_dsl::search::params::Size
source · pub enum Size {
Kilo(u64),
Mega(u64),
Giga(u64),
Tera(u64),
Peta(u64),
}
Expand description
Unit-less quantities means that they don’t have a “unit” like “bytes” or “Hertz” or “meter” or “long tonne”.
If one of these quantities is large we’ll print it out like 10m for 10,000,000 or 7k for 7,000. We’ll still print 87 when we mean 87 though.
https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#size-units
Variants§
Trait Implementations§
source§impl PartialEq<Size> for Size
impl PartialEq<Size> for Size
impl Copy for Size
impl Eq for Size
impl StructuralEq for Size
impl StructuralPartialEq for Size
Auto Trait Implementations§
impl RefUnwindSafe for Size
impl Send for Size
impl Sync for Size
impl Unpin for Size
impl UnwindSafe for Size
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
Mutably borrows from an owned value. Read more