pub struct PluginSentinel {
pub schema_version: u32,
pub mars_version: String,
pub plugin_name: String,
pub version: String,
pub inputs_hash: String,
pub dependencies: BTreeMap<String, ResolvedDependency>,
pub files: BTreeMap<String, String>,
pub root_files: BTreeMap<String, String>,
pub root_files_previous: BTreeMap<String, String>,
pub root_directories: BTreeSet<String>,
}Fields§
§schema_version: u32§mars_version: String§plugin_name: String§version: String§inputs_hash: String§dependencies: BTreeMap<String, ResolvedDependency>§files: BTreeMap<String, String>§root_files: BTreeMap<String, String>§root_files_previous: BTreeMap<String, String>Root-file hashes this build replaces or deletes: the Mars-owned bytes still on disk if publication died before rewriting them. Publishing the tree and the root files takes two steps; without this record the next build could not tell its own earlier write from a hand edit. A path counts only while its bytes still match, so a user’s own file at a retired path is never claimed.
root_directories: BTreeSet<String>Implementations§
Trait Implementations§
Source§impl Clone for PluginSentinel
impl Clone for PluginSentinel
Source§impl Debug for PluginSentinel
impl Debug for PluginSentinel
Source§impl<'de> Deserialize<'de> for PluginSentinel
impl<'de> Deserialize<'de> for PluginSentinel
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 PluginSentinel
Source§impl PartialEq for PluginSentinel
impl PartialEq for PluginSentinel
Source§impl Serialize for PluginSentinel
impl Serialize for PluginSentinel
impl StructuralPartialEq for PluginSentinel
Auto Trait Implementations§
impl Forget for PluginSentinel
impl Freeze for PluginSentinel
impl RefUnwindSafe for PluginSentinel
impl Send for PluginSentinel
impl Sync for PluginSentinel
impl Unpin for PluginSentinel
impl UnsafeUnpin for PluginSentinel
impl UnwindSafe for PluginSentinel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.