pub struct CpObjective {
pub variable: String,
pub maximize: bool,
}Fields§
§variable: String§maximize: boolTrait Implementations§
Source§impl Clone for CpObjective
impl Clone for CpObjective
Source§fn clone(&self) -> CpObjective
fn clone(&self) -> CpObjective
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 CpObjective
impl Debug for CpObjective
Source§impl<'de> Deserialize<'de> for CpObjective
impl<'de> Deserialize<'de> for CpObjective
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 CpObjective
impl RefUnwindSafe for CpObjective
impl Send for CpObjective
impl Sync for CpObjective
impl Unpin for CpObjective
impl UnsafeUnpin for CpObjective
impl UnwindSafe for CpObjective
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