pub struct TimeBasedDeletePolicy {
pub enabled_instant: Option<i64>,
pub number_of_days_to_retain: Option<i32>,
pub enabled: Option<bool>,
}
Expand description
TimeBasedDeletePolicy : A policy for deleting Users based upon some external criteria.
Fields§
§enabled_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
number_of_days_to_retain: Option<i32>
§enabled: Option<bool>
Implementations§
Source§impl TimeBasedDeletePolicy
impl TimeBasedDeletePolicy
Sourcepub fn new() -> TimeBasedDeletePolicy
pub fn new() -> TimeBasedDeletePolicy
A policy for deleting Users based upon some external criteria.
Trait Implementations§
Source§impl Clone for TimeBasedDeletePolicy
impl Clone for TimeBasedDeletePolicy
Source§fn clone(&self) -> TimeBasedDeletePolicy
fn clone(&self) -> TimeBasedDeletePolicy
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 TimeBasedDeletePolicy
impl Debug for TimeBasedDeletePolicy
Source§impl Default for TimeBasedDeletePolicy
impl Default for TimeBasedDeletePolicy
Source§fn default() -> TimeBasedDeletePolicy
fn default() -> TimeBasedDeletePolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimeBasedDeletePolicy
impl<'de> Deserialize<'de> for TimeBasedDeletePolicy
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
Source§impl PartialEq for TimeBasedDeletePolicy
impl PartialEq for TimeBasedDeletePolicy
Source§impl Serialize for TimeBasedDeletePolicy
impl Serialize for TimeBasedDeletePolicy
impl StructuralPartialEq for TimeBasedDeletePolicy
Auto Trait Implementations§
impl Freeze for TimeBasedDeletePolicy
impl RefUnwindSafe for TimeBasedDeletePolicy
impl Send for TimeBasedDeletePolicy
impl Sync for TimeBasedDeletePolicy
impl Unpin for TimeBasedDeletePolicy
impl UnwindSafe for TimeBasedDeletePolicy
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