pub struct RelationLoad {
pub name: String,
pub query: Option<Box<SelectQuery>>,
}Fields§
§name: String§query: Option<Box<SelectQuery>>Implementations§
Source§impl RelationLoad
impl RelationLoad
pub fn new(name: impl Into<String>) -> Self
pub fn with_query(name: impl Into<String>, query: SelectQuery) -> Self
Trait Implementations§
Source§impl Clone for RelationLoad
impl Clone for RelationLoad
Source§fn clone(&self) -> RelationLoad
fn clone(&self) -> RelationLoad
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 RelationLoad
impl Debug for RelationLoad
Source§impl PartialEq for RelationLoad
impl PartialEq for RelationLoad
Source§fn eq(&self, other: &RelationLoad) -> bool
fn eq(&self, other: &RelationLoad) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RelationLoad
Auto Trait Implementations§
impl Freeze for RelationLoad
impl RefUnwindSafe for RelationLoad
impl Send for RelationLoad
impl Sync for RelationLoad
impl Unpin for RelationLoad
impl UnsafeUnpin for RelationLoad
impl UnwindSafe for RelationLoad
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