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

Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to cidr.)