Struct flowstdlib::fmt::to_string::ToString
source · pub struct ToString;Expand description
ToString (//flowstdlib/fmt/to_string)
Convert an input type to a String
Current types supported are:
- null - A null will be printed as “null”
- boolean - boolean JSON value
- number - A JSON Number
- string - a bit redundant, but it works
- array - An JSON array of values that can be converted, they are converted one by one
- object - a Map of names/objects that will also be printed out
Include using
[[process]]
source = "lib://flowstdlib/fmt/to_string"
Definition
function = "to_string"
source = "to_string.rs"
docs = "to_string.md"
type = "rust"
[[input]]
[[output]]
type = "string" # The String equivalent of the input value
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ToString
impl Send for ToString
impl Sync for ToString
impl Unpin for ToString
impl UnwindSafe for ToString
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