Enum feattle::SerializedFormatKind [−][src]
An exact and machine-readable description of a feattle type.
This type can be used to create a nice human interface, like a HTML form, to edit the value of a feattle, for example. It can also be used to validate user input.
Variants
String(StringFormatKind)
List(Box<SerializedFormatKind, Global>)
An ordered list of homogenous types
Set(Box<SerializedFormatKind, Global>)
An unordered bag of homogenous types
An unordered bag of homogenous keys and values
Optional(Box<SerializedFormatKind, Global>)
Trait Implementations
impl Clone for SerializedFormatKind
[src]
pub fn clone(&self) -> SerializedFormatKind
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SerializedFormatKind
[src]
impl Eq for SerializedFormatKind
[src]
impl PartialEq<SerializedFormatKind> for SerializedFormatKind
[src]
pub fn eq(&self, other: &SerializedFormatKind) -> bool
[src]
pub fn ne(&self, other: &SerializedFormatKind) -> bool
[src]
impl Serialize for SerializedFormatKind
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for SerializedFormatKind
[src]
impl StructuralPartialEq for SerializedFormatKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for SerializedFormatKind
impl Send for SerializedFormatKind
impl Sync for SerializedFormatKind
impl Unpin for SerializedFormatKind
impl UnwindSafe for SerializedFormatKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,