pub struct AttributeCraftPersistenceProbability {
pub persistence_chance_per_mille: Vec<i32>,
}Expand description
Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts
Fields§
§persistence_chance_per_mille: Vec<i32>The 4 numbers that describe probability of the craft result to have the same attribute as one of the original gifts if 1, 2, 3, or 4 gifts with the attribute are used in the craft. Each number represents the number of crafted gifts with the original attribute per 1000 successful craftings
Trait Implementations§
Source§impl Clone for AttributeCraftPersistenceProbability
impl Clone for AttributeCraftPersistenceProbability
Source§fn clone(&self) -> AttributeCraftPersistenceProbability
fn clone(&self) -> AttributeCraftPersistenceProbability
Returns a duplicate 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 Default for AttributeCraftPersistenceProbability
impl Default for AttributeCraftPersistenceProbability
Source§fn default() -> AttributeCraftPersistenceProbability
fn default() -> AttributeCraftPersistenceProbability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttributeCraftPersistenceProbability
impl<'de> Deserialize<'de> for AttributeCraftPersistenceProbability
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 AttributeCraftPersistenceProbability
impl PartialEq for AttributeCraftPersistenceProbability
Source§fn eq(&self, other: &AttributeCraftPersistenceProbability) -> bool
fn eq(&self, other: &AttributeCraftPersistenceProbability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttributeCraftPersistenceProbability
Auto Trait Implementations§
impl Freeze for AttributeCraftPersistenceProbability
impl RefUnwindSafe for AttributeCraftPersistenceProbability
impl Send for AttributeCraftPersistenceProbability
impl Sync for AttributeCraftPersistenceProbability
impl Unpin for AttributeCraftPersistenceProbability
impl UnsafeUnpin for AttributeCraftPersistenceProbability
impl UnwindSafe for AttributeCraftPersistenceProbability
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