Struct parse_sap_odata::property::Property
source · pub struct Property {
pub odata_name: String,
pub edm_type: String,
pub nullable: bool,
pub max_length: Option<u16>,
pub precision: Option<u16>,
pub scale: Option<u16>,
pub concurrency_mode: Option<String>,
pub fc_keep_in_content: bool,
pub fc_target_path: Option<String>,
pub sap_annotations: SAPAnnotationsProperty,
pub custom_deserializer: &'static str,
}Expand description
Represents an edm:Property element
Fields§
§odata_name: String§edm_type: String§nullable: bool§max_length: Option<u16>§precision: Option<u16>§scale: Option<u16>§concurrency_mode: Option<String>§fc_keep_in_content: bool§fc_target_path: Option<String>§sap_annotations: SAPAnnotationsProperty§custom_deserializer: &'static strImplementations§
source§impl Property
impl Property
The Cargo.toml of the application consuming the code generated by this tool must declare at least the following
dependencies:
[dependencies]
chrono = { version = "0.4", features = ["serde"]}
rust_decimal = "1.30"
serde = { version = "1.0", features = ["derive"] }
uuid = { version = "1.4", features = ["serde"]}
Trait Implementations§
source§impl<'de> Deserialize<'de> for Property
impl<'de> Deserialize<'de> for Property
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 Ord for Property
impl Ord for Property
source§impl PartialEq for Property
impl PartialEq for Property
source§impl PartialOrd for Property
impl PartialOrd for Property
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for Property
impl StructuralEq for Property
impl StructuralPartialEq for Property
Auto Trait Implementations§
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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