pub struct CompileReq {Show 18 fields
pub instance: Option<Instance>,
pub fqbn: String,
pub sketch_path: String,
pub show_properties: bool,
pub preprocess: bool,
pub build_cache_path: String,
pub build_path: String,
pub build_properties: Vec<String>,
pub warnings: String,
pub verbose: bool,
pub quiet: bool,
pub vid_pid: String,
pub jobs: i32,
pub libraries: Vec<String>,
pub optimize_for_debug: bool,
pub export_dir: String,
pub clean: bool,
pub export_binaries: bool,
}Fields§
§instance: Option<Instance>Arduino Core Service instance from the Init response.
fqbn: StringFully Qualified Board Name, 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: StringThe path where the sketch is stored.
show_properties: boolShow all build preferences used instead of compiling.
preprocess: boolPrint preprocessed code to stdout instead of compiling.
build_cache_path: StringBuilds of ‘core.a’ are saved into this path to be cached and reused.
build_path: StringPath to use to store the files used for the compilation. If omitted, a directory will be created in the operating system’s default temporary path.
build_properties: Vec<String>List of custom build properties separated by commas.
warnings: StringUsed to tell gcc which warning level to use. The level names are: “none”, “default”, “more” and “all”.
verbose: boolTurns on verbose mode.
quiet: boolSuppresses almost every output.
vid_pid: StringVID/PID specific build properties.
jobs: i32The max number of concurrent compiler instances to run (as make -jx). If jobs is set to 0, it will use the number of available CPUs as the maximum.
libraries: Vec<String>List of custom libraries paths separated by commas.
optimize_for_debug: boolOptimize compile output for debug, not for release.
export_dir: StringOptional: save the build artifacts in this directory, the directory must exist.
clean: boolOptional: cleanup the build folder and do not use any previously cached build
export_binaries: boolWhen set to true the compiled binary will be copied to the export directory.
Trait Implementations§
Source§impl Clone for CompileReq
impl Clone for CompileReq
Source§fn clone(&self) -> CompileReq
fn clone(&self) -> CompileReq
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CompileReq
impl Debug for CompileReq
Source§impl Default for CompileReq
impl Default for CompileReq
Source§fn default() -> CompileReq
fn default() -> CompileReq
Source§impl Message for CompileReq
impl Message for CompileReq
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self.Source§impl PartialEq for CompileReq
impl PartialEq for CompileReq
impl StructuralPartialEq for CompileReq
Auto Trait Implementations§
impl Freeze for CompileReq
impl RefUnwindSafe for CompileReq
impl Send for CompileReq
impl Sync for CompileReq
impl Unpin for CompileReq
impl UnwindSafe for CompileReq
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request