Enum psl::GeneratorConfigValue
source · pub enum GeneratorConfigValue {
String(String),
Array(Vec<GeneratorConfigValue>),
}
Variants§
String(String)
Array(Vec<GeneratorConfigValue>)
Trait Implementations§
source§impl Clone for GeneratorConfigValue
impl Clone for GeneratorConfigValue
source§fn clone(&self) -> GeneratorConfigValue
fn clone(&self) -> GeneratorConfigValue
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 GeneratorConfigValue
impl Debug for GeneratorConfigValue
source§impl From<&Expression> for GeneratorConfigValue
impl From<&Expression> for GeneratorConfigValue
source§fn from(expr: &Expression) -> GeneratorConfigValue
fn from(expr: &Expression) -> GeneratorConfigValue
Converts to this type from the input type.
source§impl From<String> for GeneratorConfigValue
impl From<String> for GeneratorConfigValue
source§fn from(value: String) -> GeneratorConfigValue
fn from(value: String) -> GeneratorConfigValue
Converts to this type from the input type.
source§impl Serialize for GeneratorConfigValue
impl Serialize for GeneratorConfigValue
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for GeneratorConfigValue
impl Send for GeneratorConfigValue
impl Sync for GeneratorConfigValue
impl Unpin for GeneratorConfigValue
impl UnwindSafe for GeneratorConfigValue
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