pub struct EntityResult {
pub entity_class: String,
pub fields: Vec<FieldResult>,
pub discriminator_column: Option<String>,
}Expand description
Entity 结果(用于 ResultSetMapping)
Fields§
§entity_class: String§fields: Vec<FieldResult>§discriminator_column: Option<String>Implementations§
Source§impl EntityResult
impl EntityResult
Trait Implementations§
Source§impl Clone for EntityResult
impl Clone for EntityResult
Source§fn clone(&self) -> EntityResult
fn clone(&self) -> EntityResult
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 EntityResult
impl Debug for EntityResult
impl Eq for EntityResult
Source§impl PartialEq for EntityResult
impl PartialEq for EntityResult
impl StructuralPartialEq for EntityResult
Auto Trait Implementations§
impl Freeze for EntityResult
impl RefUnwindSafe for EntityResult
impl Send for EntityResult
impl Sync for EntityResult
impl Unpin for EntityResult
impl UnsafeUnpin for EntityResult
impl UnwindSafe for EntityResult
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