pub struct StoreBody {
pub approved_declarations: BTreeMap<String, BTreeMap<String, String>>,
pub program_refusals: Vec<ProgramRefusal>,
pub stamped: bool,
pub base_revision: u64,
pub last_generation: u64,
pub approved: Snapshot,
pub generations: BTreeMap<u64, HistoryEntry>,
pub versions: Vec<(Tuple, Versions)>,
pub pruned: BTreeMap<u64, PrunedGeneration>,
pub proposal: Option<Proposal>,
pub observed: Option<Snapshot>,
pub daemon: DaemonPointers,
}Expand description
All authority state shares one atomic publication boundary. Tuple pointers use a list because JSON object keys cannot represent structured tuples.
Fields§
§approved_declarations: BTreeMap<String, BTreeMap<String, String>>Last person-approved provider-entry digests, retained across development placements.
program_refusals: Vec<ProgramRefusal>§stamped: bool§base_revision: u64§last_generation: u64§approved: Snapshot§generations: BTreeMap<u64, HistoryEntry>§versions: Vec<(Tuple, Versions)>§pruned: BTreeMap<u64, PrunedGeneration>§proposal: Option<Proposal>§observed: Option<Snapshot>Retained to recompute a proposal against the next approved base.
daemon: DaemonPointersTrait Implementations§
Source§impl<'de> Deserialize<'de> for StoreBody
impl<'de> Deserialize<'de> for StoreBody
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
Auto Trait Implementations§
impl Forget for StoreBody
impl Freeze for StoreBody
impl Move for StoreBody
impl RefUnwindSafe for StoreBody
impl Send for StoreBody
impl Sync for StoreBody
impl Unpin for StoreBody
impl UnsafeUnpin for StoreBody
impl UnwindSafe for StoreBody
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