pub struct ExtendInput {
pub language: String,
pub model: Model,
pub manifest: Option<Manifest>,
pub common: Value,
pub options: Value,
pub marker: String,
}Expand description
What the extend stage receives, owned.
Fields§
§language: String§model: Model§manifest: Option<Manifest>§common: ValueThe common options of the target (Options in its JSON form).
options: ValueThe options of the language (for TypeScript the import extension, layout and client module).
marker: StringThe first line every added file must start with.
Trait Implementations§
Source§impl Clone for ExtendInput
impl Clone for ExtendInput
Source§impl Debug for ExtendInput
impl Debug for ExtendInput
Source§impl<'de> Deserialize<'de> for ExtendInput
impl<'de> Deserialize<'de> for ExtendInput
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 Forget for ExtendInput
impl Freeze for ExtendInput
impl Move for ExtendInput
impl RefUnwindSafe for ExtendInput
impl Send for ExtendInput
impl Sync for ExtendInput
impl Unpin for ExtendInput
impl UnsafeUnpin for ExtendInput
impl UnwindSafe for ExtendInput
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