pub struct FactionCrimeRewardPayout {
pub type: FactionOrganizedCrimePayoutType,
pub percentage: i32,
pub paid_by: UserId,
pub paid_at: i32,
}
Fields§
§type: FactionOrganizedCrimePayoutType
§percentage: i32
Total percentage split between all participants.
paid_by: UserId
§paid_at: i32
Trait Implementations§
Source§impl Clone for FactionCrimeRewardPayout
impl Clone for FactionCrimeRewardPayout
Source§fn clone(&self) -> FactionCrimeRewardPayout
fn clone(&self) -> FactionCrimeRewardPayout
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FactionCrimeRewardPayout
impl Debug for FactionCrimeRewardPayout
Source§impl<'de> Deserialize<'de> for FactionCrimeRewardPayout
impl<'de> Deserialize<'de> for FactionCrimeRewardPayout
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FactionCrimeRewardPayout
impl PartialEq for FactionCrimeRewardPayout
Source§fn eq(&self, other: &FactionCrimeRewardPayout) -> bool
fn eq(&self, other: &FactionCrimeRewardPayout) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FactionCrimeRewardPayout
Auto Trait Implementations§
impl Freeze for FactionCrimeRewardPayout
impl RefUnwindSafe for FactionCrimeRewardPayout
impl Send for FactionCrimeRewardPayout
impl Sync for FactionCrimeRewardPayout
impl Unpin for FactionCrimeRewardPayout
impl UnwindSafe for FactionCrimeRewardPayout
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