pub struct JsonList { /* private fields */ }
Implementations§
Source§impl JsonList
impl JsonList
pub fn new() -> Self
pub fn literal<S: AsRef<str>>(self, values: impl IntoIterator<Item = S>) -> Self
pub fn string<S: AsRef<str>>(self, values: impl IntoIterator<Item = S>) -> Self
pub fn json(self, json: impl IntoIterator<Item = JsonResult>) -> Self
pub fn build(self) -> JsonResult
Auto Trait Implementations§
impl Freeze for JsonList
impl RefUnwindSafe for JsonList
impl Send for JsonList
impl Sync for JsonList
impl Unpin for JsonList
impl UnwindSafe for JsonList
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