pub struct QueryOperation { /* private fields */ }Implementations§
Source§impl QueryOperation
impl QueryOperation
Sourcepub fn new(kind: QueryOperationKind, method: impl Into<String>) -> Self
pub fn new(kind: QueryOperationKind, method: impl Into<String>) -> Self
Exact generator-supplied native identifier, never reconstructed from SQL.
pub fn framework(kind: QueryOperationKind) -> Self
pub fn with_alias(self, alias: impl Into<String>) -> Self
pub fn with_relation(self, relation: impl Into<String>) -> Self
pub fn alias(&self) -> Option<&str>
pub fn relation(&self) -> Option<&str>
pub fn kind(&self) -> QueryOperationKind
pub fn method(&self) -> Option<&str>
pub fn comment(&self) -> String
Trait Implementations§
Source§impl Clone for QueryOperation
impl Clone for QueryOperation
Source§impl Debug for QueryOperation
impl Debug for QueryOperation
impl Eq for QueryOperation
Source§impl PartialEq for QueryOperation
impl PartialEq for QueryOperation
impl StructuralPartialEq for QueryOperation
Auto Trait Implementations§
impl Freeze for QueryOperation
impl RefUnwindSafe for QueryOperation
impl Send for QueryOperation
impl Sync for QueryOperation
impl Unpin for QueryOperation
impl UnsafeUnpin for QueryOperation
impl UnwindSafe for QueryOperation
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