Struct move_readme_generator::ReadmeConfig
source · [−]pub struct ReadmeConfig {
pub title: Option<String>,
pub address: Option<String>,
pub main: Option<String>,
}
Fields
title: Option<String>
Title of the generated README. Defaults to the name of the package.
address: Option<String>
Name of the main module’s address. Defaults to the name of the package.
main: Option<String>
Name of the main module. Defaults to the name of the package.
Trait Implementations
sourceimpl Default for ReadmeConfig
impl Default for ReadmeConfig
sourcefn default() -> ReadmeConfig
fn default() -> ReadmeConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ReadmeConfig
impl<'de> Deserialize<'de> for ReadmeConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ReadmeConfig
impl Serialize for ReadmeConfig
Auto Trait Implementations
impl RefUnwindSafe for ReadmeConfig
impl Send for ReadmeConfig
impl Sync for ReadmeConfig
impl Unpin for ReadmeConfig
impl UnwindSafe for ReadmeConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more