pub enum SourceScheme {
Registry(String),
GitHub(String),
Path(PathBuf),
Url(String),
}Expand description
Source scheme parsed from the source field.
Variants§
Registry(String)
registry:<plugin-name> — fetch from the TA plugin registry.
GitHub(String)
github:<owner/repo> — download from GitHub releases.
Path(PathBuf)
path:<local-path> — build from local source.
Url(String)
url:<download-url> — direct tarball download.
Trait Implementations§
Source§impl Clone for SourceScheme
impl Clone for SourceScheme
Source§fn clone(&self) -> SourceScheme
fn clone(&self) -> SourceScheme
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourceScheme
impl Debug for SourceScheme
Source§impl PartialEq for SourceScheme
impl PartialEq for SourceScheme
impl Eq for SourceScheme
impl StructuralPartialEq for SourceScheme
Auto Trait Implementations§
impl Freeze for SourceScheme
impl RefUnwindSafe for SourceScheme
impl Send for SourceScheme
impl Sync for SourceScheme
impl Unpin for SourceScheme
impl UnsafeUnpin for SourceScheme
impl UnwindSafe for SourceScheme
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,
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.