pub struct GeneratorConfig {
pub name: String,
pub output: Option<EnvValue>,
pub is_custom_output: Option<bool>,
pub provider: EnvValue,
pub config: HashMap<String, Option<String>>,
pub binary_targets: Vec<BinaryTargetsEnvValue>,
pub preview_features: Vec<String>,
pub env_paths: Option<EnvPaths>,
pub source_file_path: String,
}Fields§
§name: String§output: Option<EnvValue>§is_custom_output: Option<bool>§provider: EnvValue§config: HashMap<String, Option<String>>§binary_targets: Vec<BinaryTargetsEnvValue>§preview_features: Vec<String>§env_paths: Option<EnvPaths>§source_file_path: StringTrait Implementations§
Source§impl Clone for GeneratorConfig
impl Clone for GeneratorConfig
Source§fn clone(&self) -> GeneratorConfig
fn clone(&self) -> GeneratorConfig
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 GeneratorConfig
impl Debug for GeneratorConfig
Source§impl<'de> Deserialize<'de> for GeneratorConfig
impl<'de> Deserialize<'de> for GeneratorConfig
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 GeneratorConfig
impl RefUnwindSafe for GeneratorConfig
impl Send for GeneratorConfig
impl Sync for GeneratorConfig
impl Unpin for GeneratorConfig
impl UnwindSafe for GeneratorConfig
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