pub struct NewPackage {Show 15 fields
pub id: Option<String>,
pub name: Option<String>,
pub abbreviation: Option<String>,
pub authors: Vec<String>,
pub description: Option<String>,
pub version: Option<Version>,
pub kind: Option<PackageKind>,
pub language: Option<String>,
pub license: Option<String>,
pub publisher: Option<String>,
pub homepage: Option<String>,
pub repository: Option<String>,
pub keywords: Vec<String>,
pub categories: Vec<String>,
pub about_books: Vec<String>,
}Expand description
What to put in a new package’s [package]; each one given wins over the file’s metadata
Fields§
§id: Option<String>§name: Option<String>§abbreviation: Option<String>§description: Option<String>§version: Option<Version>§kind: Option<PackageKind>§language: Option<String>§license: Option<String>§publisher: Option<String>§homepage: Option<String>§repository: Option<String>§keywords: Vec<String>§categories: Vec<String>§about_books: Vec<String>The books it’s mainly about, by USFM code or name (ROM, Romans)
Trait Implementations§
Source§impl Clone for NewPackage
impl Clone for NewPackage
Source§impl Debug for NewPackage
impl Debug for NewPackage
Auto Trait Implementations§
impl Freeze for NewPackage
impl RefUnwindSafe for NewPackage
impl Send for NewPackage
impl Sync for NewPackage
impl Unpin for NewPackage
impl UnsafeUnpin for NewPackage
impl UnwindSafe for NewPackage
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more