pub struct Reference {
pub parent_id: Option<i64>,
pub child_id: Option<i64>,
pub child_digest: Option<String>,
pub platform: Option<Box<Platform>>,
pub annotations: Option<HashMap<String, String>>,
pub urls: Option<Vec<String>>,
}Fields§
§parent_id: Option<i64>The parent ID of the reference
child_id: Option<i64>The child ID of the reference
child_digest: Option<String>The digest of the child artifact
platform: Option<Box<Platform>>§annotations: Option<HashMap<String, String>>§urls: Option<Vec<String>>The download URLs
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Reference
impl<'de> Deserialize<'de> for Reference
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 StructuralPartialEq for Reference
Auto Trait Implementations§
impl Freeze for Reference
impl RefUnwindSafe for Reference
impl Send for Reference
impl Sync for Reference
impl Unpin for Reference
impl UnwindSafe for Reference
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