pub struct ImportInput {
pub resource_id: String,
pub platform: Platform,
pub region: String,
pub stack_settings: StackSettings,
pub management_config: Option<ManagementConfig>,
pub resource: Value,
pub import_data: Value,
}Expand description
What an importer gets: the parts of Alien’s ImportContext that serialize, and the data
the setup template returned.
Fields§
§resource_id: StringThe id of the resource being imported
platform: PlatformThe platform the resource was set up on
region: StringThe region or location the setup template reported
stack_settings: StackSettingsThe stack settings the setup template reported
management_config: Option<ManagementConfig>The management configuration, when setup created a management identity
resource: ValueThe resource’s entry in the stack, ResourceEntry in its serde form
import_data: ValueWhat the emitter’s import reference resolved to after setup
Trait Implementations§
Source§impl Clone for ImportInput
impl Clone for ImportInput
Source§impl Debug for ImportInput
impl Debug for ImportInput
Source§impl<'de> Deserialize<'de> for ImportInput
impl<'de> Deserialize<'de> for ImportInput
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
Source§impl PartialEq for ImportInput
impl PartialEq for ImportInput
Source§impl Serialize for ImportInput
impl Serialize for ImportInput
impl StructuralPartialEq for ImportInput
Auto Trait Implementations§
impl Forget for ImportInput
impl Freeze for ImportInput
impl Move for ImportInput
impl RefUnwindSafe for ImportInput
impl Send for ImportInput
impl Sync for ImportInput
impl Unpin for ImportInput
impl UnsafeUnpin for ImportInput
impl UnwindSafe for ImportInput
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