Struct tinkerforge::red_brick::ProgramCommand
source · pub struct ProgramCommand {
pub error_code: u8,
pub executable_string_id: u16,
pub arguments_list_id: u16,
pub environment_list_id: u16,
pub working_directory_string_id: u16,
}
Fields§
§error_code: u8
§executable_string_id: u16
§arguments_list_id: u16
§environment_list_id: u16
§working_directory_string_id: u16
Trait Implementations§
source§impl Clone for ProgramCommand
impl Clone for ProgramCommand
source§fn clone(&self) -> ProgramCommand
fn clone(&self) -> ProgramCommand
Returns a copy 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 ProgramCommand
impl Debug for ProgramCommand
source§impl Default for ProgramCommand
impl Default for ProgramCommand
source§fn default() -> ProgramCommand
fn default() -> ProgramCommand
Returns the “default value” for a type. Read more
source§impl FromByteSlice for ProgramCommand
impl FromByteSlice for ProgramCommand
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> ProgramCommand
fn from_le_byte_slice(bytes: &[u8]) -> ProgramCommand
Deserialize the implementing type from a byte slice.
source§impl Hash for ProgramCommand
impl Hash for ProgramCommand
source§impl PartialEq for ProgramCommand
impl PartialEq for ProgramCommand
source§fn eq(&self, other: &ProgramCommand) -> bool
fn eq(&self, other: &ProgramCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProgramCommand
impl Eq for ProgramCommand
impl StructuralPartialEq for ProgramCommand
Auto Trait Implementations§
impl RefUnwindSafe for ProgramCommand
impl Send for ProgramCommand
impl Sync for ProgramCommand
impl Unpin for ProgramCommand
impl UnwindSafe for ProgramCommand
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