pub struct ReschedulePolicy {
pub attempts: Option<i32>,
pub interval: Option<i64>,
pub delay: Option<i64>,
pub delay_function: Option<String>,
pub max_delay: Option<i64>,
pub unlimited: Option<bool>,
}
Fields§
§attempts: Option<i32>
§interval: Option<i64>
§delay: Option<i64>
§delay_function: Option<String>
§max_delay: Option<i64>
§unlimited: Option<bool>
Implementations§
Source§impl ReschedulePolicy
impl ReschedulePolicy
pub fn new() -> ReschedulePolicy
Trait Implementations§
Source§impl Clone for ReschedulePolicy
impl Clone for ReschedulePolicy
Source§fn clone(&self) -> ReschedulePolicy
fn clone(&self) -> ReschedulePolicy
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 ReschedulePolicy
impl Debug for ReschedulePolicy
Source§impl<'de> Deserialize<'de> for ReschedulePolicy
impl<'de> Deserialize<'de> for ReschedulePolicy
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 ReschedulePolicy
impl PartialEq for ReschedulePolicy
Source§impl Serialize for ReschedulePolicy
impl Serialize for ReschedulePolicy
impl StructuralPartialEq for ReschedulePolicy
Auto Trait Implementations§
impl Freeze for ReschedulePolicy
impl RefUnwindSafe for ReschedulePolicy
impl Send for ReschedulePolicy
impl Sync for ReschedulePolicy
impl Unpin for ReschedulePolicy
impl UnwindSafe for ReschedulePolicy
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