Struct zbus::MessageFields [−][src]
pub struct MessageFields<'m>(_);
Expand description
A collection of MessageField
instances.
Implementations
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more