#[non_exhaustive]pub struct LatestVersion {
pub repository: String,
pub latest_tag: Version,
pub pushed_at: OffsetDateTime,
pub digest: String,
}Expand description
Data model matching return type of /api/gateway/latestVersion endpoint
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.repository: StringThe AWS ECR repository for Freedom Gateway
latest_tag: VersionThe semantic version of the latest tag of Freedom Gateway
pushed_at: OffsetDateTime§digest: StringTrait Implementations§
Source§impl Clone for LatestVersion
impl Clone for LatestVersion
Source§fn clone(&self) -> LatestVersion
fn clone(&self) -> LatestVersion
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 LatestVersion
impl Debug for LatestVersion
impl Eq for LatestVersion
Source§impl Hash for LatestVersion
impl Hash for LatestVersion
Source§impl Ord for LatestVersion
impl Ord for LatestVersion
Source§fn cmp(&self, other: &LatestVersion) -> Ordering
fn cmp(&self, other: &LatestVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LatestVersion
impl PartialEq for LatestVersion
Source§fn eq(&self, other: &LatestVersion) -> bool
fn eq(&self, other: &LatestVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LatestVersion
impl PartialOrd for LatestVersion
impl StructuralPartialEq for LatestVersion
Auto Trait Implementations§
impl Freeze for LatestVersion
impl RefUnwindSafe for LatestVersion
impl Send for LatestVersion
impl Sync for LatestVersion
impl Unpin for LatestVersion
impl UnsafeUnpin for LatestVersion
impl UnwindSafe for LatestVersion
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