StructAttributeHasLengthField

Trait StructAttributeHasLengthField 

Source
pub trait StructAttributeHasLengthField<const HAS_LENGTH_FIELD: bool>: StructMeta { }
Expand description

A trait implemented for all structs with a boolean determining whether they have a length field.

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§

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for AuthenticationCleartextPassword<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for AuthenticationGSS<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for AuthenticationGSSContinue<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for AuthenticationKerberosV5<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for AuthenticationMD5Password<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for AuthenticationMessage<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for AuthenticationOk<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for AuthenticationSASL<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for AuthenticationSASLContinue<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for AuthenticationSASLFinal<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for AuthenticationSCMCredential<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for AuthenticationSSPI<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for BackendKeyData<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for Bind<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for BindComplete<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for CancelRequest<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for Close<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for CloseComplete<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for CommandComplete<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for CopyBothResponse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for CopyData<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for CopyDone<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for CopyFail<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for CopyInResponse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for CopyOutResponse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for DataRow<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for Describe<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for EmptyQueryResponse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for ErrorField<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for ErrorResponse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for Execute<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for Flush<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for FunctionCall<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for FunctionCallResponse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for GSSENCRequest<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for GSSResponse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for InitialMessage<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for Message<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for NegotiateProtocolVersion<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for NoData<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for NoticeField<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for NoticeResponse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for NotificationResponse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for ParameterDescription<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for ParameterStatus<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for Parse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for ParseComplete<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for PasswordMessage<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for PortalSuspended<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for Query<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for ReadyForQuery<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for RowDescription<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for RowField<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for SASLInitialResponse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for SASLResponse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for SSLRequest<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for SSLResponse<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for StartupMessage<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for StartupNameValue<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for Sync<'_>

Implements a trait indicating that the struct has a length field.

Source§

impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for Terminate<'_>

Implements a trait indicating that the struct has a length field.