pub struct Repository {Show 15 fields
pub repository_name: String,
pub repository_arn: String,
pub registry_id: String,
pub repository_uri: String,
pub created_at: DateTime<Utc>,
pub image_tag_mutability: String,
pub image_scanning_configuration: ImageScanningConfiguration,
pub encryption_configuration: EncryptionConfiguration,
pub tags: BTreeMap<String, String>,
pub policy: Option<String>,
pub lifecycle_policy: Option<String>,
pub scan_findings: BTreeMap<String, ImageScanFindings>,
pub images: BTreeMap<String, Image>,
pub image_tags: BTreeMap<String, String>,
pub layers: BTreeMap<String, Layer>,
}Fields§
§repository_name: String§repository_arn: String§registry_id: String§repository_uri: String§created_at: DateTime<Utc>§image_tag_mutability: String§image_scanning_configuration: ImageScanningConfiguration§encryption_configuration: EncryptionConfiguration§policy: Option<String>Repository-level policy document JSON. None until the caller
sets one via SetRepositoryPolicy.
lifecycle_policy: Option<String>Repository-level lifecycle policy document JSON.
scan_findings: BTreeMap<String, ImageScanFindings>Per-image scan findings, keyed by manifest digest.
images: BTreeMap<String, Image>Stored images keyed by manifest digest (sha256). One image can
have many tags (via image_tags).
Tag name -> image digest. Multiple tags can point to the same digest.
layers: BTreeMap<String, Layer>Content-addressed layer blobs keyed by their sha256 digest
(e.g. sha256:deadbeef…). Stored as base64 to keep JSON
snapshots portable.
Implementations§
Trait Implementations§
Source§impl Clone for Repository
impl Clone for Repository
Source§fn clone(&self) -> Repository
fn clone(&self) -> Repository
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Repository
impl Debug for Repository
Source§impl<'de> Deserialize<'de> for Repository
impl<'de> Deserialize<'de> for Repository
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
Auto Trait Implementations§
impl Freeze for Repository
impl RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnsafeUnpin for Repository
impl UnwindSafe for Repository
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