#[repr(C)]pub struct Parameter {
pub name: Str,
pub ty: Option<DataType>,
pub nullable: bool,
pub default: Option<Str>,
}
Expand description
Represents a parameter attached to an exported function or method.
Fields§
§name: Str
§ty: Option<DataType>
§nullable: bool
§default: Option<Str>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl !Send for Parameter
impl !Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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