pub struct SettingsWriteAsk {
pub id: Uuid,
pub edits: Vec<SettingsWriteChange>,
}Expand description
One configuration write held for the reader’s approval.
The blocked settings__set / settings__unset handler awaits the
answer, and nothing reaches forge.toml unless it approved: this is the
shape the dock draws while it waits, so it carries what a person decides
on - every key in the save, what it holds now, and what the write would
leave. A batch is one ask and one approval because a section’s keys can
be mutually required: neither half can land alone.
Fields§
§id: UuidThe write’s own id, which is what an answer is addressed by.
edits: Vec<SettingsWriteChange>The keys the one write changes, in the caller’s order.
Trait Implementations§
Source§impl Clone for SettingsWriteAsk
impl Clone for SettingsWriteAsk
Source§impl Debug for SettingsWriteAsk
impl Debug for SettingsWriteAsk
Source§impl<'de> Deserialize<'de> for SettingsWriteAsk
impl<'de> Deserialize<'de> for SettingsWriteAsk
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
Source§impl PartialEq for SettingsWriteAsk
impl PartialEq for SettingsWriteAsk
Source§impl Serialize for SettingsWriteAsk
impl Serialize for SettingsWriteAsk
impl StructuralPartialEq for SettingsWriteAsk
Auto Trait Implementations§
impl Freeze for SettingsWriteAsk
impl RefUnwindSafe for SettingsWriteAsk
impl Send for SettingsWriteAsk
impl Sync for SettingsWriteAsk
impl Unpin for SettingsWriteAsk
impl UnsafeUnpin for SettingsWriteAsk
impl UnwindSafe for SettingsWriteAsk
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