pub enum BundleType {
Mandatory,
Optional,
Exclusive,
}Expand description
Bundle type
Variants§
Mandatory
All products must be included
Optional
At least one product must be included
Exclusive
Products are mutually exclusive
Trait Implementations§
Source§impl Clone for BundleType
impl Clone for BundleType
Source§fn clone(&self) -> BundleType
fn clone(&self) -> BundleType
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 BundleType
impl Debug for BundleType
Source§impl<'de> Deserialize<'de> for BundleType
impl<'de> Deserialize<'de> for BundleType
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 BundleType
impl PartialEq for BundleType
Source§impl Serialize for BundleType
impl Serialize for BundleType
impl Eq for BundleType
impl StructuralPartialEq for BundleType
Auto Trait Implementations§
impl Freeze for BundleType
impl RefUnwindSafe for BundleType
impl Send for BundleType
impl Sync for BundleType
impl Unpin for BundleType
impl UnwindSafe for BundleType
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