Function diesel::pg::expression::dsl::netmask

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

Computes the network mask for the address’s network.