pub struct Cidr;Expand description
cidr: an IPv4 or IPv6 network.
Trait Implementations§
impl Assignable for Cidr
impl Assignable<Cidr> for Any
impl Assignable<Inet> for Cidr
impl Compatible for Cidr
impl Compatible<Any> for Cidr
impl Compatible<Cidr> for Inet
impl Compatible<Cidr> for Any
impl Compatible<Inet> for Cidr
impl Compatible<Placeholder> for Cidr
impl Copy for Cidr
impl DataType for Cidr
Source§impl DefaultCastTypeName for Cidr
impl DefaultCastTypeName for Cidr
Source§const CAST_TYPE_NAME: &'static str = "CIDR"
const CAST_TYPE_NAME: &'static str = "CIDR"
The type name used in
CAST(expr AS <name>).impl Eq for Cidr
Source§impl SQLTypeToRust<PostgresDialect> for Cidr
Available on non-crate feature cidr only.
impl SQLTypeToRust<PostgresDialect> for Cidr
Available on non-crate feature
cidr only.impl StructuralPartialEq for Cidr
Auto Trait Implementations§
impl Freeze for Cidr
impl RefUnwindSafe for Cidr
impl Send for Cidr
impl Sync for Cidr
impl Unpin for Cidr
impl UnsafeUnpin for Cidr
impl UnwindSafe for Cidr
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.