Struct dagger_sdk::FunctionWithArgOpts
source · pub struct FunctionWithArgOpts<'a> {
pub default_value: Option<Json>,
pub description: Option<&'a str>,
}Fields§
§default_value: Option<Json>A default value to use for this argument if not explicitly set by the caller, if any
description: Option<&'a str>A doc string for the argument, if any
Trait Implementations§
source§impl<'a> Debug for FunctionWithArgOpts<'a>
impl<'a> Debug for FunctionWithArgOpts<'a>
source§impl<'a> PartialEq for FunctionWithArgOpts<'a>
impl<'a> PartialEq for FunctionWithArgOpts<'a>
impl<'a> StructuralPartialEq for FunctionWithArgOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for FunctionWithArgOpts<'a>
impl<'a> RefUnwindSafe for FunctionWithArgOpts<'a>
impl<'a> Send for FunctionWithArgOpts<'a>
impl<'a> Sync for FunctionWithArgOpts<'a>
impl<'a> Unpin for FunctionWithArgOpts<'a>
impl<'a> UnwindSafe for FunctionWithArgOpts<'a>
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