pub enum PluginPublication {
Community {
publisher_id: String,
integrations: Vec<String>,
},
}Variants§
Community
Implementations§
Source§impl PluginPublication
impl PluginPublication
pub fn validate(&self, definition: &PluginDefinition) -> Result<(), String>
pub fn integrations(&self) -> &[String]
Trait Implementations§
Source§impl Clone for PluginPublication
impl Clone for PluginPublication
Source§impl Debug for PluginPublication
impl Debug for PluginPublication
Source§impl<'de> Deserialize<'de> for PluginPublication
impl<'de> Deserialize<'de> for PluginPublication
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 PluginPublication
Source§impl PartialEq for PluginPublication
impl PartialEq for PluginPublication
Source§impl Serialize for PluginPublication
impl Serialize for PluginPublication
impl StructuralPartialEq for PluginPublication
Auto Trait Implementations§
impl Forget for PluginPublication
impl Freeze for PluginPublication
impl RefUnwindSafe for PluginPublication
impl Send for PluginPublication
impl Sync for PluginPublication
impl Unpin for PluginPublication
impl UnsafeUnpin for PluginPublication
impl UnwindSafe for PluginPublication
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.