pub struct BankConfig {
pub root_dir: PathBuf,
pub strategy: BankStrategy,
pub ignore_dirs: Vec<String>,
}
Expand description
Configuration for generating code bank documentation.
Fields§
§root_dir: PathBuf
Root directory to generate code bank for.
strategy: BankStrategy
Strategy for generating code bank documentation.
ignore_dirs: Vec<String>
Directories to ignore.
Implementations§
Source§impl BankConfig
impl BankConfig
Trait Implementations§
Source§impl Clone for BankConfig
impl Clone for BankConfig
Source§fn clone(&self) -> BankConfig
fn clone(&self) -> BankConfig
Returns a copy 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 BankConfig
impl Debug for BankConfig
Source§impl Default for BankConfig
impl Default for BankConfig
Source§fn default() -> BankConfig
fn default() -> BankConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BankConfig
impl<'de> Deserialize<'de> for BankConfig
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
Source§impl PartialEq for BankConfig
impl PartialEq for BankConfig
Source§impl Serialize for BankConfig
impl Serialize for BankConfig
impl Eq for BankConfig
impl StructuralPartialEq for BankConfig
Auto Trait Implementations§
impl Freeze for BankConfig
impl RefUnwindSafe for BankConfig
impl Send for BankConfig
impl Sync for BankConfig
impl Unpin for BankConfig
impl UnwindSafe for BankConfig
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