pub struct RescanExpect {
pub config_sha256: String,
pub staged_generation: StagedGeneration,
}Expand description
What must still match for the daemon to accept an apply of this preview, so the apply does what the preview described.
Fields§
§config_sha256: StringLowercase hex SHA-256 of the candidate text the preview parsed. The apply hashes the file the daemon reads and refuses on any difference, so the bytes applied are exactly the bytes previewed.
staged_generation: StagedGenerationThe daemon’s staged configuration at preview time.
Trait Implementations§
Source§impl Clone for RescanExpect
impl Clone for RescanExpect
Source§impl Debug for RescanExpect
impl Debug for RescanExpect
Source§impl<'de> Deserialize<'de> for RescanExpect
impl<'de> Deserialize<'de> for RescanExpect
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 RescanExpect
Source§impl PartialEq for RescanExpect
impl PartialEq for RescanExpect
Source§impl Serialize for RescanExpect
impl Serialize for RescanExpect
impl StructuralPartialEq for RescanExpect
Auto Trait Implementations§
impl Forget for RescanExpect
impl Freeze for RescanExpect
impl RefUnwindSafe for RescanExpect
impl Send for RescanExpect
impl Sync for RescanExpect
impl Unpin for RescanExpect
impl UnsafeUnpin for RescanExpect
impl UnwindSafe for RescanExpect
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