pub struct SpecWithValue {
pub description: Option<String>,
pub required: Option<bool>,
pub type: Option<EnumTaskIoType>,
pub value: Option<Box<Value>>,
pub value_from: Option<Box<ValueFrom>>,
}Fields§
§description: Option<String>§required: Option<bool>§type: Option<EnumTaskIoType>§value: Option<Box<Value>>§value_from: Option<Box<ValueFrom>>Implementations§
Source§impl SpecWithValue
impl SpecWithValue
pub fn new() -> SpecWithValue
Trait Implementations§
Source§impl Clone for SpecWithValue
impl Clone for SpecWithValue
Source§fn clone(&self) -> SpecWithValue
fn clone(&self) -> SpecWithValue
Returns a duplicate of the value. Read more
1.0.0 · 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 SpecWithValue
impl Debug for SpecWithValue
Source§impl Default for SpecWithValue
impl Default for SpecWithValue
Source§fn default() -> SpecWithValue
fn default() -> SpecWithValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpecWithValue
impl<'de> Deserialize<'de> for SpecWithValue
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
Source§impl PartialEq for SpecWithValue
impl PartialEq for SpecWithValue
Source§impl Serialize for SpecWithValue
impl Serialize for SpecWithValue
impl StructuralPartialEq for SpecWithValue
Auto Trait Implementations§
impl Freeze for SpecWithValue
impl RefUnwindSafe for SpecWithValue
impl Send for SpecWithValue
impl Sync for SpecWithValue
impl Unpin for SpecWithValue
impl UnwindSafe for SpecWithValue
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