pub struct TapConfigField {
pub name: String,
pub doc: String,
pub ty: TapConfigType,
pub required: bool,
pub example: Option<String>,
pub default: Option<String>,
}Fields§
§name: String§doc: StringOne line of guidance, shown under the input.
ty: TapConfigTypeHow the web quotes the value into RON. Default Str.
required: bool§example: Option<String>Placeholder / example value (unquoted).
default: Option<String>The plugin’s default when omitted — display only.
Trait Implementations§
Source§impl Clone for TapConfigField
impl Clone for TapConfigField
Source§fn clone(&self) -> TapConfigField
fn clone(&self) -> TapConfigField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TapConfigField
impl Debug for TapConfigField
Source§impl<'de> Deserialize<'de> for TapConfigField
impl<'de> Deserialize<'de> for TapConfigField
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 TapConfigField
impl RefUnwindSafe for TapConfigField
impl Send for TapConfigField
impl Sync for TapConfigField
impl Unpin for TapConfigField
impl UnsafeUnpin for TapConfigField
impl UnwindSafe for TapConfigField
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