Struct xcell_core::IntegerDescription
source · pub struct IntegerDescription {
pub kind: IntegerKind,
pub min: BigInt,
pub max: BigInt,
pub default: BigInt,
}
Fields§
§kind: IntegerKind
§min: BigInt
§max: BigInt
§default: BigInt
Implementations§
source§impl IntegerDescription
impl IntegerDescription
pub fn as_csharp_default(&self) -> String
source§impl IntegerDescription
impl IntegerDescription
pub fn parse_cell(&self, cell: &DataType) -> Result<XCellValue, XError>
pub fn parse_value(&self, cell: &DataType) -> Result<BigInt, XError>
Trait Implementations§
source§impl Clone for IntegerDescription
impl Clone for IntegerDescription
source§fn clone(&self) -> IntegerDescription
fn clone(&self) -> IntegerDescription
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 IntegerDescription
impl Debug for IntegerDescription
source§impl Default for IntegerDescription
impl Default for IntegerDescription
source§fn default() -> IntegerDescription
fn default() -> IntegerDescription
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IntegerDescription
impl<'de> Deserialize<'de> for IntegerDescription
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<IntegerDescription, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<IntegerDescription, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<IntegerDescription> for XCellTyped
impl From<IntegerDescription> for XCellTyped
source§fn from(desc: IntegerDescription) -> XCellTyped
fn from(desc: IntegerDescription) -> XCellTyped
Converts to this type from the input type.
source§impl Serialize for IntegerDescription
impl Serialize for IntegerDescription
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more