pub struct InlineOption {
pub prompt: Option<String>,
pub value: String,
}Expand description
Representation of a single option for a single template property.
Fields§
§prompt: Option<String>§value: StringImplementations§
Source§impl InlineOption
impl InlineOption
Trait Implementations§
Source§impl Debug for InlineOption
impl Debug for InlineOption
Source§impl<S> From<S> for InlineOptionwhere
S: ToString,
impl<S> From<S> for InlineOptionwhere
S: ToString,
Auto Trait Implementations§
impl Freeze for InlineOption
impl RefUnwindSafe for InlineOption
impl Send for InlineOption
impl Sync for InlineOption
impl Unpin for InlineOption
impl UnwindSafe for InlineOption
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