pub struct GeneratedAsset {
pub id: String,
pub path: String,
pub media_type: Option<String>,
pub hash: Option<String>,
pub created_at: Option<String>,
pub source_refs: Vec<String>,
pub tool_refs: Vec<String>,
pub actor_refs: Vec<String>,
}Expand description
Generated package asset with direct provenance links.
Fields§
§id: StringStable generated asset id.
path: StringGenerated package path.
media_type: Option<String>Optional media type.
hash: Option<String>Optional generated asset hash.
created_at: Option<String>Optional creation timestamp.
source_refs: Vec<String>Source ids used to produce this asset.
tool_refs: Vec<String>Tool ids used to produce this asset.
actor_refs: Vec<String>Actor ids responsible for this asset.
Trait Implementations§
Source§impl Clone for GeneratedAsset
impl Clone for GeneratedAsset
Source§impl Debug for GeneratedAsset
impl Debug for GeneratedAsset
Source§impl<'de> Deserialize<'de> for GeneratedAsset
impl<'de> Deserialize<'de> for GeneratedAsset
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 GeneratedAsset
Source§impl PartialEq for GeneratedAsset
impl PartialEq for GeneratedAsset
Source§impl Serialize for GeneratedAsset
impl Serialize for GeneratedAsset
impl StructuralPartialEq for GeneratedAsset
Auto Trait Implementations§
impl Freeze for GeneratedAsset
impl RefUnwindSafe for GeneratedAsset
impl Send for GeneratedAsset
impl Sync for GeneratedAsset
impl Unpin for GeneratedAsset
impl UnsafeUnpin for GeneratedAsset
impl UnwindSafe for GeneratedAsset
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.