pub struct StoreBody {Show 14 fields
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,
pub registry_membership: Option<RegistryMembership>,
pub project_write_back: BTreeMap<PathBuf, ProjectWriteBackIntent>,
}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: DaemonPointers§registry_membership: Option<RegistryMembership>§project_write_back: BTreeMap<PathBuf, ProjectWriteBackIntent>Implementations§
Source§impl StoreBody
impl StoreBody
Sourcepub fn project_write_back_status(
&self,
module: &str,
path: &Path,
) -> Result<ProjectWriteBackStatus, GateError>
pub fn project_write_back_status( &self, module: &str, path: &Path, ) -> Result<ProjectWriteBackStatus, GateError>
Read the write-back/proposal inputs for a settings row without opening any roots. A cleared intent with matching observations is in sync; the store does not retain a separate record of which writes were adopted.
Trait 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 StoreBodywhere
*const LeafNode<String, BTreeMap<String, String>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, BTreeMap<String, String>)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<ProgramRefusal>: Freeze,
*const LeafNode<String, RecordedValue> is !null: Freeze,
PhantomData<Box<(String, RecordedValue)>>: Freeze,
*const LeafNode<u64, HistoryEntry> is !null: Freeze,
PhantomData<Box<(u64, HistoryEntry)>>: Freeze,
PhantomData<(Tuple, Versions)>: Freeze,
*const LeafNode<u64, PrunedGeneration> is !null: Freeze,
PhantomData<Box<(u64, PrunedGeneration)>>: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Option<RecordedValue>> is !null: Freeze,
PhantomData<Box<(String, Option<RecordedValue>)>>: Freeze,
*const LeafNode<String, Option<String>> is !null: Freeze,
PhantomData<Box<(String, Option<String>)>>: Freeze,
*const LeafNode<PathBuf, ProjectWriteBackIntent> is !null: Freeze,
PhantomData<Box<(PathBuf, ProjectWriteBackIntent)>>: Freeze,
impl Move for StoreBody
impl RefUnwindSafe for StoreBody
impl Send for StoreBodywhere
NodeRef<Owned, String, BTreeMap<String, String>, LeafOrInternal>: Send,
BoxRaw<(String, BTreeMap<String, String>)>: Send,
RawVecInner: Send,
NodeRef<Owned, String, RecordedValue, LeafOrInternal>: Send,
BoxRaw<(String, RecordedValue)>: Send,
NodeRef<Owned, u64, HistoryEntry, LeafOrInternal>: Send,
BoxRaw<(u64, HistoryEntry)>: Send,
NodeRef<Owned, u64, PrunedGeneration, LeafOrInternal>: Send,
BoxRaw<(u64, PrunedGeneration)>: Send,
NodeRef<Owned, String, Option<RecordedValue>, LeafOrInternal>: Send,
BoxRaw<(String, Option<RecordedValue>)>: Send,
NodeRef<Owned, String, Option<String>, LeafOrInternal>: Send,
BoxRaw<(String, Option<String>)>: Send,
NodeRef<Owned, PathBuf, ProjectWriteBackIntent, LeafOrInternal>: Send,
BoxRaw<(PathBuf, ProjectWriteBackIntent)>: Send,
impl Sync for StoreBodywhere
NodeRef<Owned, String, BTreeMap<String, String>, LeafOrInternal>: Sync,
BoxRaw<(String, BTreeMap<String, String>)>: Sync,
RawVecInner: Sync,
NodeRef<Owned, String, RecordedValue, LeafOrInternal>: Sync,
BoxRaw<(String, RecordedValue)>: Sync,
NodeRef<Owned, u64, HistoryEntry, LeafOrInternal>: Sync,
BoxRaw<(u64, HistoryEntry)>: Sync,
NodeRef<Owned, u64, PrunedGeneration, LeafOrInternal>: Sync,
BoxRaw<(u64, PrunedGeneration)>: Sync,
NodeRef<Owned, String, Option<RecordedValue>, LeafOrInternal>: Sync,
BoxRaw<(String, Option<RecordedValue>)>: Sync,
NodeRef<Owned, String, Option<String>, LeafOrInternal>: Sync,
BoxRaw<(String, Option<String>)>: Sync,
NodeRef<Owned, PathBuf, ProjectWriteBackIntent, LeafOrInternal>: Sync,
BoxRaw<(PathBuf, ProjectWriteBackIntent)>: Sync,
impl Unpin for StoreBodywhere
*const LeafNode<String, BTreeMap<String, String>> is !null: Unpin,
Box<(String, BTreeMap<String, String>)>: Unpin,
*const u8 is !null: Unpin,
*const LeafNode<String, RecordedValue> is !null: Unpin,
Box<(String, RecordedValue)>: Unpin,
*const LeafNode<u64, HistoryEntry> is !null: Unpin,
Box<(u64, HistoryEntry)>: Unpin,
*const LeafNode<u64, PrunedGeneration> is !null: Unpin,
Box<(u64, PrunedGeneration)>: Unpin,
*const LeafNode<String, Option<RecordedValue>> is !null: Unpin,
Box<(String, Option<RecordedValue>)>: Unpin,
*const LeafNode<String, Option<String>> is !null: Unpin,
Box<(String, Option<String>)>: Unpin,
*const LeafNode<PathBuf, ProjectWriteBackIntent> is !null: Unpin,
Box<(PathBuf, ProjectWriteBackIntent)>: Unpin,
impl UnsafeUnpin for StoreBodywhere
*const LeafNode<String, BTreeMap<String, String>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, BTreeMap<String, String>)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<ProgramRefusal>: UnsafeUnpin,
*const LeafNode<String, RecordedValue> is !null: UnsafeUnpin,
PhantomData<Box<(String, RecordedValue)>>: UnsafeUnpin,
*const LeafNode<u64, HistoryEntry> is !null: UnsafeUnpin,
PhantomData<Box<(u64, HistoryEntry)>>: UnsafeUnpin,
PhantomData<(Tuple, Versions)>: UnsafeUnpin,
*const LeafNode<u64, PrunedGeneration> is !null: UnsafeUnpin,
PhantomData<Box<(u64, PrunedGeneration)>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Option<RecordedValue>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Option<RecordedValue>)>>: UnsafeUnpin,
*const LeafNode<String, Option<String>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Option<String>)>>: UnsafeUnpin,
*const LeafNode<PathBuf, ProjectWriteBackIntent> is !null: UnsafeUnpin,
PhantomData<Box<(PathBuf, ProjectWriteBackIntent)>>: UnsafeUnpin,
impl UnwindSafe for StoreBodywhere
BTreeMap<String, BTreeMap<String, String>>: UnwindSafe,
RawVecInner: UnwindSafe,
BTreeMap<String, RecordedValue>: UnwindSafe,
BTreeMap<u64, HistoryEntry>: UnwindSafe,
BTreeMap<u64, PrunedGeneration>: UnwindSafe,
BTreeMap<String, Option<RecordedValue>>: UnwindSafe,
BTreeMap<String, Option<String>>: UnwindSafe,
BTreeMap<PathBuf, ProjectWriteBackIntent>: UnwindSafe,
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