Enum cargo::util::toml::VecStringOrBool
source · pub enum VecStringOrBool {
VecString(Vec<String>),
Bool(bool),
}
Variants§
Trait Implementations§
source§impl Clone for VecStringOrBool
impl Clone for VecStringOrBool
source§fn clone(&self) -> VecStringOrBool
fn clone(&self) -> VecStringOrBool
Returns a copy 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 VecStringOrBool
impl Debug for VecStringOrBool
source§impl<'de> Deserialize<'de> for VecStringOrBool
impl<'de> Deserialize<'de> for VecStringOrBool
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<VecStringOrBool> for VecStringOrBool
impl PartialEq<VecStringOrBool> for VecStringOrBool
source§fn eq(&self, other: &VecStringOrBool) -> bool
fn eq(&self, other: &VecStringOrBool) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.