pub struct PluginSettingSchema {
pub key: String,
pub value_schema: PluginValueSchema,
pub required: bool,
pub default_json: Option<String>,
pub constraints: Vec<PluginSettingConstraint>,
pub description: Option<String>,
pub control_behavior: Option<PluginControlBehavior>,
}Fields§
§key: String§value_schema: PluginValueSchema§required: bool§default_json: Option<String>§constraints: Vec<PluginSettingConstraint>§description: Option<String>§control_behavior: Option<PluginControlBehavior>Trait Implementations§
Source§impl Clone for PluginSettingSchema
impl Clone for PluginSettingSchema
Source§fn clone(&self) -> PluginSettingSchema
fn clone(&self) -> PluginSettingSchema
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginSettingSchema
impl Debug for PluginSettingSchema
Source§impl PartialEq for PluginSettingSchema
impl PartialEq for PluginSettingSchema
impl StructuralPartialEq for PluginSettingSchema
Auto Trait Implementations§
impl Freeze for PluginSettingSchema
impl RefUnwindSafe for PluginSettingSchema
impl Send for PluginSettingSchema
impl Sync for PluginSettingSchema
impl Unpin for PluginSettingSchema
impl UnsafeUnpin for PluginSettingSchema
impl UnwindSafe for PluginSettingSchema
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