Struct openapiv3::IntegerType
source · pub struct IntegerType {
pub format: VariantOrUnknownOrEmpty<IntegerFormat>,
pub multiple_of: Option<i64>,
pub exclusive_minimum: bool,
pub exclusive_maximum: bool,
pub minimum: Option<i64>,
pub maximum: Option<i64>,
pub enumeration: Vec<Option<i64>>,
}
Fields§
§format: VariantOrUnknownOrEmpty<IntegerFormat>
§multiple_of: Option<i64>
§exclusive_minimum: bool
§exclusive_maximum: bool
§minimum: Option<i64>
§maximum: Option<i64>
§enumeration: Vec<Option<i64>>
Trait Implementations§
source§impl Clone for IntegerType
impl Clone for IntegerType
source§fn clone(&self) -> IntegerType
fn clone(&self) -> IntegerType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IntegerType
impl Debug for IntegerType
source§impl Default for IntegerType
impl Default for IntegerType
source§fn default() -> IntegerType
fn default() -> IntegerType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IntegerType
impl<'de> Deserialize<'de> for IntegerType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<IntegerType> for IntegerType
impl PartialEq<IntegerType> for IntegerType
source§fn eq(&self, other: &IntegerType) -> bool
fn eq(&self, other: &IntegerType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.