pub struct SimpleType {
pub name: String,
pub type: String,
pub valid_values: Option<ValidValues>,
}Expand description
Representation of the
Fields§
§name: StringThe name of the simple type
type: StringThe type of the simple type
valid_values: Option<ValidValues>Optional children of the tag
Trait Implementations§
Source§impl Debug for SimpleType
impl Debug for SimpleType
Source§impl<'de> Deserialize<'de> for SimpleType
impl<'de> Deserialize<'de> for SimpleType
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 SimpleType
impl PartialEq for SimpleType
Source§impl Serialize for SimpleType
impl Serialize for SimpleType
impl Eq for SimpleType
impl StructuralPartialEq for SimpleType
Auto Trait Implementations§
impl Freeze for SimpleType
impl RefUnwindSafe for SimpleType
impl Send for SimpleType
impl Sync for SimpleType
impl Unpin for SimpleType
impl UnwindSafe for SimpleType
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