#[non_exhaustive]pub struct PluginOrigin {
pub marketplace: Option<String>,
pub local_path: Option<String>,
}Expand description
Where a plugin/list row came from, in the plugin/install target
vocabulary: the host sets exactly one member (the PluginInstallTarget
shape; the one-member rule is the host’s, not the schema’s).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.marketplace: Option<String>The configured marketplace that a marketplace install came from.
local_path: Option<String>The host folder that a folder install was copied from.
Trait Implementations§
Source§impl Clone for PluginOrigin
impl Clone for PluginOrigin
Source§impl Debug for PluginOrigin
impl Debug for PluginOrigin
Source§impl Default for PluginOrigin
impl Default for PluginOrigin
Source§impl<'de> Deserialize<'de> for PluginOrigin
impl<'de> Deserialize<'de> for PluginOrigin
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 PluginOrigin
Source§impl PartialEq for PluginOrigin
impl PartialEq for PluginOrigin
Source§impl Serialize for PluginOrigin
impl Serialize for PluginOrigin
impl StructuralPartialEq for PluginOrigin
Auto Trait Implementations§
impl Forget for PluginOrigin
impl Freeze for PluginOrigin
impl Move for PluginOrigin
impl RefUnwindSafe for PluginOrigin
impl Send for PluginOrigin
impl Sync for PluginOrigin
impl Unpin for PluginOrigin
impl UnsafeUnpin for PluginOrigin
impl UnwindSafe for PluginOrigin
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