pub struct NestedCollection {
pub property: String,
pub result_map: String,
pub column_prefix: Option<String>,
pub not_null_column: Option<String>,
}Expand description
一对多嵌套映射(collection)
Fields§
§property: String目标属性名
result_map: String引用的 ResultMap id
column_prefix: Option<String>列前缀
not_null_column: Option<String>notNullColumn
Implementations§
Trait Implementations§
Source§impl Clone for NestedCollection
impl Clone for NestedCollection
Source§fn clone(&self) -> NestedCollection
fn clone(&self) -> NestedCollection
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 NestedCollection
impl Debug for NestedCollection
impl Eq for NestedCollection
Source§impl PartialEq for NestedCollection
impl PartialEq for NestedCollection
impl StructuralPartialEq for NestedCollection
Auto Trait Implementations§
impl Freeze for NestedCollection
impl RefUnwindSafe for NestedCollection
impl Send for NestedCollection
impl Sync for NestedCollection
impl Unpin for NestedCollection
impl UnsafeUnpin for NestedCollection
impl UnwindSafe for NestedCollection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more