pub struct SupervisionConfig {
pub mode: SupervisionMode,
pub policies: Vec<SupervisionPolicy>,
}Fields§
§mode: SupervisionMode§policies: Vec<SupervisionPolicy>Trait Implementations§
Source§impl Clone for SupervisionConfig
impl Clone for SupervisionConfig
Source§fn clone(&self) -> SupervisionConfig
fn clone(&self) -> SupervisionConfig
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 SupervisionConfig
impl Debug for SupervisionConfig
Source§impl<'de> Deserialize<'de> for SupervisionConfig
impl<'de> Deserialize<'de> for SupervisionConfig
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
Auto Trait Implementations§
impl Freeze for SupervisionConfig
impl RefUnwindSafe for SupervisionConfig
impl Send for SupervisionConfig
impl Sync for SupervisionConfig
impl Unpin for SupervisionConfig
impl UnsafeUnpin for SupervisionConfig
impl UnwindSafe for SupervisionConfig
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