pub struct FunctionArgument { /* private fields */ }Expand description
Information about function argument schema.
Implementations§
Source§impl FunctionArgument
impl FunctionArgument
Sourcepub fn string() -> FunctionArgument
pub fn string() -> FunctionArgument
Creates function argument schema with string type.
Sourcepub fn bool() -> FunctionArgument
pub fn bool() -> FunctionArgument
Creates function argument schema with bool type.
Sourcepub fn uint() -> FunctionArgument
pub fn uint() -> FunctionArgument
Creates function argument schema with uint type.
Sourcepub fn int() -> FunctionArgument
pub fn int() -> FunctionArgument
Creates function argument schema with int type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FunctionArgument
impl RefUnwindSafe for FunctionArgument
impl Send for FunctionArgument
impl Sync for FunctionArgument
impl Unpin for FunctionArgument
impl UnwindSafe for FunctionArgument
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