pub struct PluginAssignment {
pub plugin_type: PluginTypeId,
pub package_identifier: String,
pub config: Value,
}Expand description
A plugin assignment for a specific role in a version check or update.
Fields§
§plugin_type: PluginTypeIdThe plugin type (e.g. github_releases, apt, homebrew).
package_identifier: StringPackage identifier for this role’s plugin.
config: ValueMerged plugin config (base + override).
Trait Implementations§
Source§impl Clone for PluginAssignment
impl Clone for PluginAssignment
Source§fn clone(&self) -> PluginAssignment
fn clone(&self) -> PluginAssignment
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 PluginAssignment
impl Debug for PluginAssignment
Source§impl<'de> Deserialize<'de> for PluginAssignment
impl<'de> Deserialize<'de> for PluginAssignment
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 PluginAssignment
Source§impl PartialEq for PluginAssignment
impl PartialEq for PluginAssignment
Source§impl Serialize for PluginAssignment
impl Serialize for PluginAssignment
impl StructuralPartialEq for PluginAssignment
Source§impl WireValidate for PluginAssignment
impl WireValidate for PluginAssignment
Source§fn wire_validate(&self) -> Result<(), WireValidationError>
fn wire_validate(&self) -> Result<(), WireValidationError>
Validate that all fields are within wire protocol size limits.
Auto Trait Implementations§
impl Freeze for PluginAssignment
impl RefUnwindSafe for PluginAssignment
impl Send for PluginAssignment
impl Sync for PluginAssignment
impl Unpin for PluginAssignment
impl UnsafeUnpin for PluginAssignment
impl UnwindSafe for PluginAssignment
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.