The full documentation is in the std library reference:
Unfortunately, it doesn't look like there's any support for thousands separators in there, so you'll need to either write that yourself or find a third-party crate. Maybe someone here can recommend one; I'm not familiar with any.
If you need a specific locale formatting you'll need to use a third party crate like num-format. The standard library won't be able to that. And internalization is probably better left out of a standard library.
To be clear. The specific format you're looking for is locale specific to a few regions.
Edit: correction the format you describe "1 000 000.00" doesn't exist anywhere, so you'll have to settle for an existing one or make a custom one.