pub struct PluginTrustRecord {
pub version: String,
pub marketplace: String,
pub manifest_sha256: String,
pub installed_at: String,
}Expand description
Per-plugin trust record. Persisted under plugins.json.
Fields§
§version: StringVersion installed.
marketplace: StringMarketplace URL (or "sideload").
manifest_sha256: StringHex-encoded sha256 of the manifest at install time.
installed_at: StringRFC 3339 timestamp.
Trait Implementations§
Source§impl Clone for PluginTrustRecord
impl Clone for PluginTrustRecord
Source§fn clone(&self) -> PluginTrustRecord
fn clone(&self) -> PluginTrustRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginTrustRecord
impl Debug for PluginTrustRecord
Source§impl<'de> Deserialize<'de> for PluginTrustRecord
impl<'de> Deserialize<'de> for PluginTrustRecord
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 PluginTrustRecord
Source§impl PartialEq for PluginTrustRecord
impl PartialEq for PluginTrustRecord
Source§fn eq(&self, other: &PluginTrustRecord) -> bool
fn eq(&self, other: &PluginTrustRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PluginTrustRecord
impl Serialize for PluginTrustRecord
impl StructuralPartialEq for PluginTrustRecord
Auto Trait Implementations§
impl Freeze for PluginTrustRecord
impl RefUnwindSafe for PluginTrustRecord
impl Send for PluginTrustRecord
impl Sync for PluginTrustRecord
impl Unpin for PluginTrustRecord
impl UnsafeUnpin for PluginTrustRecord
impl UnwindSafe for PluginTrustRecord
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.