pub struct Generator {
pub name: String,
pub provider: StringFromEnvVar,
pub output: Option<StringFromEnvVar>,
pub config: HashMap<String, GeneratorConfigValue>,
pub binary_targets: Vec<StringFromEnvVar>,
pub preview_features: Option<BitFlags<PreviewFeature>>,
pub documentation: Option<String>,
}
Fields§
§name: String
§provider: StringFromEnvVar
§output: Option<StringFromEnvVar>
§config: HashMap<String, GeneratorConfigValue>
§binary_targets: Vec<StringFromEnvVar>
§preview_features: Option<BitFlags<PreviewFeature>>
§documentation: Option<String>
Trait Implementations§
source§impl Serialize for Generator
impl Serialize for Generator
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 Generator
impl Send for Generator
impl Sync for Generator
impl Unpin for Generator
impl UnwindSafe for Generator
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