pub struct FieldRelation {
pub field_mask: PathFieldSet,
}Expand description
Maps a relation field (BelongsTo, HasMany, HasOne).
Relations don’t map to columns in this table — they are resolved through joins or foreign keys in other tables. A unique bit is assigned in the model’s field mask space so that relation assignments are detected uniformly through the same mask intersection logic used for primitive and embedded fields.
Fields§
§field_mask: PathFieldSetUpdate coverage mask for this relation field.
Trait Implementations§
Source§impl Clone for FieldRelation
impl Clone for FieldRelation
Source§fn clone(&self) -> FieldRelation
fn clone(&self) -> FieldRelation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FieldRelation
impl RefUnwindSafe for FieldRelation
impl Send for FieldRelation
impl Sync for FieldRelation
impl Unpin for FieldRelation
impl UnwindSafe for FieldRelation
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