pub struct CpVariable {
pub name: String,
pub min: i64,
pub max: i64,
}Fields§
§name: String§min: i64§max: i64Trait Implementations§
Source§impl Clone for CpVariable
impl Clone for CpVariable
Source§fn clone(&self) -> CpVariable
fn clone(&self) -> CpVariable
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 CpVariable
impl Debug for CpVariable
Source§impl<'de> Deserialize<'de> for CpVariable
impl<'de> Deserialize<'de> for CpVariable
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 CpVariable
impl RefUnwindSafe for CpVariable
impl Send for CpVariable
impl Sync for CpVariable
impl Unpin for CpVariable
impl UnsafeUnpin for CpVariable
impl UnwindSafe for CpVariable
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