pub struct FactionCrimeSlot {
pub position: String,
pub item_requirement: Option<ItemRequirement>,
pub user: Option<FactionCrimeUser>,
pub checkpoint_pass_rate: i32,
}
Fields§
§position: String
§item_requirement: Option<ItemRequirement>
§user: Option<FactionCrimeUser>
§checkpoint_pass_rate: i32
Returns CPR for the player who joined the slot. If the slot is empty (availalbe), it shows your CPR for that slot. This value is 0 for expired crimes.
Trait Implementations§
Source§impl Clone for FactionCrimeSlot
impl Clone for FactionCrimeSlot
Source§fn clone(&self) -> FactionCrimeSlot
fn clone(&self) -> FactionCrimeSlot
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 FactionCrimeSlot
impl Debug for FactionCrimeSlot
Source§impl<'de> Deserialize<'de> for FactionCrimeSlot
impl<'de> Deserialize<'de> for FactionCrimeSlot
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 FactionCrimeSlot
impl PartialEq for FactionCrimeSlot
impl StructuralPartialEq for FactionCrimeSlot
Auto Trait Implementations§
impl Freeze for FactionCrimeSlot
impl RefUnwindSafe for FactionCrimeSlot
impl Send for FactionCrimeSlot
impl Sync for FactionCrimeSlot
impl Unpin for FactionCrimeSlot
impl UnwindSafe for FactionCrimeSlot
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