pub struct CommandNode {
pub flags: CommandNodeFlags,
pub children: Vec<i32>,
pub redirect_node: Option<i32>,
pub extra_node_data: CommandNodeExtraNodeData,
}Expand description
Named type command_node.
Fields§
§flags: CommandNodeFlagsflags
children: Vec<i32>children
redirect_node: Option<i32>redirectNode
extra_node_data: CommandNodeExtraNodeDataextraNodeData
Trait Implementations§
Source§impl Clone for CommandNode
impl Clone for CommandNode
Source§impl Debug for CommandNode
impl Debug for CommandNode
Source§impl Decode for CommandNode
Available on crate feature v26_1 only.
impl Decode for CommandNode
Available on crate feature
v26_1 only.Source§fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
Decodes one value, advancing the reader past it.
Source§impl Encode for CommandNode
Available on crate feature v26_1 only.
impl Encode for CommandNode
Available on crate feature
v26_1 only.Source§fn encode(&self, w: &mut BytesMut) -> EncodeResult
fn encode(&self, w: &mut BytesMut) -> EncodeResult
Appends the encoding of
self to w.Source§impl Generate for CommandNode
Available on crate features testgen and v26_1 only.
impl Generate for CommandNode
Available on crate features
testgen and v26_1 only.Source§impl PartialEq for CommandNode
impl PartialEq for CommandNode
impl StructuralPartialEq for CommandNode
Auto Trait Implementations§
impl !Freeze for CommandNode
impl Forget for CommandNode
impl Move for CommandNode
impl RefUnwindSafe for CommandNode
impl Send for CommandNode
impl Sync for CommandNode
impl Unpin for CommandNode
impl UnsafeUnpin for CommandNode
impl UnwindSafe for CommandNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more