pub struct BatchRentResult {
pub matched: i64,
pub eligible: i64,
pub changed: i64,
pub skipped_sold: i64,
pub skipped_custom: i64,
pub custom_overwritten: i64,
pub clamped_low: i64,
pub clamped_high: i64,
}Expand description
What a batch reprice did, counted in rooms.
Fields§
§matched: i64Rooms of the kind.
eligible: i64Rooms the batch applied to (matched less the two skips).
changed: i64Rooms whose price actually moved.
skipped_sold: i64Sold condos, which keep their price.
skipped_custom: i64Rooms skipped for having a price of their own, when the batch asked for default-priced rooms only.
custom_overwritten: i64Rooms that had a price of their own and now have the batch’s.
clamped_low: i64Rooms whose price was raised to the bottom of the band (Modern).
clamped_high: i64Rooms whose price was lowered to the top of the band (Modern).
Trait Implementations§
Source§impl Clone for BatchRentResult
impl Clone for BatchRentResult
Source§fn clone(&self) -> BatchRentResult
fn clone(&self) -> BatchRentResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchRentResult
impl Debug for BatchRentResult
Source§impl Default for BatchRentResult
impl Default for BatchRentResult
Source§fn default() -> BatchRentResult
fn default() -> BatchRentResult
Returns the “default value” for a type. Read more
Source§impl PartialEq for BatchRentResult
impl PartialEq for BatchRentResult
Source§fn eq(&self, other: &BatchRentResult) -> bool
fn eq(&self, other: &BatchRentResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BatchRentResult
impl StructuralPartialEq for BatchRentResult
Auto Trait Implementations§
impl Freeze for BatchRentResult
impl RefUnwindSafe for BatchRentResult
impl Send for BatchRentResult
impl Sync for BatchRentResult
impl Unpin for BatchRentResult
impl UnsafeUnpin for BatchRentResult
impl UnwindSafe for BatchRentResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.