pub struct PrimitiveString {
pub value: String,
}Fields§
§value: StringImplementations§
Trait Implementations§
Source§impl Clone for PrimitiveString
impl Clone for PrimitiveString
Source§fn clone(&self) -> PrimitiveString
fn clone(&self) -> PrimitiveString
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 PrimitiveString
impl Debug for PrimitiveString
Source§impl<'de> Deserialize<'de> for PrimitiveString
impl<'de> Deserialize<'de> for PrimitiveString
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 PrimitiveString
impl PartialEq for PrimitiveString
Source§impl Primitive for PrimitiveString
impl Primitive for PrimitiveString
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 PrimitiveString
impl Serialize for PrimitiveString
impl StructuralPartialEq for PrimitiveString
Auto Trait Implementations§
impl Freeze for PrimitiveString
impl RefUnwindSafe for PrimitiveString
impl Send for PrimitiveString
impl Sync for PrimitiveString
impl Unpin for PrimitiveString
impl UnwindSafe for PrimitiveString
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