pub struct RelationshipStorage { /* private fields */ }Expand description
Relationship storage type
Implementations§
Source§impl RelationshipStorage
impl RelationshipStorage
Sourcepub fn add_relationship(&mut self, relationship: impl RelationshipTrait)
pub fn add_relationship(&mut self, relationship: impl RelationshipTrait)
Add a relationship to this storage
Sourcepub fn add_relationship_lazy(&mut self, relationship: impl RelationshipTrait)
pub fn add_relationship_lazy(&mut self, relationship: impl RelationshipTrait)
Add a lazy relationship to this storage
Sourcepub fn build_query_drain(&mut self, request_context: &mut RequestContext)
pub fn build_query_drain(&mut self, request_context: &mut RequestContext)
Build relationship query parameters draining this storage
Trait Implementations§
Source§impl Default for RelationshipStorage
impl Default for RelationshipStorage
Source§fn default() -> RelationshipStorage
fn default() -> RelationshipStorage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RelationshipStorage
impl RefUnwindSafe for RelationshipStorage
impl Send for RelationshipStorage
impl Sync for RelationshipStorage
impl Unpin for RelationshipStorage
impl UnwindSafe for RelationshipStorage
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