pub struct Accessory {
pub id: Option<i64>,
pub artifact_id: Option<i64>,
pub subject_artifact_id: Option<i64>,
pub subject_artifact_digest: Option<String>,
pub subject_artifact_repo: Option<String>,
pub size: Option<i64>,
pub digest: Option<String>,
pub type: Option<String>,
pub icon: Option<String>,
pub creation_time: Option<String>,
}Expand description
Accessory : The accessory of the artifact
Fields§
§id: Option<i64>The ID of the accessory
artifact_id: Option<i64>The artifact id of the accessory
subject_artifact_id: Option<i64>Going to be deprecated, use repo and digest for insteand. The subject artifact id of the accessory.
subject_artifact_digest: Option<String>The subject artifact digest of the accessory
subject_artifact_repo: Option<String>The subject artifact repository name of the accessory
size: Option<i64>The artifact size of the accessory
digest: Option<String>The artifact digest of the accessory
type: Option<String>The artifact size of the accessory
icon: Option<String>The icon of the accessory
creation_time: Option<String>The creation time of the accessory
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Accessory
impl<'de> Deserialize<'de> for Accessory
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 Accessory
Auto Trait Implementations§
impl Freeze for Accessory
impl RefUnwindSafe for Accessory
impl Send for Accessory
impl Sync for Accessory
impl Unpin for Accessory
impl UnwindSafe for Accessory
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