pub struct EmitInput {
pub method: EmitMethod,
pub resource_id: String,
pub platform: Platform,
pub targets_kubernetes: bool,
pub stack_settings: StackSettings,
pub names: IndexMap<String, String>,
pub resource: Value,
}Expand description
What an emitter gets: the parts of Alien’s EmitContext that serialize.
Fields§
§method: EmitMethodThe emitter method to run
resource_id: StringThe id of the resource being emitted
platform: PlatformThe platform the template is for
targets_kubernetes: boolWhether the template runs workloads on Kubernetes rather than the cloud’s own compute
stack_settings: StackSettingsThe deployer’s stack settings
names: IndexMap<String, String>The names the generator gave each resource id in the template
resource: ValueThe resource’s entry in the stack, ResourceEntry in its serde form
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EmitInput
impl<'de> Deserialize<'de> for EmitInput
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
impl StructuralPartialEq for EmitInput
Auto Trait Implementations§
impl Forget for EmitInput
impl Freeze for EmitInput
impl Move for EmitInput
impl RefUnwindSafe for EmitInput
impl Send for EmitInput
impl Sync for EmitInput
impl Unpin for EmitInput
impl UnsafeUnpin for EmitInput
impl UnwindSafe for EmitInput
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