pub struct RecordDescription {
pub name: String,
pub ty: u32,
pub fields: Vec<(String, CheckingType)>,
}Expand description
Describes required record fields in canonical order.
§Examples
Fields§
§name: StringThe constructor’s source name.
ty: u32The constructed nominal identity.
fields: Vec<(String, CheckingType)>Required field names and complete shapes.
Trait Implementations§
Source§impl Clone for RecordDescription
impl Clone for RecordDescription
Source§impl Debug for RecordDescription
impl Debug for RecordDescription
Source§impl<'de> Deserialize<'de> for RecordDescription
impl<'de> Deserialize<'de> for RecordDescription
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 RecordDescription
Source§impl PartialEq for RecordDescription
impl PartialEq for RecordDescription
Source§impl Serialize for RecordDescription
impl Serialize for RecordDescription
impl StructuralPartialEq for RecordDescription
Auto Trait Implementations§
impl Freeze for RecordDescription
impl RefUnwindSafe for RecordDescription
impl Send for RecordDescription
impl Sync for RecordDescription
impl Unpin for RecordDescription
impl UnsafeUnpin for RecordDescription
impl UnwindSafe for RecordDescription
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