pub struct IntegerAttributes {
pub quantity: Option<String>,
pub min: Option<f64>,
pub max: Option<f64>,
}Fields§
§quantity: Option<String>§min: Option<f64>§max: Option<f64>max >= min required
Trait Implementations§
Source§impl Debug for IntegerAttributes
impl Debug for IntegerAttributes
Source§impl Default for IntegerAttributes
impl Default for IntegerAttributes
Source§fn default() -> IntegerAttributes
fn default() -> IntegerAttributes
Returns the “default value” for a type. Read more
Source§impl PartialEq for IntegerAttributes
impl PartialEq for IntegerAttributes
Source§impl<'__input> XmlRead<'__input> for IntegerAttributes
impl<'__input> XmlRead<'__input> for IntegerAttributes
Source§impl XmlWrite for IntegerAttributes
impl XmlWrite for IntegerAttributes
impl StructuralPartialEq for IntegerAttributes
Auto Trait Implementations§
impl Freeze for IntegerAttributes
impl RefUnwindSafe for IntegerAttributes
impl Send for IntegerAttributes
impl Sync for IntegerAttributes
impl Unpin for IntegerAttributes
impl UnwindSafe for IntegerAttributes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more