pub struct RoutineTypeSubstitutions {
pub simple_element: Option<ColumnType>,
pub simple_array: Option<ColumnType>,
pub simple_range: Option<ColumnType>,
pub simple_multirange: Option<ColumnType>,
pub compatible_element: Option<ColumnType>,
pub compatible_array: Option<ColumnType>,
pub compatible_range: Option<ColumnType>,
pub compatible_multirange: Option<ColumnType>,
}Expand description
Concrete substitutions shared by input, return, and output pseudo-types.
Fields§
§simple_element: Option<ColumnType>§simple_array: Option<ColumnType>§simple_range: Option<ColumnType>§simple_multirange: Option<ColumnType>§compatible_element: Option<ColumnType>§compatible_array: Option<ColumnType>§compatible_range: Option<ColumnType>§compatible_multirange: Option<ColumnType>Implementations§
Source§impl RoutineTypeSubstitutions
impl RoutineTypeSubstitutions
pub fn substitute( &self, polymorphic: RoutinePolymorphicType, ) -> Option<ColumnType>
Trait Implementations§
Source§impl Clone for RoutineTypeSubstitutions
impl Clone for RoutineTypeSubstitutions
Source§impl Debug for RoutineTypeSubstitutions
impl Debug for RoutineTypeSubstitutions
Source§impl Default for RoutineTypeSubstitutions
impl Default for RoutineTypeSubstitutions
impl Eq for RoutineTypeSubstitutions
Source§impl PartialEq for RoutineTypeSubstitutions
impl PartialEq for RoutineTypeSubstitutions
impl StructuralPartialEq for RoutineTypeSubstitutions
Auto Trait Implementations§
impl Freeze for RoutineTypeSubstitutions
impl RefUnwindSafe for RoutineTypeSubstitutions
impl Send for RoutineTypeSubstitutions
impl Sync for RoutineTypeSubstitutions
impl Unpin for RoutineTypeSubstitutions
impl UnsafeUnpin for RoutineTypeSubstitutions
impl UnwindSafe for RoutineTypeSubstitutions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more