pub struct BreakingCost {
pub trust_damage: f64,
pub relationship_impact: f64,
pub reputation_cost: f64,
pub energy_to_break: f64,
pub cascading_effects: Vec<String>,
}Fields§
§trust_damage: f64§relationship_impact: f64§reputation_cost: f64§energy_to_break: f64§cascading_effects: Vec<String>Trait Implementations§
Source§impl Clone for BreakingCost
impl Clone for BreakingCost
Source§fn clone(&self) -> BreakingCost
fn clone(&self) -> BreakingCost
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 BreakingCost
impl Debug for BreakingCost
Source§impl<'de> Deserialize<'de> for BreakingCost
impl<'de> Deserialize<'de> for BreakingCost
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
Auto Trait Implementations§
impl Freeze for BreakingCost
impl RefUnwindSafe for BreakingCost
impl Send for BreakingCost
impl Sync for BreakingCost
impl Unpin for BreakingCost
impl UnsafeUnpin for BreakingCost
impl UnwindSafe for BreakingCost
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