pub struct Index {
pub id: i64,
pub image_id: i64,
pub schema_version: i64,
pub media_type: String,
pub platform_os: Option<String>,
pub platform_arch: Option<String>,
pub platform_variant: Option<String>,
pub annotations_json: Option<String>,
pub created_at: DateTime<Utc>,
pub modified_at: DateTime<Utc>,
}Expand description
Represents an OCI image index in the database
Fields§
§id: i64Unique identifier for the index
image_id: i64ID of the image this index belongs to
schema_version: i64Schema version for the index
media_type: StringMedia type of the index
platform_os: Option<String>Operating system platform
platform_arch: Option<String>Architecture platform
platform_variant: Option<String>Platform variant
annotations_json: Option<String>JSON string containing annotations
created_at: DateTime<Utc>When the index was created
modified_at: DateTime<Utc>When the index was last modified
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Index
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnwindSafe for Index
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more