pub enum Proposal {
Cal {
cal: String,
},
Edit {
format: String,
base_digest: String,
diff: String,
},
Data {
data: Map<String, Value>,
},
}Expand description
The proposed change. Exactly one variant per recommendation.
Variants§
Cal
A batch of CAL Tier-1 evolve writes (ADD/SUPERSEDE), MAY contain FORGET.
Edit
A doc-target edit: {format, base_digest, diff} (base_digest enables a
staleness check at apply).
Data
An opaque map for host targets (applied by the host, §12.3).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Proposal
impl<'de> Deserialize<'de> for Proposal
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 StructuralPartialEq for Proposal
Auto Trait Implementations§
impl Freeze for Proposal
impl RefUnwindSafe for Proposal
impl Send for Proposal
impl Sync for Proposal
impl Unpin for Proposal
impl UnsafeUnpin for Proposal
impl UnwindSafe for Proposal
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