pub struct ActionPolicy {
pub dry_run: bool,
pub retries: u8,
pub retry_delay_ms: u64,
pub timeout_ms: u64,
}Fields§
§dry_run: bool§retries: u8§retry_delay_ms: u64§timeout_ms: u64Implementations§
Source§impl ActionPolicy
impl ActionPolicy
pub fn retry_policy(self) -> RetryPolicy
Trait Implementations§
Source§impl Clone for ActionPolicy
impl Clone for ActionPolicy
Source§fn clone(&self) -> ActionPolicy
fn clone(&self) -> ActionPolicy
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 ActionPolicy
impl Debug for ActionPolicy
impl Copy for ActionPolicy
Auto Trait Implementations§
impl Freeze for ActionPolicy
impl RefUnwindSafe for ActionPolicy
impl Send for ActionPolicy
impl Sync for ActionPolicy
impl Unpin for ActionPolicy
impl UnsafeUnpin for ActionPolicy
impl UnwindSafe for ActionPolicy
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