pub struct LibraryRelease {Show 13 fields
pub author: String,
pub version: String,
pub maintainer: String,
pub sentence: String,
pub paragraph: String,
pub website: String,
pub category: String,
pub architectures: Vec<String>,
pub types: Vec<String>,
pub resources: Option<DownloadResource>,
pub license: String,
pub provides_includes: Vec<String>,
pub dependencies: Vec<LibraryDependency>,
}
Fields§
Value of the author
field in library.properties.
version: String
Value of the version
field in library.properties.
maintainer: String
Value of the maintainer
field in library.properties.
sentence: String
Value of the sentence
field in library.properties.
paragraph: String
Value of the paragraph
field in library.properties.
website: String
Value of the url
field in library.properties.
category: String
Value 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, as defined in the libraries index.
Possible values: Arduino
, Partner
, Recommended
, Contributed
,
Retired
.
resources: Option<DownloadResource>
Information about the library archive file.
license: String
Value of the license
field in library.properties.
provides_includes: Vec<String>
Value of the includes
field in library.properties.
dependencies: Vec<LibraryDependency>
The names of the library’s dependencies, as defined by the ‘depends’ field of library.properties.
Trait Implementations§
Source§impl Clone for LibraryRelease
impl Clone for LibraryRelease
Source§fn clone(&self) -> LibraryRelease
fn clone(&self) -> LibraryRelease
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for LibraryRelease
impl Debug for LibraryRelease
Source§impl Default for LibraryRelease
impl Default for LibraryRelease
Source§fn default() -> LibraryRelease
fn default() -> LibraryRelease
Source§impl Message for LibraryRelease
impl Message for LibraryRelease
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 LibraryRelease
impl PartialEq for LibraryRelease
impl StructuralPartialEq for LibraryRelease
Auto Trait Implementations§
impl Freeze for LibraryRelease
impl RefUnwindSafe for LibraryRelease
impl Send for LibraryRelease
impl Sync for LibraryRelease
impl Unpin for LibraryRelease
impl UnwindSafe for LibraryRelease
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