pub struct SemanticStruct {
pub id: SymbolId,
pub name: String,
pub original_name: String,
pub serde_name: String,
pub description: String,
pub parameters: Vec<SemanticTypeParameter>,
pub fields: BTreeMap<SymbolId, SemanticField>,
pub transparent: bool,
pub is_tuple: bool,
pub is_unit: bool,
pub codegen_config: LanguageSpecificTypeCodegenConfig,
}Fields§
§id: SymbolId§name: String§original_name: String§serde_name: String§description: String§parameters: Vec<SemanticTypeParameter>Resolved generic parameters
fields: BTreeMap<SymbolId, SemanticField>Fields ordered deterministically
transparent: boolSemantic properties
is_tuple: bool§is_unit: bool§codegen_config: LanguageSpecificTypeCodegenConfigLanguage-specific configuration
Trait Implementations§
Source§impl Clone for SemanticStruct
impl Clone for SemanticStruct
Source§fn clone(&self) -> SemanticStruct
fn clone(&self) -> SemanticStruct
Returns a duplicate 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 SemanticStruct
impl Debug for SemanticStruct
Source§impl PartialEq for SemanticStruct
impl PartialEq for SemanticStruct
impl Eq for SemanticStruct
impl StructuralPartialEq for SemanticStruct
Auto Trait Implementations§
impl Freeze for SemanticStruct
impl RefUnwindSafe for SemanticStruct
impl Send for SemanticStruct
impl Sync for SemanticStruct
impl Unpin for SemanticStruct
impl UnsafeUnpin for SemanticStruct
impl UnwindSafe for SemanticStruct
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