pub struct ContainmentStrategy {
pub name: String,
pub description: String,
pub effectiveness: f64,
pub cost: String,
}Fields§
§name: String§description: String§effectiveness: f64§cost: StringTrait Implementations§
Source§impl Clone for ContainmentStrategy
impl Clone for ContainmentStrategy
Source§fn clone(&self) -> ContainmentStrategy
fn clone(&self) -> ContainmentStrategy
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 Debug for ContainmentStrategy
impl Debug for ContainmentStrategy
Source§impl<'de> Deserialize<'de> for ContainmentStrategy
impl<'de> Deserialize<'de> for ContainmentStrategy
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 ContainmentStrategy
impl RefUnwindSafe for ContainmentStrategy
impl Send for ContainmentStrategy
impl Sync for ContainmentStrategy
impl Unpin for ContainmentStrategy
impl UnsafeUnpin for ContainmentStrategy
impl UnwindSafe for ContainmentStrategy
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