pub struct Manifest {
pub id: i64,
pub index_id: Option<i64>,
pub image_id: i64,
pub schema_version: i64,
pub media_type: String,
pub annotations_json: Option<String>,
pub created_at: DateTime<Utc>,
pub modified_at: DateTime<Utc>,
}Expand description
Represents an OCI image manifest in the database
Fields§
§id: i64Unique identifier for the manifest
index_id: Option<i64>Optional ID of the index this manifest belongs to
image_id: i64ID of the image this manifest belongs to
schema_version: i64Schema version for the manifest
media_type: StringMedia type of the manifest
annotations_json: Option<String>JSON string containing annotations
created_at: DateTime<Utc>When the manifest was created
modified_at: DateTime<Utc>When the manifest was last modified
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnwindSafe for Manifest
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