Struct zbus::MessageFields[][src]

pub struct MessageFields<'m>(_);
Expand description

A collection of MessageField instances.

Implementations

Creates an empty collection of fields.

Appends a MessageField to the collection of fields in the message.

Returns a slice with all the MessageField in the message.

Gets a reference to a specific MessageField by its code.

Returns None if the message has no such field.

Consumes the MessageFields and returns a specific MessageField by its code.

Returns None if the message has no such field.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The resulting type after dereferencing.

Dereferences the value.

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Get the signature for the implementing type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

A DeserializeSeed implementation for this type.

Get a deserializer compatible with this signature.

Get the signature for the implementing type. Read more

Performs the conversion.

Performs the conversion.

The none-equivalent value.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.