pub struct BondsConfig {
pub default_target: Option<PathBuf>,
}Expand description
User-level configuration for Bonds. Stored at ~/.bonds/config.toml
Fields§
§default_target: Option<PathBuf>Where bonds are created when no target is specified. Defaults to None (falls back to current working directory).
Implementations§
Source§impl BondsConfig
impl BondsConfig
Trait Implementations§
Source§impl Debug for BondsConfig
impl Debug for BondsConfig
Source§impl Default for BondsConfig
impl Default for BondsConfig
Source§fn default() -> BondsConfig
fn default() -> BondsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BondsConfig
impl<'de> Deserialize<'de> for BondsConfig
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 BondsConfig
impl RefUnwindSafe for BondsConfig
impl Send for BondsConfig
impl Sync for BondsConfig
impl Unpin for BondsConfig
impl UnsafeUnpin for BondsConfig
impl UnwindSafe for BondsConfig
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