pub struct NestedAssociation {
pub property: String,
pub result_map: String,
pub column_prefix: Option<String>,
pub not_null_column: Option<String>,
}Expand description
一对一嵌套映射(association)
Fields§
§property: String目标属性名
result_map: String引用的 ResultMap id
column_prefix: Option<String>列前缀(用于 JOIN 场景隔离不同实体列)
not_null_column: Option<String>notNullColumn:仅当该列非 NULL 时才填充(避免 LEFT JOIN NULL 行被填充)
Implementations§
Trait Implementations§
Source§impl Clone for NestedAssociation
impl Clone for NestedAssociation
Source§fn clone(&self) -> NestedAssociation
fn clone(&self) -> NestedAssociation
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 NestedAssociation
impl Debug for NestedAssociation
impl Eq for NestedAssociation
Source§impl PartialEq for NestedAssociation
impl PartialEq for NestedAssociation
impl StructuralPartialEq for NestedAssociation
Auto Trait Implementations§
impl Freeze for NestedAssociation
impl RefUnwindSafe for NestedAssociation
impl Send for NestedAssociation
impl Sync for NestedAssociation
impl Unpin for NestedAssociation
impl UnsafeUnpin for NestedAssociation
impl UnwindSafe for NestedAssociation
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