[−][src]Struct arduino_cli_client::commands::Library
Fields
name: StringThe library's directory name.
Value of the author field in library.properties.
maintainer: StringValue of the maintainer field in library.properties.
sentence: StringValue of the sentence field in library.properties.
paragraph: StringValue of the paragraph field in library.properties.
website: StringValue of the url field in library.properties.
category: StringValue of the category field in library.properties.
architectures: Vec<String>Value of the architectures field in library.properties.
types: Vec<String>The type categories of the library. Possible values: Arduino,
Partner, Recommended, Contributed, Retired.
install_dir: StringThe path of the library directory.
source_dir: StringThe location of the library's source files.
utility_dir: StringThe location of the library's utility directory.
container_platform: StringIf location is platform_builtin or referenced_platform_builtin, the
identifying string for the platform containing the library
(e.g., arduino:avr@1.8.2).
real_name: StringValue of the name field in library.properties.
dot_a_linkage: boolValue of the dot_a_linkage field in library.properties.
precompiled: boolValue of the precompiled field in library.properties.
ld_flags: StringValue of the ldflags field in library.properties.
is_legacy: boolA library.properties file is not present in the library's root directory.
version: StringValue of the version field in library.properties.
license: StringValue of the license field in library.properties.
properties: HashMap<String, String>The data from the library's library.properties file, including unused fields.
location: i32The location type of the library installation.
layout: i32The library format type.
examples: Vec<String>The example sketches provided by the library
provides_includes: Vec<String>Value of the includes field in library.properties or, if missing, the list of
include files available on the library source root directory.
compatible_with: HashMap<String, bool>Map of FQBNs that specifies if library is compatible with this library
Implementations
impl Library[src]
pub fn location(&self) -> LibraryLocation[src]
Returns the enum value of location, or the default if the field is set to an invalid enum value.
pub fn set_location(&mut self, value: LibraryLocation)[src]
Sets location to the provided enum value.
pub fn layout(&self) -> LibraryLayout[src]
Returns the enum value of layout, or the default if the field is set to an invalid enum value.
pub fn set_layout(&mut self, value: LibraryLayout)[src]
Sets layout to the provided enum value.
Trait Implementations
impl Clone for Library[src]
impl Debug for Library[src]
impl Default for Library[src]
impl Message for Library[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut, [src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf, [src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize[src]
fn clear(&mut self)[src]
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut, [src]
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut, [src]
B: BufMut,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default, [src]
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default, [src]
B: Buf,
Self: Default,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf, [src]
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf, [src]
B: Buf,
impl PartialEq<Library> for Library[src]
impl StructuralPartialEq for Library[src]
Auto Trait Implementations
impl RefUnwindSafe for Library
impl Send for Library
impl Sync for Library
impl Unpin for Library
impl UnwindSafe for Library
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> IntoRequest<T> for T[src]
pub fn into_request(self) -> Request<T>[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,