pub struct RustParam {
pub name: String,
pub ty: String,
pub default: Option<String>,
}Expand description
A Rust function parameter
Fields§
§name: String§ty: String§default: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RustParam
impl<'de> Deserialize<'de> for RustParam
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 RustParam
impl RefUnwindSafe for RustParam
impl Send for RustParam
impl Sync for RustParam
impl Unpin for RustParam
impl UnsafeUnpin for RustParam
impl UnwindSafe for RustParam
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