Enum gitlab::api::projects::ContainerExpirationOlderThan
source · pub enum ContainerExpirationOlderThan {
OneWeek,
TwoWeeks,
OneMonth,
ThreeMonths,
}
Expand description
How old containers need to be before they are candidates for expiration.
Note that GitLab only supports a few discrete values for this setting.
Variants§
Trait Implementations§
source§impl Clone for ContainerExpirationOlderThan
impl Clone for ContainerExpirationOlderThan
source§fn clone(&self) -> ContainerExpirationOlderThan
fn clone(&self) -> ContainerExpirationOlderThan
Returns a copy of the value. Read more
1.0.0 · 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 ContainerExpirationOlderThan
impl Debug for ContainerExpirationOlderThan
source§impl Ord for ContainerExpirationOlderThan
impl Ord for ContainerExpirationOlderThan
source§fn cmp(&self, other: &ContainerExpirationOlderThan) -> Ordering
fn cmp(&self, other: &ContainerExpirationOlderThan) -> Ordering
1.21.0 · 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 ParamValue<'static> for ContainerExpirationOlderThan
impl ParamValue<'static> for ContainerExpirationOlderThan
source§impl PartialEq<ContainerExpirationOlderThan> for ContainerExpirationOlderThan
impl PartialEq<ContainerExpirationOlderThan> for ContainerExpirationOlderThan
source§fn eq(&self, other: &ContainerExpirationOlderThan) -> bool
fn eq(&self, other: &ContainerExpirationOlderThan) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ContainerExpirationOlderThan> for ContainerExpirationOlderThan
impl PartialOrd<ContainerExpirationOlderThan> for ContainerExpirationOlderThan
source§fn partial_cmp(&self, other: &ContainerExpirationOlderThan) -> Option<Ordering>
fn partial_cmp(&self, other: &ContainerExpirationOlderThan) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ContainerExpirationOlderThan
impl Eq for ContainerExpirationOlderThan
impl StructuralEq for ContainerExpirationOlderThan
impl StructuralPartialEq for ContainerExpirationOlderThan
Auto Trait Implementations§
impl RefUnwindSafe for ContainerExpirationOlderThan
impl Send for ContainerExpirationOlderThan
impl Sync for ContainerExpirationOlderThan
impl Unpin for ContainerExpirationOlderThan
impl UnwindSafe for ContainerExpirationOlderThan
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.