diesel::pg::expression::functions

Function netmask

source
pub fn netmask<T: InetOrCidr + SingleValue, addr>(
    addr: addr,
) -> netmask<T, addr>
where addr: AsExpression<T>,
Expand description

Computes the network mask for the address’s network.