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 Clone for RecordType
pub fn clone(&self) -> RecordType
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for RecordType
impl Default for RecordType
pub fn default() -> RecordType
impl<'de> Deserialize<'de> for RecordType
impl<'de> Deserialize<'de> for RecordType
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<RecordType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
__deserializer: __D
) -> Result<RecordType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Eq for RecordType
impl Eq for RecordType
impl Hash for RecordType
impl Hash for RecordType
impl<'_> Parse<'_> for RecordType
impl<'_> Parse<'_> for RecordType
pub fn parse(parser: Parser<'_>) -> Result<RecordType, Error>
impl PartialEq<RecordType> for RecordType
impl PartialEq<RecordType> for RecordType
pub fn eq(&self, other: &RecordType) -> bool
pub fn ne(&self, other: &RecordType) -> bool
impl Serialize for RecordType
impl Serialize for RecordType
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for RecordType
impl StructuralEq for RecordType
impl StructuralPartialEq for RecordType
impl StructuralPartialEq for RecordType
impl<W> ToBytes<W> for RecordType where
W: Write,
impl<W> ToBytes<W> for RecordType where
W: Write,
Encode a RecordType
into bytes.
impl<'_> ToString for &'_ RecordType
impl<'_> ToString for &'_ RecordType
Auto Trait Implementations
impl RefUnwindSafe for RecordType
impl RefUnwindSafe for RecordType
impl Send for RecordType
impl Send for RecordType
impl Sync for RecordType
impl Sync for RecordType
impl Unpin for RecordType
impl Unpin for RecordType
impl UnwindSafe for RecordType
impl UnwindSafe for RecordType
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Same<T> for T
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> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>