pub struct ConfigSchema {
pub type: String,
pub properties: HashMap<String, ConfigPropertySchema>,
pub required: Option<Vec<String>>,
}Expand description
A JSON Schema object describing available configuration properties.
This is the generic base type. See {@link SessionConfigSchema} for session-specific usage.
Fields§
§type: StringJSON Schema: always 'object'
properties: HashMap<String, ConfigPropertySchema>JSON Schema: property descriptors keyed by property id
required: Option<Vec<String>>JSON Schema: list of required property ids
Trait Implementations§
Source§impl Clone for ConfigSchema
impl Clone for ConfigSchema
Source§fn clone(&self) -> ConfigSchema
fn clone(&self) -> ConfigSchema
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 ConfigSchema
impl Debug for ConfigSchema
Source§impl<'de> Deserialize<'de> for ConfigSchema
impl<'de> Deserialize<'de> for ConfigSchema
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 ConfigSchema
impl PartialEq for ConfigSchema
Source§fn eq(&self, other: &ConfigSchema) -> bool
fn eq(&self, other: &ConfigSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConfigSchema
impl Serialize for ConfigSchema
impl StructuralPartialEq for ConfigSchema
Auto Trait Implementations§
impl Freeze for ConfigSchema
impl RefUnwindSafe for ConfigSchema
impl Send for ConfigSchema
impl Sync for ConfigSchema
impl Unpin for ConfigSchema
impl UnsafeUnpin for ConfigSchema
impl UnwindSafe for ConfigSchema
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