pub struct PrimitiveType {
pub id: Option<Id>,
pub extension: Option<Vec<Extension>>,
}
Fields§
§id: Option<Id>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
Trait Implementations§
Source§impl Clone for PrimitiveType
impl Clone for PrimitiveType
Source§fn clone(&self) -> PrimitiveType
fn clone(&self) -> PrimitiveType
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 Compare for PrimitiveType
impl Compare for PrimitiveType
Source§impl Convert for PrimitiveType
impl Convert for PrimitiveType
fn to_integer(&self) -> Result<Integer>
fn to_decimal(&self) -> Result<Decimal>
fn to_strings(&self) -> Result<String>
fn to_datetime(&self) -> Result<DateTime>
fn to_boolean(&self) -> Result<Boolean>
Source§impl Debug for PrimitiveType
impl Debug for PrimitiveType
Source§impl Default for PrimitiveType
impl Default for PrimitiveType
Source§fn default() -> PrimitiveType
fn default() -> PrimitiveType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrimitiveType
impl<'de> Deserialize<'de> for PrimitiveType
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl Element for PrimitiveType
impl Element for PrimitiveType
Source§impl Executor for PrimitiveType
impl Executor for PrimitiveType
fn element(&self, symbol: &String, index: &Option<usize>) -> Result<Collection>
fn to_collection(&self, index: &Option<usize>) -> Collection
fn child(&self, _index: usize) -> Result<Collection>
Source§impl Serialize for PrimitiveType
impl Serialize for PrimitiveType
impl DataType for PrimitiveType
Auto Trait Implementations§
impl Freeze for PrimitiveType
impl RefUnwindSafe for PrimitiveType
impl Send for PrimitiveType
impl Sync for PrimitiveType
impl Unpin for PrimitiveType
impl UnwindSafe for PrimitiveType
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