pub struct PropSpec {
pub description: Option<String>,
pub display_name: Option<String>,
pub name: Option<String>,
pub required: Option<bool>,
pub type: Option<String>,
}Fields§
§description: Option<String>§display_name: Option<String>§name: Option<String>§required: Option<bool>§type: Option<String>string|number|boolean|object|array
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PropSpec
impl<'de> Deserialize<'de> for PropSpec
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
impl StructuralPartialEq for PropSpec
Auto Trait Implementations§
impl Freeze for PropSpec
impl RefUnwindSafe for PropSpec
impl Send for PropSpec
impl Sync for PropSpec
impl Unpin for PropSpec
impl UnsafeUnpin for PropSpec
impl UnwindSafe for PropSpec
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