pub struct WorkspaceAsset {
pub id: AssetId,
pub key: Key,
pub label: String,
pub kind: AssetKind,
}Expand description
Shared asset identity independent of local paths and remote addresses.
Fields§
§id: AssetIdStable identity matching its map key.
key: KeyHuman-readable key unique within the workspace’s assets.
label: StringHuman-readable asset label.
kind: AssetKindKind of asset; none grants evidence or task completion.
Trait Implementations§
Source§impl Clone for WorkspaceAsset
impl Clone for WorkspaceAsset
Source§impl Debug for WorkspaceAsset
impl Debug for WorkspaceAsset
Source§impl<'de> Deserialize<'de> for WorkspaceAsset
impl<'de> Deserialize<'de> for WorkspaceAsset
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 WorkspaceAsset
Source§impl PartialEq for WorkspaceAsset
impl PartialEq for WorkspaceAsset
Source§impl Serialize for WorkspaceAsset
impl Serialize for WorkspaceAsset
impl StructuralPartialEq for WorkspaceAsset
Auto Trait Implementations§
impl Freeze for WorkspaceAsset
impl RefUnwindSafe for WorkspaceAsset
impl Send for WorkspaceAsset
impl Sync for WorkspaceAsset
impl Unpin for WorkspaceAsset
impl UnsafeUnpin for WorkspaceAsset
impl UnwindSafe for WorkspaceAsset
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