pub struct ReadmeConfig {
pub template_dir: Option<PathBuf>,
pub snippets_dir: Option<PathBuf>,
pub config: Option<PathBuf>,
pub output_pattern: Option<String>,
pub discord_url: Option<String>,
pub banner_url: Option<String>,
pub languages: HashMap<String, Value>,
}Fields§
§template_dir: Option<PathBuf>§snippets_dir: Option<PathBuf>§config: Option<PathBuf>Deprecated: path to an external YAML config file. Prefer inline fields below.
output_pattern: Option<String>§discord_url: Option<String>Discord invite URL used in README templates.
Banner image URL used in README templates.
languages: HashMap<String, Value>Per-language README configuration, keyed by language code (e.g. “python”, “typescript”, “ruby”). Values are flexible JSON objects that map directly to minijinja template context variables.
Trait Implementations§
Source§impl Clone for ReadmeConfig
impl Clone for ReadmeConfig
Source§fn clone(&self) -> ReadmeConfig
fn clone(&self) -> ReadmeConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadmeConfig
impl Debug for ReadmeConfig
Source§impl<'de> Deserialize<'de> for ReadmeConfig
impl<'de> Deserialize<'de> for ReadmeConfig
Source§fn 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
Auto Trait Implementations§
impl Freeze for ReadmeConfig
impl RefUnwindSafe for ReadmeConfig
impl Send for ReadmeConfig
impl Sync for ReadmeConfig
impl Unpin for ReadmeConfig
impl UnsafeUnpin for ReadmeConfig
impl UnwindSafe for ReadmeConfig
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