[−][src]Struct scaleway_sdk::registry::ImageTag
Methods
impl ImageTag
[src]
pub fn id(&self) -> &str
[src]
pub fn name(&self) -> &str
[src]
pub fn image_id(&self) -> &str
[src]
pub fn status(&self) -> Status
[src]
pub fn digest(&self) -> &str
[src]
pub fn created_at(&self) -> DateTime<Utc>
[src]
Returns created_at
pub fn updated_at(&self) -> DateTime<Utc>
[src]
Returns updated_at
pub fn is_older_than(&self, date_time: DateTime<Utc>) -> bool
[src]
Returns true if the given date_time
is older than the last time this image tag was
updated
pub fn is_newer_than(&self, date_time: DateTime<Utc>) -> bool
[src]
Returns true if the given date_time
is newer than the last time this
tag was updated
Trait Implementations
impl Clone for ImageTag
[src]
impl Debug for ImageTag
[src]
impl<'de> Deserialize<'de> for ImageTag
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for ImageTag
[src]
impl Ord for ImageTag
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ImageTag> for ImageTag
[src]
impl PartialOrd<ImageTag> for ImageTag
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for ImageTag
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageTag
impl Send for ImageTag
impl Sync for ImageTag
impl Unpin for ImageTag
impl UnwindSafe for ImageTag
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,