pub trait StructAttributeFieldCount<const FIELD_COUNT: usize>: StructMeta { }
Expand description
A trait implemented for all structs with a count of fields.
NOTE: A generic parameter is used here which allows for optional further trait implementations.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Annotation<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Authentication<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for AuthenticationOk<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for AuthenticationRequiredSASLMessage<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for AuthenticationSASLContinue<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for AuthenticationSASLFinal<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for AuthenticationSASLInitialResponse<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for AuthenticationSASLResponse<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for ClientHandshake<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for CommandComplete<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for CommandDataDescription<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for ConnectionParam<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Data<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for DataElement<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Dump2<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Dump3<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Dump<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for DumpBlock<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for DumpHeader<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for DumpObjectDesc<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for DumpTypeInfo<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for ErrorResponse<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Execute2<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Execute<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for KeyValue<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for LogMessage<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Message<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for ParameterStatus<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Parse2<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Parse<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for ProtocolExtension<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for ReadyForCommand<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Restore<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for RestoreBlock<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for RestoreEof<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for RestoreReady<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for ServerHandshake<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for ServerKeyData<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for StateDataDescription<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Sync<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for Terminate<'_>
Implements a trait indicating that the struct has a field count.