pub enum JoinType {
Inner,
Left,
Right,
Cross,
FullOuter,
Natural,
}Expand description
A kind of join, as its SQL keyword.
PHP: Utopia\Query\Builder\JoinType.
Variants§
Inner
JOIN.
Left
LEFT JOIN.
Right
RIGHT JOIN.
Cross
CROSS JOIN.
FullOuter
FULL OUTER JOIN.
Natural
NATURAL JOIN.
Implementations§
Source§impl JoinType
impl JoinType
Sourcepub const PHP_CLASS: &'static str = "Utopia\\Query\\Builder\\JoinType"
pub const PHP_CLASS: &'static str = "Utopia\\Query\\Builder\\JoinType"
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§
impl Copy for JoinType
impl Eq for JoinType
impl StructuralPartialEq for JoinType
Auto Trait Implementations§
impl Forget for JoinType
impl Freeze for JoinType
impl Move for JoinType
impl RefUnwindSafe for JoinType
impl Send for JoinType
impl Sync for JoinType
impl Unpin for JoinType
impl UnsafeUnpin for JoinType
impl UnwindSafe for JoinType
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.