pub struct TypeDescription {
pub id: u32,
pub name: String,
pub aliases: Vec<String>,
pub primitive: Option<String>,
pub capabilities: Capabilities,
pub range_element: Option<u32>,
}Expand description
Fields§
§id: u32The catalog-local identity.
name: StringThe canonical diagnostic name.
aliases: Vec<String>Declared source aliases and reserved builtin literal-kind names.
primitive: Option<String>A language primitive name, when this is a primitive.
capabilities: CapabilitiesAvailable value operations.
range_element: Option<u32>The element accepted by inclusive-range filtering.
Trait Implementations§
Source§impl Clone for TypeDescription
impl Clone for TypeDescription
Source§impl Debug for TypeDescription
impl Debug for TypeDescription
Source§impl<'de> Deserialize<'de> for TypeDescription
impl<'de> Deserialize<'de> for TypeDescription
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
impl Eq for TypeDescription
Source§impl PartialEq for TypeDescription
impl PartialEq for TypeDescription
Source§impl Serialize for TypeDescription
impl Serialize for TypeDescription
impl StructuralPartialEq for TypeDescription
Auto Trait Implementations§
impl Freeze for TypeDescription
impl RefUnwindSafe for TypeDescription
impl Send for TypeDescription
impl Sync for TypeDescription
impl Unpin for TypeDescription
impl UnsafeUnpin for TypeDescription
impl UnwindSafe for TypeDescription
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