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
sourceimpl Clone for ProgramCommand
impl Clone for ProgramCommand
sourcefn clone(&self) -> ProgramCommand
fn clone(&self) -> ProgramCommand
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProgramCommand
impl Debug for ProgramCommand
sourceimpl Default for ProgramCommand
impl Default for ProgramCommand
sourcefn default() -> ProgramCommand
fn default() -> ProgramCommand
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for ProgramCommand
impl FromByteSlice for ProgramCommand
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> ProgramCommand
fn from_le_bytes(bytes: &[u8]) -> ProgramCommand
Deserialize the implementing type from a byte slice.
sourceimpl Hash for ProgramCommand
impl Hash for ProgramCommand
sourceimpl PartialEq<ProgramCommand> for ProgramCommand
impl PartialEq<ProgramCommand> for ProgramCommand
sourcefn eq(&self, other: &ProgramCommand) -> bool
fn eq(&self, other: &ProgramCommand) -> bool
impl Copy for ProgramCommand
impl Eq for ProgramCommand
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more