pub struct StructIr { /* private fields */ }Implementations§
Source§impl StructIr
impl StructIr
pub const NAMESPACE: Uuid
pub fn builder( schema: impl Into<String>, name: impl Into<String>, ) -> StructIrBuilder
pub fn lexical_id(&self) -> LexicalId
pub fn schema(&self) -> &str
pub fn name(&self) -> &str
pub fn doc(&self) -> Option<&str>
pub fn fields(&self) -> &BTreeMap<u32, FieldIr>
pub fn fallback(&self) -> Option<&StructFallbackIr>
Trait Implementations§
Source§impl Serialize<StructIr> for &StructIr
impl Serialize<StructIr> for &StructIr
fn serialize(self, serializer: Serializer<'_>) -> Result<(), SerializeError>
fn serializes_as_some(&self) -> bool
impl Tag for StructIr
Auto Trait Implementations§
impl Freeze for StructIr
impl RefUnwindSafe for StructIr
impl Send for StructIr
impl Sync for StructIr
impl Unpin for StructIr
impl UnwindSafe for StructIr
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)