pub struct CommandElementChild {
pub element_type: CommandElementType,
pub text: String,
}Expand description
A child node of a command element
Fields§
§element_type: CommandElementType§text: StringTrait Implementations§
Source§impl Clone for CommandElementChild
impl Clone for CommandElementChild
Source§fn clone(&self) -> CommandElementChild
fn clone(&self) -> CommandElementChild
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandElementChild
impl Debug for CommandElementChild
Source§impl<'de> Deserialize<'de> for CommandElementChild
impl<'de> Deserialize<'de> for CommandElementChild
Source§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
Source§impl PartialEq for CommandElementChild
impl PartialEq for CommandElementChild
Source§impl Serialize for CommandElementChild
impl Serialize for CommandElementChild
impl StructuralPartialEq for CommandElementChild
Auto Trait Implementations§
impl Freeze for CommandElementChild
impl RefUnwindSafe for CommandElementChild
impl Send for CommandElementChild
impl Sync for CommandElementChild
impl Unpin for CommandElementChild
impl UnsafeUnpin for CommandElementChild
impl UnwindSafe for CommandElementChild
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