pub struct InsuranceLevel {
pub cost: f64,
pub name: String,
pub payout: f64,
}Expand description
One insurance level for a ship type.
Fields§
§cost: f64§name: String§payout: f64Trait Implementations§
Source§impl Clone for InsuranceLevel
impl Clone for InsuranceLevel
Source§impl Debug for InsuranceLevel
impl Debug for InsuranceLevel
Source§impl<'de> Deserialize<'de> for InsuranceLevel
impl<'de> Deserialize<'de> for InsuranceLevel
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 InsuranceLevel
impl PartialEq for InsuranceLevel
impl StructuralPartialEq for InsuranceLevel
Auto Trait Implementations§
impl Freeze for InsuranceLevel
impl RefUnwindSafe for InsuranceLevel
impl Send for InsuranceLevel
impl Sync for InsuranceLevel
impl Unpin for InsuranceLevel
impl UnsafeUnpin for InsuranceLevel
impl UnwindSafe for InsuranceLevel
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