pub struct JsonTextProducer(/* private fields */);Implementations§
Source§impl JsonTextProducer
impl JsonTextProducer
pub fn new( interchangeContext__938: Option<InterchangeContext>, ) -> JsonTextProducer
pub fn start_object(&self)
pub fn end_object(&self)
pub fn object_key(&self, key__542: impl ToArcString)
pub fn start_array(&self)
pub fn end_array(&self)
pub fn null_value(&self)
pub fn boolean_value(&self, x__553: bool)
pub fn int32_value(&self, x__556: i32)
pub fn int64_value(&self, x__559: i64)
pub fn float64_value(&self, x__562: f64)
pub fn numeric_token_value(&self, x__565: impl ToArcString)
pub fn string_value(&self, x__568: impl ToArcString)
pub fn to_json_string(&self) -> Result<Arc<String>>
pub fn interchange_context(&self) -> InterchangeContext
Trait Implementations§
Source§impl AnyValueTrait for JsonTextProducer
impl AnyValueTrait for JsonTextProducer
Source§impl AsAnyValue for JsonTextProducer
impl AsAnyValue for JsonTextProducer
fn as_any_value(&self) -> AnyValue
Source§impl Clone for JsonTextProducer
impl Clone for JsonTextProducer
Source§fn clone(&self) -> JsonTextProducer
fn clone(&self) -> JsonTextProducer
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 JsonProducerTrait for JsonTextProducer
impl JsonProducerTrait for JsonTextProducer
fn clone_boxed(&self) -> JsonProducer
fn start_object(&self)
fn end_object(&self)
fn object_key(&self, key__542: Arc<String>)
fn start_array(&self)
fn end_array(&self)
fn null_value(&self)
fn boolean_value(&self, x__553: bool)
fn int32_value(&self, x__556: i32)
fn int64_value(&self, x__559: i64)
fn float64_value(&self, x__562: f64)
fn numeric_token_value(&self, x__565: Arc<String>)
fn string_value(&self, x__568: Arc<String>)
fn interchange_context(&self) -> InterchangeContext
fn parse_error_receiver(&self) -> Option<JsonParseErrorReceiver>
Auto Trait Implementations§
impl Freeze for JsonTextProducer
impl RefUnwindSafe for JsonTextProducer
impl Send for JsonTextProducer
impl Sync for JsonTextProducer
impl Unpin for JsonTextProducer
impl UnwindSafe for JsonTextProducer
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