pub struct LexiconObject {
pub description: Option<String>,
pub required: Vec<String>,
pub properties: HashMap<String, LexiconProperty>,
}Expand description
An object schema (used in records, params, etc.).
Fields§
§description: Option<String>Description.
required: Vec<String>Required field names.
properties: HashMap<String, LexiconProperty>Property definitions.
Trait Implementations§
Source§impl Clone for LexiconObject
impl Clone for LexiconObject
Source§fn clone(&self) -> LexiconObject
fn clone(&self) -> LexiconObject
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 LexiconObject
impl Debug for LexiconObject
Source§impl<'de> Deserialize<'de> for LexiconObject
impl<'de> Deserialize<'de> for LexiconObject
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 LexiconObject
impl RefUnwindSafe for LexiconObject
impl Send for LexiconObject
impl Sync for LexiconObject
impl Unpin for LexiconObject
impl UnsafeUnpin for LexiconObject
impl UnwindSafe for LexiconObject
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