Enum golem_client::model::Type
source · pub enum Type {
Show 21 variants
Variant(Vec<(String, Option<Box<Type>>)>),
Result((Option<Box<Type>>, Option<Box<Type>>)),
Option(Box<Type>),
Enum(Vec<String>),
Flags(Vec<String>),
Record(Vec<(String, Box<Type>)>),
Tuple(Vec<Box<Type>>),
List(Box<Type>),
Str {},
Chr {},
F64 {},
F32 {},
U64 {},
S64 {},
U32 {},
S32 {},
U16 {},
S16 {},
U8 {},
S8 {},
Bool {},
}
Variants§
Variant(Vec<(String, Option<Box<Type>>)>)
Result((Option<Box<Type>>, Option<Box<Type>>))
Option(Box<Type>)
Enum(Vec<String>)
Flags(Vec<String>)
Record(Vec<(String, Box<Type>)>)
Tuple(Vec<Box<Type>>)
List(Box<Type>)
Str
Fields
Chr
Fields
F64
Fields
F32
Fields
U64
Fields
S64
Fields
U32
Fields
S32
Fields
U16
Fields
S16
Fields
U8
Fields
S8
Fields
Bool
Fields
Trait Implementations§
source§impl<'de> Deserialize<'de> for Type
impl<'de> Deserialize<'de> for Type
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<Type> for Type
impl PartialEq<Type> for Type
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.