pub struct EnumInfo {
pub title: String,
pub enum: Vec<String>,
pub type: String,
pub description: String,
pub is_optional: bool,
pub is_list: bool,
}
Fields§
§title: String
§enum: Vec<String>
§type: String
§description: String
§is_optional: bool
§is_list: bool
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EnumInfo
impl<'de> Deserialize<'de> for EnumInfo
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 EnumInfo
Auto Trait Implementations§
impl Freeze for EnumInfo
impl RefUnwindSafe for EnumInfo
impl Send for EnumInfo
impl Sync for EnumInfo
impl Unpin for EnumInfo
impl UnwindSafe for EnumInfo
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