[][src]Struct arduino_cli_client::commands::UploadReq

pub struct UploadReq {
    pub instance: Option<Instance>,
    pub fqbn: String,
    pub sketch_path: String,
    pub port: String,
    pub verbose: bool,
    pub verify: bool,
    pub import_file: String,
    pub import_dir: String,
    pub programmer: String,
}

Fields

instance: Option<Instance>

Arduino Core Service instance from the Init response.

fqbn: String

Fully qualified board name of the target board (e.g., arduino:avr:uno). If this field is not defined, the FQBN of the board attached to the sketch via the BoardAttach method is used.

sketch_path: String

Path where the sketch to be uploaded is stored. Unless the import_file field is defined, the compiled binary is assumed to be at the location and filename under this path where it is saved by the Compile method.

port: String

The port of the board.

verbose: bool

Whether to turn on verbose output during the upload.

verify: bool

After upload, verify that the contents of the memory on the board match the uploaded binary.

import_file: String

When import_file is specified, it overrides the import_dir and sketch_path params.

import_dir: String

Custom path to a directory containing compiled files. When import_dir is not specified, the standard build directory under sketch_path is used.

programmer: String

The programmer to use for upload. If set an UploadUsingProgrammer is triggered instead of a normal upload. The UploadUsingProgrammer call may also be used for explicit error check.

Trait Implementations

impl Clone for UploadReq[src]

impl Debug for UploadReq[src]

impl Default for UploadReq[src]

impl Message for UploadReq[src]

impl PartialEq<UploadReq> for UploadReq[src]

impl StructuralPartialEq for UploadReq[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]