pub enum ParameterDirection {
In,
Out,
InOut,
}Expand description
The direction of a stored procedure parameter.
PHP: Utopia\Query\Schema\ParameterDirection.
Variants§
Implementations§
Source§impl ParameterDirection
impl ParameterDirection
Sourcepub const CASES: &'static [ParameterDirection]
pub const CASES: &'static [ParameterDirection]
Every case, in declaration order.
PHP: cases().
Sourcepub const PHP_CLASS: &'static str = "Utopia\\Query\\Schema\\ParameterDirection"
pub const PHP_CLASS: &'static str = "Utopia\\Query\\Schema\\ParameterDirection"
The PHP class of this enumeration.
Sourcepub fn try_from_value(value: &str) -> Option<Self>
pub fn try_from_value(value: &str) -> Option<Self>
The case with backing value value, if any.
PHP: tryFrom().
Sourcepub fn from_value(value: &str) -> Result<Self, Error>
pub fn from_value(value: &str) -> Result<Self, Error>
The case with backing value value.
PHP: from(), which throws ValueError (Error::InvalidValue) with the same message.
Trait Implementations§
Source§impl Clone for ParameterDirection
impl Clone for ParameterDirection
impl Copy for ParameterDirection
Source§impl Debug for ParameterDirection
impl Debug for ParameterDirection
Source§impl Display for ParameterDirection
impl Display for ParameterDirection
impl Eq for ParameterDirection
Source§impl Hash for ParameterDirection
impl Hash for ParameterDirection
Source§impl PartialEq for ParameterDirection
impl PartialEq for ParameterDirection
impl StructuralPartialEq for ParameterDirection
Auto Trait Implementations§
impl Forget for ParameterDirection
impl Freeze for ParameterDirection
impl Move for ParameterDirection
impl RefUnwindSafe for ParameterDirection
impl Send for ParameterDirection
impl Sync for ParameterDirection
impl Unpin for ParameterDirection
impl UnsafeUnpin for ParameterDirection
impl UnwindSafe for ParameterDirection
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.