Struct database_reflection::reflection::RustDatatype
source · pub struct RustDatatype(pub String, pub Option<u32>);
Expand description
Basic Rust type as string
Tuple Fields§
§0: String
§1: Option<u32>
Trait Implementations§
source§impl Clone for RustDatatype
impl Clone for RustDatatype
source§fn clone(&self) -> RustDatatype
fn clone(&self) -> RustDatatype
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 RustDatatype
impl Debug for RustDatatype
source§impl Default for RustDatatype
impl Default for RustDatatype
source§impl<'de> Deserialize<'de> for RustDatatype
impl<'de> Deserialize<'de> for RustDatatype
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&SqlDatatype> for RustDatatype
impl From<&SqlDatatype> for RustDatatype
source§fn from(value: &SqlDatatype) -> Self
fn from(value: &SqlDatatype) -> Self
Converts to this type from the input type.
source§impl PartialEq for RustDatatype
impl PartialEq for RustDatatype
source§fn eq(&self, other: &RustDatatype) -> bool
fn eq(&self, other: &RustDatatype) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RustDatatype
impl Serialize for RustDatatype
impl StructuralPartialEq for RustDatatype
Auto Trait Implementations§
impl RefUnwindSafe for RustDatatype
impl Send for RustDatatype
impl Sync for RustDatatype
impl Unpin for RustDatatype
impl UnwindSafe for RustDatatype
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