pub struct LexInteger {
pub description: Option<String>,
pub default: Option<i64>,
pub minimum: Option<i64>,
pub maximum: Option<i64>,
pub enum: Option<Vec<i64>>,
pub const: Option<i64>,
}Expand description
The Lexicon type integer.
Lexicon integers are specified as signed and 64-bit, which means that values will
always fit in an i64.
Fields§
§description: Option<String>§default: Option<i64>§minimum: Option<i64>§maximum: Option<i64>§enum: Option<Vec<i64>>§const: Option<i64>Trait Implementations§
Source§impl Clone for LexInteger
impl Clone for LexInteger
Source§fn clone(&self) -> LexInteger
fn clone(&self) -> LexInteger
Returns a duplicate 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 LexInteger
impl Debug for LexInteger
Source§impl<'de> Deserialize<'de> for LexInteger
impl<'de> Deserialize<'de> for LexInteger
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 for LexInteger
impl PartialEq for LexInteger
Source§impl Serialize for LexInteger
impl Serialize for LexInteger
impl Eq for LexInteger
impl StructuralPartialEq for LexInteger
Auto Trait Implementations§
impl Freeze for LexInteger
impl RefUnwindSafe for LexInteger
impl Send for LexInteger
impl Sync for LexInteger
impl Unpin for LexInteger
impl UnwindSafe for LexInteger
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.