pub enum AssetKind {
GitRepository {
remotes: Vec<String>,
},
Folder,
DocumentCollection,
Other(String),
}Expand description
WorkspaceAsset category supporting both code and non-code work.
Variants§
GitRepository
A repository; remote URLs are attributes, not its identity.
Folder
A filesystem collection with device-local location bindings.
DocumentCollection
Documents used independently of a Git repository.
Other(String)
Author-defined asset category.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AssetKind
impl<'de> Deserialize<'de> for AssetKind
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 AssetKind
impl StructuralPartialEq for AssetKind
Auto Trait Implementations§
impl Freeze for AssetKind
impl RefUnwindSafe for AssetKind
impl Send for AssetKind
impl Sync for AssetKind
impl Unpin for AssetKind
impl UnsafeUnpin for AssetKind
impl UnwindSafe for AssetKind
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