pub struct VariantPlan {
pub variant_id: VariantId,
pub choices: BTreeMap<String, GenerationChoice>,
pub fingerprint: String,
pub seed: Option<u64>,
}Fields§
§variant_id: VariantId§choices: BTreeMap<String, GenerationChoice>§fingerprint: String§seed: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for VariantPlan
impl Clone for VariantPlan
Source§fn clone(&self) -> VariantPlan
fn clone(&self) -> VariantPlan
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 VariantPlan
impl Debug for VariantPlan
Source§impl<'de> Deserialize<'de> for VariantPlan
impl<'de> Deserialize<'de> for VariantPlan
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 VariantPlan
impl PartialEq for VariantPlan
Source§fn eq(&self, other: &VariantPlan) -> bool
fn eq(&self, other: &VariantPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VariantPlan
impl Serialize for VariantPlan
impl StructuralPartialEq for VariantPlan
Auto Trait Implementations§
impl Freeze for VariantPlan
impl RefUnwindSafe for VariantPlan
impl Send for VariantPlan
impl Sync for VariantPlan
impl Unpin for VariantPlan
impl UnsafeUnpin for VariantPlan
impl UnwindSafe for VariantPlan
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