pub struct MethodParam {
pub name: String,
pub documentation: Option<String>,
pub type: String,
pub optional: bool,
}Expand description
Describes a parameter of a method in an IoTScape service
Fields§
§name: String§documentation: Option<String>§type: String§optional: boolTrait Implementations§
Source§impl Clone for MethodParam
impl Clone for MethodParam
Source§fn clone(&self) -> MethodParam
fn clone(&self) -> MethodParam
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 MethodParam
impl Debug for MethodParam
Source§impl<'de> Deserialize<'de> for MethodParam
impl<'de> Deserialize<'de> for MethodParam
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 MethodParam
impl RefUnwindSafe for MethodParam
impl Send for MethodParam
impl Sync for MethodParam
impl Unpin for MethodParam
impl UnwindSafe for MethodParam
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