pub struct SupervisorBaseConfig {
pub coord_connector: SupervisorCoordConnector,
pub supervisor_id: Uuid,
}Expand description
Base configuration object for every supervisor.
Supervisors should expose this object under the base path in their
configuration. For instance, for a TOML configuration file:
[base]
supervisor_id = "e5e7258e-c18b-471d-bc03-8385495b29e4"
coord_connector = "ws_connector"
[ws_connector]
some_option = "foo"
[other_section]
hello = "world"Fields§
§coord_connector: SupervisorCoordConnector§supervisor_id: UuidTrait Implementations§
Source§impl Clone for SupervisorBaseConfig
impl Clone for SupervisorBaseConfig
Source§fn clone(&self) -> SupervisorBaseConfig
fn clone(&self) -> SupervisorBaseConfig
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 SupervisorBaseConfig
impl Debug for SupervisorBaseConfig
Source§impl<'de> Deserialize<'de> for SupervisorBaseConfig
impl<'de> Deserialize<'de> for SupervisorBaseConfig
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 SupervisorBaseConfig
impl RefUnwindSafe for SupervisorBaseConfig
impl Send for SupervisorBaseConfig
impl Sync for SupervisorBaseConfig
impl Unpin for SupervisorBaseConfig
impl UnwindSafe for SupervisorBaseConfig
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