pub struct CompositeTypeIr {
pub logical_name: String,
pub fields: Vec<CompositeFieldIr>,
pub span: Span,
}Expand description
Validated composite type (embedded struct).
Fields§
§logical_name: StringThe logical type name as defined in the schema (e.g., “Address”).
fields: Vec<CompositeFieldIr>All fields of the composite type.
span: SpanSpan of the type declaration.
Trait Implementations§
Source§impl Clone for CompositeTypeIr
impl Clone for CompositeTypeIr
Source§fn clone(&self) -> CompositeTypeIr
fn clone(&self) -> CompositeTypeIr
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 CompositeTypeIr
impl Debug for CompositeTypeIr
Source§impl PartialEq for CompositeTypeIr
impl PartialEq for CompositeTypeIr
impl StructuralPartialEq for CompositeTypeIr
Auto Trait Implementations§
impl Freeze for CompositeTypeIr
impl RefUnwindSafe for CompositeTypeIr
impl Send for CompositeTypeIr
impl Sync for CompositeTypeIr
impl Unpin for CompositeTypeIr
impl UnsafeUnpin for CompositeTypeIr
impl UnwindSafe for CompositeTypeIr
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