pub struct Image {
pub last_updated: Option<OffsetDateTime>,
pub owner_id: OwnerId,
pub image_id: ImageId,
pub state: ImageState,
pub format: ImageFormat,
pub error: Option<String>,
pub image_url: Option<Url>,
pub artifacts_url: Option<Url>,
pub tags: BTreeMap<String, String>,
pub shareable: bool,
}
Expand description
Image entry in the Freta service
Fields§
§last_updated: Option<OffsetDateTime>
Timestamp of the last time the image entry was updated
owner_id: OwnerId
Unique identifier of the owner of the image
image_id: ImageId
Unique identifier of the Image
state: ImageState
Current state of the image
format: ImageFormat
Format of the image
error: Option<String>
Error of the last analysis
NOTE: This is only provided if the analysis previously failed
image_url: Option<Url>
SAS URL for downloading the image snapshot.
NOTE: This is only provided for successfully analyzed images.
artifacts_url: Option<Url>
SAS URL for downloading the artifacts of an image.
NOTE: This is only provided for successfully analyzed images.
Key-Value pair of metadata associated with the image
Is the image accessible by authenticated users that know the ImageId
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Image
impl<'de> Deserialize<'de> for Image
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 RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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