Struct tealr::SingleType
source · pub struct SingleType {
pub name: Name,
pub kind: KindOfType,
}
Expand description
A singular type
Fields§
§name: Name
The name of the type
kind: KindOfType
The kind of type that is being represented
Trait Implementations§
source§impl Clone for SingleType
impl Clone for SingleType
source§fn clone(&self) -> SingleType
fn clone(&self) -> SingleType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SingleType
impl Debug for SingleType
source§impl<'de> Deserialize<'de> for SingleType
impl<'de> Deserialize<'de> for SingleType
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
Auto Trait Implementations§
impl RefUnwindSafe for SingleType
impl Send for SingleType
impl Sync for SingleType
impl Unpin for SingleType
impl UnwindSafe for SingleType
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