Enum diesel::serialize::IsNull [−][src]
pub enum IsNull {
Yes,
No,
}Tiny enum to make the return type of ToSql more descriptive
Variants
YesNo data was written, as this type is null
NoThe value is not null
This does not necessarily mean that any data was written to the buffer. For example, an empty string has no data to be sent over the wire, but also is not null.
Trait Implementations
impl Debug for IsNull[src]
impl Debug for IsNullfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for IsNull[src]
impl Copy for IsNullimpl Clone for IsNull[src]
impl Clone for IsNullfn clone(&self) -> IsNull[src]
fn clone(&self) -> IsNullReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for IsNull[src]
impl PartialEq for IsNullfn eq(&self, other: &IsNull) -> bool[src]
fn eq(&self, other: &IsNull) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for IsNull[src]
impl Eq for IsNull