pub struct ConversionReport {
pub schema_version: &'static str,
pub source: AgentKind,
pub target: AgentKind,
pub resources: Vec<ResourceConversion>,
pub secret_references: Vec<SecretRef>,
pub summary: ReportSummary,
}Fields§
§schema_version: &'static str§source: AgentKind§target: AgentKind§resources: Vec<ResourceConversion>§secret_references: Vec<SecretRef>§summary: ReportSummaryImplementations§
Source§impl ConversionReport
impl ConversionReport
Sourcepub fn classify_changes(
&mut self,
root: &Path,
plan: &WritePlan,
policy: ConflictPolicy,
) -> Result<(), AdapterError>
pub fn classify_changes( &mut self, root: &Path, plan: &WritePlan, policy: ConflictPolicy, ) -> Result<(), AdapterError>
Classifies planned writes against a target root.
§Errors
Returns an error when an existing target resource cannot be read.
pub fn to_markdown(&self) -> String
Trait Implementations§
Source§impl Clone for ConversionReport
impl Clone for ConversionReport
Source§impl Debug for ConversionReport
impl Debug for ConversionReport
impl Eq for ConversionReport
Source§impl PartialEq for ConversionReport
impl PartialEq for ConversionReport
Source§impl Serialize for ConversionReport
impl Serialize for ConversionReport
impl StructuralPartialEq for ConversionReport
Auto Trait Implementations§
impl Freeze for ConversionReport
impl RefUnwindSafe for ConversionReport
impl Send for ConversionReport
impl Sync for ConversionReport
impl Unpin for ConversionReport
impl UnsafeUnpin for ConversionReport
impl UnwindSafe for ConversionReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.