Trait TrackingFrom

Source
pub trait TrackingFrom<T, S>
where Self: Sized, S: TrackingStatus + Default,
{ // Required method fn tracking_from(value: T, status: &mut S, parent: &str) -> Self; }
Expand description

A value-to-value conversion that consumes the input value while tracking changes via a Kubernetes status.

This allows nested sub structs to bubble up their tracked changes.

Required Methods§

Source

fn tracking_from(value: T, status: &mut S, parent: &str) -> Self

Convert T into Self.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§