Struct sql_migration_sim::ObjectNameAndType
source · pub struct ObjectNameAndType {
pub name: String,
pub object_type: SchemaObjectType,
}
Expand description
An object and its type
Fields§
§name: String
The name of the object
object_type: SchemaObjectType
The type of object this is
Trait Implementations§
source§impl Clone for ObjectNameAndType
impl Clone for ObjectNameAndType
source§fn clone(&self) -> ObjectNameAndType
fn clone(&self) -> ObjectNameAndType
Returns a copy 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 moresource§impl Debug for ObjectNameAndType
impl Debug for ObjectNameAndType
source§impl PartialEq for ObjectNameAndType
impl PartialEq for ObjectNameAndType
source§fn eq(&self, other: &ObjectNameAndType) -> bool
fn eq(&self, other: &ObjectNameAndType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ObjectNameAndType
impl StructuralPartialEq for ObjectNameAndType
Auto Trait Implementations§
impl Freeze for ObjectNameAndType
impl RefUnwindSafe for ObjectNameAndType
impl Send for ObjectNameAndType
impl Sync for ObjectNameAndType
impl Unpin for ObjectNameAndType
impl UnwindSafe for ObjectNameAndType
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