pub struct PluginRegistryRecord {
pub plugin_id: String,
pub augmented_metadata: AugmentedMetadata,
pub registered_at: i64,
}Expand description
Record in the plugin registry, tracking a deployed plugin instance.
Fields§
§plugin_id: StringUnique plugin instance identifier (UUID or similar).
augmented_metadata: AugmentedMetadataAugmented metadata for this plugin instance.
registered_at: i64Unix timestamp (seconds) when the plugin was registered.
Implementations§
Source§impl PluginRegistryRecord
impl PluginRegistryRecord
Sourcepub fn validate(&self) -> Result<(), AugmentedMetadataError>
pub fn validate(&self) -> Result<(), AugmentedMetadataError>
Validate this registry record.
Trait Implementations§
Source§impl Clone for PluginRegistryRecord
impl Clone for PluginRegistryRecord
Source§fn clone(&self) -> PluginRegistryRecord
fn clone(&self) -> PluginRegistryRecord
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 PluginRegistryRecord
impl Debug for PluginRegistryRecord
Source§impl<'de> Deserialize<'de> for PluginRegistryRecord
impl<'de> Deserialize<'de> for PluginRegistryRecord
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 PluginRegistryRecord
Source§impl PartialEq for PluginRegistryRecord
impl PartialEq for PluginRegistryRecord
Source§fn eq(&self, other: &PluginRegistryRecord) -> bool
fn eq(&self, other: &PluginRegistryRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PluginRegistryRecord
impl Serialize for PluginRegistryRecord
impl StructuralPartialEq for PluginRegistryRecord
Auto Trait Implementations§
impl Freeze for PluginRegistryRecord
impl RefUnwindSafe for PluginRegistryRecord
impl Send for PluginRegistryRecord
impl Sync for PluginRegistryRecord
impl Unpin for PluginRegistryRecord
impl UnsafeUnpin for PluginRegistryRecord
impl UnwindSafe for PluginRegistryRecord
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