Struct datafusion_expr::expr::Placeholder
source · pub struct Placeholder {
pub id: String,
pub data_type: Option<DataType>,
}
Expand description
Placeholder
Fields§
§id: String
The identifier of the parameter (e.g, $1 or $foo)
data_type: Option<DataType>
The type the parameter will be filled in with
Implementations§
Trait Implementations§
source§impl Clone for Placeholder
impl Clone for Placeholder
source§fn clone(&self) -> Placeholder
fn clone(&self) -> Placeholder
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 Debug for Placeholder
impl Debug for Placeholder
source§impl Hash for Placeholder
impl Hash for Placeholder
source§impl PartialEq<Placeholder> for Placeholder
impl PartialEq<Placeholder> for Placeholder
source§fn eq(&self, other: &Placeholder) -> bool
fn eq(&self, other: &Placeholder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Placeholder
impl StructuralEq for Placeholder
impl StructuralPartialEq for Placeholder
Auto Trait Implementations§
impl RefUnwindSafe for Placeholder
impl Send for Placeholder
impl Sync for Placeholder
impl Unpin for Placeholder
impl UnwindSafe for Placeholder
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.