pub struct PluginInfo {
pub name: String,
pub version: String,
pub config_key: String,
pub help_url: String,
pub config_schema_url: String,
pub update_url: Option<String>,
}Expand description
Information about a plugin.
Fields§
§name: StringThe name of the plugin.
version: StringThe version of the plugin.
config_key: StringGets the key that can be used in the configuration JSON.
help_url: StringA url the user can go to in order to get help information about the plugin.
config_schema_url: StringSchema url for the plugin configuration.
Generally in the format: https://plugins.dprint.dev/
update_url: Option<String>Plugin update url.
Generally in the format: https://plugins.dprint.dev/
Trait Implementations§
Source§impl Clone for PluginInfo
impl Clone for PluginInfo
Source§fn clone(&self) -> PluginInfo
fn clone(&self) -> PluginInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 PluginInfo
impl Debug for PluginInfo
Source§impl<'de> Deserialize<'de> for PluginInfo
impl<'de> Deserialize<'de> for PluginInfo
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
Source§impl PartialEq for PluginInfo
impl PartialEq for PluginInfo
Source§impl Serialize for PluginInfo
impl Serialize for PluginInfo
impl Eq for PluginInfo
impl StructuralPartialEq for PluginInfo
Auto Trait Implementations§
impl Freeze for PluginInfo
impl RefUnwindSafe for PluginInfo
impl Send for PluginInfo
impl Sync for PluginInfo
impl Unpin for PluginInfo
impl UnwindSafe for PluginInfo
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,
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.