pub struct MinMaxGovernor {
pub enforce_retention: bool,
pub minimum_fixed_retention: i64,
pub maximum_fixed_retention: i64,
pub minimum_variable_retention: i64,
pub maximum_variable_retention: i64,
}
Fields§
§enforce_retention: bool
§minimum_fixed_retention: i64
§maximum_fixed_retention: i64
§minimum_variable_retention: i64
§maximum_variable_retention: i64
Trait Implementations§
Source§impl Clone for MinMaxGovernor
impl Clone for MinMaxGovernor
Source§fn clone(&self) -> MinMaxGovernor
fn clone(&self) -> MinMaxGovernor
Returns a duplicate 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 MinMaxGovernor
impl Debug for MinMaxGovernor
Source§impl Default for MinMaxGovernor
impl Default for MinMaxGovernor
Source§fn default() -> MinMaxGovernor
fn default() -> MinMaxGovernor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MinMaxGovernor
impl<'de> Deserialize<'de> for MinMaxGovernor
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 Freeze for MinMaxGovernor
impl RefUnwindSafe for MinMaxGovernor
impl Send for MinMaxGovernor
impl Sync for MinMaxGovernor
impl Unpin for MinMaxGovernor
impl UnwindSafe for MinMaxGovernor
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