pub struct GrantedPinBonus {
pub attribute_id: AttributeId,
pub granted: i64,
pub total: i64,
}Expand description
Одна начисленная прибавка — для логов и тестов.
Fields§
§attribute_id: AttributeId§granted: i64Сколько реально начислено (0, если упёрлись в потолок).
total: i64Значение накопленного бонуса после начисления.
Trait Implementations§
Source§impl Clone for GrantedPinBonus
impl Clone for GrantedPinBonus
Source§fn clone(&self) -> GrantedPinBonus
fn clone(&self) -> GrantedPinBonus
Returns a copy of the value. Read more
1.0.0 · 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 GrantedPinBonus
impl Debug for GrantedPinBonus
Source§impl PartialEq for GrantedPinBonus
impl PartialEq for GrantedPinBonus
impl Copy for GrantedPinBonus
impl Eq for GrantedPinBonus
impl StructuralPartialEq for GrantedPinBonus
Auto Trait Implementations§
impl Freeze for GrantedPinBonus
impl RefUnwindSafe for GrantedPinBonus
impl Send for GrantedPinBonus
impl Sync for GrantedPinBonus
impl Unpin for GrantedPinBonus
impl UnwindSafe for GrantedPinBonus
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
Checks if this value is equivalent to the given key. Read more