pub struct ValueArgumentInput {
pub attacker: String,
pub defender: String,
pub value_at_stake: String,
pub attacker_conviction: f64,
pub defender_conviction: f64,
pub defender_openness: f64,
}Expand description
Input to a value argument resolution.
Fields§
§attacker: StringName of the character initiating the argument.
defender: StringName of the character defending their position.
value_at_stake: StringThe Schwartz value being contested.
attacker_conviction: f64How strongly the attacker holds their position. Range: [0.0, 1.0].
defender_conviction: f64How strongly the defender holds their position. Range: [0.0, 1.0].
defender_openness: f64How open the defender is to changing their position. Range: [0.0, 1.0].
Trait Implementations§
Source§impl Clone for ValueArgumentInput
impl Clone for ValueArgumentInput
Source§fn clone(&self) -> ValueArgumentInput
fn clone(&self) -> ValueArgumentInput
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 moreAuto Trait Implementations§
impl Freeze for ValueArgumentInput
impl RefUnwindSafe for ValueArgumentInput
impl Send for ValueArgumentInput
impl Sync for ValueArgumentInput
impl Unpin for ValueArgumentInput
impl UnsafeUnpin for ValueArgumentInput
impl UnwindSafe for ValueArgumentInput
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