Struct ext_php_rs::describe::Parameter
source · [−]#[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 RefUnwindSafe for Parameter
impl !Send for Parameter
impl !Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more