Trait OptionPgUint

Source
pub trait OptionPgUint<T: UIntType> {
    // Required method
    fn to_option_uint(&self) -> Option<T::Uint>;
}
Expand description

Allows for converting an Option<PgUInt> to an Option<[underlying integer type]>

Required Methods§

Source

fn to_option_uint(&self) -> Option<T::Uint>

Convert any Option<PgUint> to an Option<[underlying integer type]>

Implementations on Foreign Types§

Source§

impl OptionPgUint<PgU8> for Option<PgU8>
where PgU8: UIntType,

Source§

impl OptionPgUint<PgU16> for Option<PgU16>
where PgU16: UIntType,

Source§

impl OptionPgUint<PgU32> for Option<PgU32>
where PgU32: UIntType,

Source§

impl OptionPgUint<PgU64> for Option<PgU64>
where PgU64: UIntType,

Source§

impl OptionPgUint<PgU128> for Option<PgU128>

Implementors§