Struct tf_demo_parser::demo::message::generated::StringCmdMessage [−][src]
pub struct StringCmdMessage {
pub command: String,
}Fields
command: StringTrait Implementations
Read the type from stream
The number of bits that will be read or None if the number of bits will change depending on the bit stream Read more
Write the type to stream
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for StringCmdMessage
impl Send for StringCmdMessage
impl Sync for StringCmdMessage
impl Unpin for StringCmdMessage
impl UnwindSafe for StringCmdMessage
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn encode(
&Self,
&mut BitWriteStream<'_, LittleEndian>,
&ParserState
) -> Result<(), ParseError>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more