pub struct LibraryInfo {
    pub description: String,
    pub project_url: String,
    pub repository: String,
    pub license_name: String,
    pub license_description: Vec<String>,
    pub license_path: PathBuf,
    pub developers: Vec<DeveloperInfo>,
    pub logo_png: &'static [u8],
}
Expand description

metadata related to the library

Fields§

§description: String

Description of the library

§project_url: String

URL of the project

§repository: String

GitHub organisation and repo name (e.g. stepfunc/oo_bindgen)

§license_name: String

License name

§license_description: Vec<String>

Short description of the license (to put on every generated file)

§license_path: PathBuf

Path to the license file from the root directory

§developers: Vec<DeveloperInfo>

List of developers

§logo_png: &'static [u8]

Logo of the company (in PNG)

Use include_bytes to import the data

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more