pub struct TealType {
pub name: Cow<'static, str>,
pub type_kind: KindOfType,
pub generics: Option<Vec<TealType>>,
}
Expand description
Represents a type
Fields§
§name: Cow<'static, str>
Name of the type
type_kind: KindOfType
If the type is build in, a generic or from a library
generics: Option<Vec<TealType>>
any generics that this type has
Trait Implementations§
source§impl<'de> Deserialize<'de> for TealType
impl<'de> Deserialize<'de> for TealType
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 TealType
impl PartialEq for TealType
impl Eq for TealType
impl StructuralEq for TealType
impl StructuralPartialEq for TealType
Auto Trait Implementations§
impl RefUnwindSafe for TealType
impl Send for TealType
impl Sync for TealType
impl Unpin for TealType
impl UnwindSafe for TealType
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