pub struct PythonParam {
pub name: String,
pub ty: Option<String>,
pub default: Option<String>,
}Expand description
A Python function parameter
Fields§
§name: String§ty: Option<String>§default: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for PythonParam
impl Clone for PythonParam
Source§fn clone(&self) -> PythonParam
fn clone(&self) -> PythonParam
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 PythonParam
impl Debug for PythonParam
Source§impl<'de> Deserialize<'de> for PythonParam
impl<'de> Deserialize<'de> for PythonParam
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 PythonParam
impl RefUnwindSafe for PythonParam
impl Send for PythonParam
impl Sync for PythonParam
impl Unpin for PythonParam
impl UnsafeUnpin for PythonParam
impl UnwindSafe for PythonParam
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