pub struct IRUnion {
pub name: String,
pub types: Vec<String>,
pub description: Option<String>,
}Expand description
IR Union definition.
Fields§
§name: StringUnion name (e.g., “SearchResult”).
types: Vec<String>Types that are part of this union.
description: Option<String>Union description.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IRUnion
impl<'de> Deserialize<'de> for IRUnion
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 StructuralPartialEq for IRUnion
Auto Trait Implementations§
impl Freeze for IRUnion
impl RefUnwindSafe for IRUnion
impl Send for IRUnion
impl Sync for IRUnion
impl Unpin for IRUnion
impl UnsafeUnpin for IRUnion
impl UnwindSafe for IRUnion
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