Type Alias PositiveInteger

Source
pub type PositiveInteger = GreaterThanOrEqualToOne<Integer>;
Expand description

A wrapper of Integer, with value >= 1.

Aliased Type§

#[repr(transparent)]
pub struct PositiveInteger(pub Integer);

Tuple Fields§

§0: Integer

Trait Implementations§

Source§

impl Parse for PositiveInteger

Source§

fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>

Parse a value of this type. Read more