pub struct PluginConfigSchema {
pub required_fields: Vec<String>,
pub optional_fields: HashMap<String, Value>,
}Expand description
Schema describing a plugin’s configuration requirements
Fields§
§required_fields: Vec<String>Fields that must be present in the step config
optional_fields: HashMap<String, Value>Optional fields with their default values
Trait Implementations§
Source§impl Clone for PluginConfigSchema
impl Clone for PluginConfigSchema
Source§fn clone(&self) -> PluginConfigSchema
fn clone(&self) -> PluginConfigSchema
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 PluginConfigSchema
impl Debug for PluginConfigSchema
Source§impl Default for PluginConfigSchema
impl Default for PluginConfigSchema
Source§fn default() -> PluginConfigSchema
fn default() -> PluginConfigSchema
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PluginConfigSchema
impl RefUnwindSafe for PluginConfigSchema
impl Send for PluginConfigSchema
impl Sync for PluginConfigSchema
impl Unpin for PluginConfigSchema
impl UnsafeUnpin for PluginConfigSchema
impl UnwindSafe for PluginConfigSchema
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