diesel::pg::expression::dsl

Function netmask

Source
pub fn netmask<T: InetOrCidr + SingleValue, addr>(
    addr: addr,
) -> netmask<T, addr>
where addr: AsExpression<T>,
Available on crate feature postgres_backend only.
Expand description

Computes the network mask for the address’s network.