pub struct LockedContent {
pub url: Option<String>,
pub subpath: Option<SourceSubpath>,
pub commit: Option<String>,
}Expand description
The tree a marketplace plugin was read from. A plugin in the marketplace’s own repository
repeats the marketplace’s url and commit with its path as subpath; with a marketplace
at a local path, a local plugin has only its subpath.
Fields§
§url: Option<String>§subpath: Option<SourceSubpath>§commit: Option<String>Trait Implementations§
Source§impl Clone for LockedContent
impl Clone for LockedContent
Source§impl Debug for LockedContent
impl Debug for LockedContent
Source§impl<'de> Deserialize<'de> for LockedContent
impl<'de> Deserialize<'de> for LockedContent
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 LockedContent
impl PartialEq for LockedContent
Source§impl Serialize for LockedContent
impl Serialize for LockedContent
impl StructuralPartialEq for LockedContent
Auto Trait Implementations§
impl Forget for LockedContent
impl Freeze for LockedContent
impl Move for LockedContent
impl RefUnwindSafe for LockedContent
impl Send for LockedContentwhere
RawVecInner: Send,
impl Sync for LockedContentwhere
RawVecInner: Sync,
impl Unpin for LockedContent
impl UnsafeUnpin for LockedContent
impl UnwindSafe for LockedContentwhere
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