pub struct PrimitiveArray {
pub value: Vec<Literal>,
}
Fields§
§value: Vec<Literal>
Implementations§
Trait Implementations§
Source§impl Clone for PrimitiveArray
impl Clone for PrimitiveArray
Source§fn clone(&self) -> PrimitiveArray
fn clone(&self) -> PrimitiveArray
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 PrimitiveArray
impl Debug for PrimitiveArray
Source§impl<'de> Deserialize<'de> for PrimitiveArray
impl<'de> Deserialize<'de> for PrimitiveArray
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 PrimitiveArray
impl PartialEq for PrimitiveArray
Source§impl Primitive for PrimitiveArray
impl Primitive for PrimitiveArray
fn is_eq(&self, other: &dyn Primitive) -> bool
fn is_cmp(&self, other: &dyn Primitive) -> Option<Ordering>
fn do_add(&self, other: &dyn Primitive) -> Result<Box<dyn Primitive>, String>
fn do_sub(&self, other: &dyn Primitive) -> Result<Box<dyn Primitive>, String>
fn do_div(&self, other: &dyn Primitive) -> Result<Box<dyn Primitive>, String>
fn do_mul(&self, other: &dyn Primitive) -> Result<Box<dyn Primitive>, String>
fn do_rem(&self, other: &dyn Primitive) -> Result<Box<dyn Primitive>, String>
fn as_debug(&self) -> &dyn Debug
fn as_any(&self) -> &dyn Any
fn get_type(&self) -> PrimitiveType
fn as_box_clone(&self) -> Box<dyn Primitive>
fn to_json(&self) -> Value
fn format_mem(&self, _content_type: &str, first: bool) -> Value
fn to_string(&self) -> String
fn as_bool(&self) -> bool
fn get_value(&self) -> &dyn Any
fn get_mut_value(&mut self) -> &mut dyn Any
fn to_msg(&self, content_type: String) -> Message
fn do_exec( &mut self, name: &str, args: &HashMap<String, Literal>, mem_type: &MemoryType, additional_info: &Option<HashMap<String, Literal>>, interval: Interval, _content_type: &ContentType, data: &mut Data<'_>, msg_data: &mut MessageData, sender: &Option<Sender<MSG>>, ) -> Result<(Literal, Right), ErrorInfo>
Source§impl Serialize for PrimitiveArray
impl Serialize for PrimitiveArray
impl StructuralPartialEq for PrimitiveArray
Auto Trait Implementations§
impl Freeze for PrimitiveArray
impl !RefUnwindSafe for PrimitiveArray
impl Send for PrimitiveArray
impl !Sync for PrimitiveArray
impl Unpin for PrimitiveArray
impl !UnwindSafe for PrimitiveArray
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