pub struct DrainStrategy {
pub drain_spec: Option<Box<DrainSpec>>,
pub force_deadline: Option<String>,
pub started_at: Option<String>,
}
Fields§
§drain_spec: Option<Box<DrainSpec>>
§force_deadline: Option<String>
§started_at: Option<String>
Implementations§
Source§impl DrainStrategy
impl DrainStrategy
pub fn new() -> DrainStrategy
Trait Implementations§
Source§impl Clone for DrainStrategy
impl Clone for DrainStrategy
Source§fn clone(&self) -> DrainStrategy
fn clone(&self) -> DrainStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DrainStrategy
impl Debug for DrainStrategy
Source§impl<'de> Deserialize<'de> for DrainStrategy
impl<'de> Deserialize<'de> for DrainStrategy
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 DrainStrategy
impl PartialEq for DrainStrategy
Source§impl Serialize for DrainStrategy
impl Serialize for DrainStrategy
impl StructuralPartialEq for DrainStrategy
Auto Trait Implementations§
impl Freeze for DrainStrategy
impl RefUnwindSafe for DrainStrategy
impl Send for DrainStrategy
impl Sync for DrainStrategy
impl Unpin for DrainStrategy
impl UnwindSafe for DrainStrategy
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