pub struct ArtifactAndLogRetention {
pub days: NonZeroU32,
}Expand description
How long artifacts and logs are kept.
Fields§
§days: NonZeroU32The number of days to keep artifacts and logs.
Trait Implementations§
Source§impl ActionsGroup for ArtifactAndLogRetention
impl ActionsGroup for ArtifactAndLogRetention
Source§impl Clone for ArtifactAndLogRetention
impl Clone for ArtifactAndLogRetention
Source§fn clone(&self) -> ArtifactAndLogRetention
fn clone(&self) -> ArtifactAndLogRetention
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 moreimpl Copy for ArtifactAndLogRetention
Source§impl Debug for ArtifactAndLogRetention
impl Debug for ArtifactAndLogRetention
impl Eq for ArtifactAndLogRetention
Source§impl<'ʄ> Facet<'ʄ> for ArtifactAndLogRetention
impl<'ʄ> Facet<'ʄ> for ArtifactAndLogRetention
Source§impl From<ArtifactAndLogRetention> for Group
impl From<ArtifactAndLogRetention> for Group
Source§fn from(group: ArtifactAndLogRetention) -> Self
fn from(group: ArtifactAndLogRetention) -> Self
Converts to this type from the input type.
Source§impl From<RetentionResponse> for ArtifactAndLogRetention
impl From<RetentionResponse> for ArtifactAndLogRetention
Source§fn from(response: RetentionResponse) -> Self
fn from(response: RetentionResponse) -> Self
Converts to this type from the input type.
Source§impl GroupType for ArtifactAndLogRetention
impl GroupType for ArtifactAndLogRetention
Source§const NAME: &'static str = "artifact_and_log_retention"
const NAME: &'static str = "artifact_and_log_retention"
The group’s name in the report and in the configuration.
Source§fn compare(&self, live: &Self, diff: &mut FieldDiff)
fn compare(&self, live: &Self, diff: &mut FieldDiff)
Compare the declared group with the live one.
Source§fn limitation() -> Limitation
fn limitation() -> Limitation
What the report says when the live group cannot be read.
Source§impl PartialEq for ArtifactAndLogRetention
impl PartialEq for ArtifactAndLogRetention
impl StructuralPartialEq for ArtifactAndLogRetention
Auto Trait Implementations§
impl Freeze for ArtifactAndLogRetention
impl RefUnwindSafe for ArtifactAndLogRetention
impl Send for ArtifactAndLogRetention
impl Sync for ArtifactAndLogRetention
impl Unpin for ArtifactAndLogRetention
impl UnsafeUnpin for ArtifactAndLogRetention
impl UnwindSafe for ArtifactAndLogRetention
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.