pub struct PackImport {
pub format: String,
pub url: Option<String>,
pub path: Option<String>,
pub plugin: Option<String>,
pub commit: Option<String>,
pub unsupported: Vec<PackUnsupported>,
}Expand description
The origin of a pack imported from another bundle format.
Fields§
§format: StringThe bundle format, such as claude-plugin.
url: Option<String>The git repository or folder it was read from.
path: Option<String>The folder inside the repository.
plugin: Option<String>The marketplace entry, when the source was a marketplace.
commit: Option<String>The commit that was read.
unsupported: Vec<PackUnsupported>What the source had that the pack does not carry.
Trait Implementations§
Source§impl Clone for PackImport
impl Clone for PackImport
Source§impl Debug for PackImport
impl Debug for PackImport
Source§impl<'de> Deserialize<'de> for PackImport
impl<'de> Deserialize<'de> for PackImport
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 PackImport
Source§impl PartialEq for PackImport
impl PartialEq for PackImport
Source§impl Serialize for PackImport
impl Serialize for PackImport
impl StructuralPartialEq for PackImport
Auto Trait Implementations§
impl Forget for PackImport
impl Freeze for PackImport
impl Move for PackImport
impl RefUnwindSafe for PackImport
impl Send for PackImportwhere
RawVecInner: Send,
impl Sync for PackImportwhere
RawVecInner: Sync,
impl Unpin for PackImport
impl UnsafeUnpin for PackImportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PackUnsupported>: UnsafeUnpin,
impl UnwindSafe for PackImportwhere
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.