pub struct ModuleExample {
pub title: String,
pub description: Option<String>,
pub inputs: Value,
pub output: Value,
}Expand description
An example input/output pair for documentation.
Fields§
§title: String§description: Option<String>§inputs: Value§output: ValueTrait Implementations§
Source§impl Clone for ModuleExample
impl Clone for ModuleExample
Source§fn clone(&self) -> ModuleExample
fn clone(&self) -> ModuleExample
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 ModuleExample
impl Debug for ModuleExample
Source§impl<'de> Deserialize<'de> for ModuleExample
impl<'de> Deserialize<'de> for ModuleExample
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ModuleExample, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ModuleExample, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ModuleExample
impl Serialize for ModuleExample
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ModuleExample
impl RefUnwindSafe for ModuleExample
impl Send for ModuleExample
impl Sync for ModuleExample
impl Unpin for ModuleExample
impl UnsafeUnpin for ModuleExample
impl UnwindSafe for ModuleExample
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