pub struct DesiredState {
pub selector: String,
pub release: String,
pub release_sha256: Sha256,
pub profile: Option<ProfileId>,
pub reserved: Vec<String>,
pub declared: Declared,
}Expand description
What the plan is aiming at.
Fields§
§selector: StringWhat the caller asked for, before resolution.
release: StringThe exact release the selector resolved to.
release_sha256: Sha256The digest over that release’s content.
profile: Option<ProfileId>The profile the target takes.
reserved: Vec<String>Paths no delivered gate judges, as the caller reserved them.
Carried so an apply recomputes the same landing. The bytes they change are already in the operations, so the fingerprint covers them there rather than twice.
declared: DeclaredWhat that release declares it lands, as counts a reader can check.
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
Source§impl<'de> Deserialize<'de> for DesiredState
impl<'de> Deserialize<'de> for DesiredState
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 Eq for DesiredState
Source§impl PartialEq for DesiredState
impl PartialEq for DesiredState
Source§impl Serialize for DesiredState
impl Serialize for DesiredState
impl StructuralPartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.