pub struct FunctionQueryParameter<'a> {
pub name: Option<Cow<'a, str>>,
pub type_query: Option<TypeQuery<'a>>,
pub meta: Option<FunctionMetaQuery>,
}
Fields§
§name: Option<Cow<'a, str>>
§type_query: Option<TypeQuery<'a>>
§meta: Option<FunctionMetaQuery>
Implementations§
Source§impl<'a> FunctionQueryParameter<'a>
impl<'a> FunctionQueryParameter<'a>
pub fn is_valid(&self, parameter: &FunctionParameter) -> bool
pub fn to_static(&self) -> FunctionQueryParameter<'static>
Trait Implementations§
Source§impl<'a> Clone for FunctionQueryParameter<'a>
impl<'a> Clone for FunctionQueryParameter<'a>
Source§fn clone(&self) -> FunctionQueryParameter<'a>
fn clone(&self) -> FunctionQueryParameter<'a>
Returns a copy 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<'a> Debug for FunctionQueryParameter<'a>
impl<'a> Debug for FunctionQueryParameter<'a>
Source§impl<'a> Default for FunctionQueryParameter<'a>
impl<'a> Default for FunctionQueryParameter<'a>
Source§fn default() -> FunctionQueryParameter<'a>
fn default() -> FunctionQueryParameter<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Hash for FunctionQueryParameter<'a>
impl<'a> Hash for FunctionQueryParameter<'a>
Source§impl<'a> PartialEq for FunctionQueryParameter<'a>
impl<'a> PartialEq for FunctionQueryParameter<'a>
impl<'a> StructuralPartialEq for FunctionQueryParameter<'a>
Auto Trait Implementations§
impl<'a> Freeze for FunctionQueryParameter<'a>
impl<'a> RefUnwindSafe for FunctionQueryParameter<'a>
impl<'a> Send for FunctionQueryParameter<'a>
impl<'a> Sync for FunctionQueryParameter<'a>
impl<'a> Unpin for FunctionQueryParameter<'a>
impl<'a> UnwindSafe for FunctionQueryParameter<'a>
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