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 Move for PluginPublication
impl RefUnwindSafe for PluginPublication
impl Send for PluginPublicationwhere
RawVecInner: Send,
impl Sync for PluginPublicationwhere
RawVecInner: Sync,
impl Unpin for PluginPublication
impl UnsafeUnpin for PluginPublicationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for PluginPublicationwhere
RawVecInner: UnwindSafe,
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.