pub struct CommandOneOf2 {
pub exercise_by_key_command: Box<ExerciseByKeyCommand>,
}
Fields§
§exercise_by_key_command: Box<ExerciseByKeyCommand>
Implementations§
Source§impl CommandOneOf2
impl CommandOneOf2
pub fn new(exercise_by_key_command: ExerciseByKeyCommand) -> CommandOneOf2
Trait Implementations§
Source§impl Clone for CommandOneOf2
impl Clone for CommandOneOf2
Source§fn clone(&self) -> CommandOneOf2
fn clone(&self) -> CommandOneOf2
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 CommandOneOf2
impl Debug for CommandOneOf2
Source§impl Default for CommandOneOf2
impl Default for CommandOneOf2
Source§fn default() -> CommandOneOf2
fn default() -> CommandOneOf2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommandOneOf2
impl<'de> Deserialize<'de> for CommandOneOf2
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 CommandOneOf2
impl PartialEq for CommandOneOf2
Source§impl Serialize for CommandOneOf2
impl Serialize for CommandOneOf2
impl StructuralPartialEq for CommandOneOf2
Auto Trait Implementations§
impl Freeze for CommandOneOf2
impl RefUnwindSafe for CommandOneOf2
impl Send for CommandOneOf2
impl Sync for CommandOneOf2
impl Unpin for CommandOneOf2
impl UnwindSafe for CommandOneOf2
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