Struct fce::IRecordType[]

pub struct IRecordType {
    pub name: String,
    pub fields: NEVec<RecordFieldType>,
}

Represents a record type.

Fields

name: String

A record name.

fields: NEVec<RecordFieldType>

Types and names representing the fields. A record must have at least one field, hence the [Vec1][crate::vec1::Vec1].

Trait Implementations

impl Clone for RecordType

impl Debug for RecordType

impl Default for RecordType

impl<'de> Deserialize<'de> for RecordType

impl Eq for RecordType

impl Hash for RecordType

impl<'_> Parse<'_> for RecordType

impl PartialEq<RecordType> for RecordType

impl Serialize for RecordType

impl StructuralEq for RecordType

impl StructuralPartialEq for RecordType

impl<W> ToBytes<W> for RecordType where
    W: Write

Encode a RecordType into bytes.

impl<'_> ToString for &'_ RecordType

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.