pub struct Inet;Expand description
inet: an IPv4 or IPv6 host address, with optional netmask.
Trait Implementations§
impl Assignable for Inet
impl Assignable<Inet> for Cidr
impl Assignable<Inet> for Any
impl Compatible for Inet
impl Compatible<Any> for Inet
impl Compatible<Cidr> for Inet
impl Compatible<Inet> for Cidr
impl Compatible<Inet> for Any
impl Compatible<Placeholder> for Inet
impl Copy for Inet
impl DataType for Inet
Source§impl DefaultCastTypeName for Inet
impl DefaultCastTypeName for Inet
Source§const CAST_TYPE_NAME: &'static str = "INET"
const CAST_TYPE_NAME: &'static str = "INET"
The type name used in
CAST(expr AS <name>).impl Eq for Inet
Source§impl SQLTypeToRust<PostgresDialect> for Inet
Available on non-crate feature cidr only.
impl SQLTypeToRust<PostgresDialect> for Inet
Available on non-crate feature
cidr only.impl StructuralPartialEq for Inet
Auto Trait Implementations§
impl Freeze for Inet
impl RefUnwindSafe for Inet
impl Send for Inet
impl Sync for Inet
impl Unpin for Inet
impl UnsafeUnpin for Inet
impl UnwindSafe for Inet
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<'a, T, D> CastTarget<'a, T, D> for Twhere
T: DataType + DefaultCastTypeName,
impl<'a, T, D> CastTarget<'a, T, D> for Twhere
T: DataType + DefaultCastTypeName,
Source§fn cast_type_name(self) -> &'a str
fn cast_type_name(self) -> &'a str
The SQL type name to cast to.