pub struct BaseConfig {
pub name: Option<String>,
pub workers: Option<Vec<String>>,
pub configuration_items: Option<Vec<ConfigurationDefinitionItem>>,
pub config: Option<HashMap<String, Value>>,
}Fields§
§name: Option<String>§workers: Option<Vec<String>>§configuration_items: Option<Vec<ConfigurationDefinitionItem>>§config: Option<HashMap<String, Value>>Arbitrary JSON object representing a worker’s specific configuration.
Implementations§
Source§impl BaseConfig
impl BaseConfig
pub fn new() -> BaseConfig
Trait Implementations§
Source§impl Clone for BaseConfig
impl Clone for BaseConfig
Source§fn clone(&self) -> BaseConfig
fn clone(&self) -> BaseConfig
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 BaseConfig
impl Debug for BaseConfig
Source§impl Default for BaseConfig
impl Default for BaseConfig
Source§fn default() -> BaseConfig
fn default() -> BaseConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BaseConfig
impl<'de> Deserialize<'de> for BaseConfig
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 BaseConfig
impl PartialEq for BaseConfig
Source§impl Serialize for BaseConfig
impl Serialize for BaseConfig
impl StructuralPartialEq for BaseConfig
Auto Trait Implementations§
impl Freeze for BaseConfig
impl RefUnwindSafe for BaseConfig
impl Send for BaseConfig
impl Sync for BaseConfig
impl Unpin for BaseConfig
impl UnwindSafe for BaseConfig
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