pub struct MapperPolicyRecurrence {
pub frequency: Option<Frequency>,
pub interval: Option<i32>,
}Expand description
CDC policy recurrence details.
Fields§
§frequency: Option<Frequency>Frequency of period in terms of ‘Hour’, ‘Minute’ or ‘Second’.
interval: Option<i32>Actual interval value as per chosen frequency.
Implementations§
Trait Implementations§
Source§impl Clone for MapperPolicyRecurrence
impl Clone for MapperPolicyRecurrence
Source§fn clone(&self) -> MapperPolicyRecurrence
fn clone(&self) -> MapperPolicyRecurrence
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 MapperPolicyRecurrence
impl Debug for MapperPolicyRecurrence
Source§impl Default for MapperPolicyRecurrence
impl Default for MapperPolicyRecurrence
Source§fn default() -> MapperPolicyRecurrence
fn default() -> MapperPolicyRecurrence
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MapperPolicyRecurrence
impl<'de> Deserialize<'de> for MapperPolicyRecurrence
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 MapperPolicyRecurrence
impl PartialEq for MapperPolicyRecurrence
Source§impl Serialize for MapperPolicyRecurrence
impl Serialize for MapperPolicyRecurrence
impl StructuralPartialEq for MapperPolicyRecurrence
Auto Trait Implementations§
impl Freeze for MapperPolicyRecurrence
impl RefUnwindSafe for MapperPolicyRecurrence
impl Send for MapperPolicyRecurrence
impl Sync for MapperPolicyRecurrence
impl Unpin for MapperPolicyRecurrence
impl UnwindSafe for MapperPolicyRecurrence
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