Struct std::string::String

pub struct String { /* fields omitted */ }
let hello = String::from("Hello, world!");
let mut hello = String::from("Hello, ");

hello.push('w');
hello.push_str("orld!");
// some bytes, in a vectorlet sparkle_heart = vec![240, 159, 146, 150];// We know these bytes are valid, so we'll use `unwrap()`.let sparkle_heart = String::from_utf8(sparkle_heart).unwrap();assert_eq!("
01-06 16:44