pub struct LockEntry {
pub name: String,
pub path: String,
pub enabled: bool,
pub capabilities: Option<Vec<String>>,
pub sha256: String,
pub upstream_sha256: Option<String>,
pub source: String,
pub version: Option<String>,
}Fields§
§name: String§path: String§enabled: bool§capabilities: Option<Vec<String>>§sha256: StringSHA-256 of the file as it currently sits on disk. On macOS this includes
the locally-applied ad-hoc signature, so the value is machine-specific.
Used by verify_checksum to detect local tampering between syncs.
upstream_sha256: Option<String>SHA-256 of the asset as served by the upstream source (pre-resign on
macOS). Stable across machines for the same release artifact, so it
detects silent upstream replacement at re-download time. None for
local plugins or lock entries written before this field existed.
source: String§version: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LockEntry
impl<'de> Deserialize<'de> for LockEntry
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 LockEntry
Auto Trait Implementations§
impl Freeze for LockEntry
impl RefUnwindSafe for LockEntry
impl Send for LockEntry
impl Sync for LockEntry
impl Unpin for LockEntry
impl UnsafeUnpin for LockEntry
impl UnwindSafe for LockEntry
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