pub struct WantedSetting {
pub key: String,
pub label: String,
pub secret: bool,
}Expand description
A setting a tool asks for (make_tool’s settings): an environment variable name, and
whether its value is secret (an API key) — then it lives in secrets.json.
Fields§
§key: String§label: String§secret: boolImplementations§
Trait Implementations§
Source§impl Clone for WantedSetting
impl Clone for WantedSetting
Source§impl Debug for WantedSetting
impl Debug for WantedSetting
impl Eq for WantedSetting
Source§impl PartialEq for WantedSetting
impl PartialEq for WantedSetting
impl StructuralPartialEq for WantedSetting
Auto Trait Implementations§
impl Forget for WantedSetting
impl Freeze for WantedSetting
impl RefUnwindSafe for WantedSetting
impl Send for WantedSetting
impl Sync for WantedSetting
impl Unpin for WantedSetting
impl UnsafeUnpin for WantedSetting
impl UnwindSafe for WantedSetting
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