pub struct DesiredState {
pub selector: String,
pub release: ResolvedRelease,
pub configuration: Option<Configuration>,
pub unresolved: Option<String>,
}Expand description
What the target is asked to converge toward.
Fields§
§selector: StringThe selector as the operator gave it: embedded, latest, or an
exact version.
release: ResolvedReleaseWhat the selector resolved to, once, frozen here.
configuration: Option<Configuration>The landing configuration the projection renders under, or the reason none resolved.
unresolved: Option<String>Why the configuration did not resolve, where it did not.
Trait Implementations§
Source§impl Clone for DesiredState
impl Clone for DesiredState
Source§fn clone(&self) -> DesiredState
fn clone(&self) -> DesiredState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DesiredState
impl Debug for DesiredState
Auto Trait Implementations§
impl Freeze for DesiredState
impl RefUnwindSafe for DesiredState
impl Send for DesiredState
impl Sync for DesiredState
impl Unpin for DesiredState
impl UnsafeUnpin for DesiredState
impl UnwindSafe for DesiredState
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