pub struct TypeOperator {
pub op: String,
pub func_name: Option<String>,
}Expand description
Operator mapping in a CREATE TYPE body
Fields§
§op: Stringoperator symbol: “+”, “-”, “*”, “/”, “<”, “=”, etc.
func_name: Option<String>function name to call, or None for naked operators (use base type comparison)
Trait Implementations§
Source§impl Clone for TypeOperator
impl Clone for TypeOperator
Source§fn clone(&self) -> TypeOperator
fn clone(&self) -> TypeOperator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TypeOperator
impl Debug for TypeOperator
impl Eq for TypeOperator
Source§impl PartialEq for TypeOperator
impl PartialEq for TypeOperator
impl StructuralPartialEq for TypeOperator
Auto Trait Implementations§
impl Freeze for TypeOperator
impl RefUnwindSafe for TypeOperator
impl Send for TypeOperator
impl Sync for TypeOperator
impl Unpin for TypeOperator
impl UnsafeUnpin for TypeOperator
impl UnwindSafe for TypeOperator
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