pub struct PluginRequirement {
pub service: String,
pub requirement: String,
}Expand description
A typed provider declaration. Resolution is intentionally outside the catalog; this value only records the author-owned requirement.
Fields§
§service: String§requirement: StringTrait Implementations§
Source§impl Clone for PluginRequirement
impl Clone for PluginRequirement
Source§fn clone(&self) -> PluginRequirement
fn clone(&self) -> PluginRequirement
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 PluginRequirement
impl Debug for PluginRequirement
Source§impl<'de> Deserialize<'de> for PluginRequirement
impl<'de> Deserialize<'de> for PluginRequirement
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 PluginRequirement
Source§impl Hash for PluginRequirement
impl Hash for PluginRequirement
Source§impl Ord for PluginRequirement
impl Ord for PluginRequirement
Source§fn cmp(&self, other: &PluginRequirement) -> Ordering
fn cmp(&self, other: &PluginRequirement) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PluginRequirement
impl PartialEq for PluginRequirement
Source§impl PartialOrd for PluginRequirement
impl PartialOrd for PluginRequirement
Source§impl Serialize for PluginRequirement
impl Serialize for PluginRequirement
impl StructuralPartialEq for PluginRequirement
Auto Trait Implementations§
impl Freeze for PluginRequirement
impl RefUnwindSafe for PluginRequirement
impl Send for PluginRequirement
impl Sync for PluginRequirement
impl Unpin for PluginRequirement
impl UnsafeUnpin for PluginRequirement
impl UnwindSafe for PluginRequirement
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