rust
use firebase_rs::*;
rust
let firebase = Firebase::new("https://myfirebase.firebaseio.com").unwrap();
````rust let firebase = Firebase::auth("https://myfirebase.firebaseio.com", "AUTH_KEY").unwrap();
rust
let firebase = Firebase::new("https://myfirebase.firebaseio.com").unwrap().at("users").at("USER_ID").at(...);
rust
let firebase = Firebase::new("https://myfirebase.firebaseio.com").unwrap().at("users");
let users = firebase.get_as_string().await;
````rust
struct User { name: String }
let firebase = Firebase::new("https://myfirebase.firebaseio.com").unwrap().at("users");
let user = firebase.get::
````rust
struct User { name: String }
let firebase = Firebase::new("https://myfirebase.firebaseio.com").unwrap().at("users").at("USER_ID");
let user = firebase.get::
````rust
struct User { name: String }
let user = User { name: String::default() }; let firebase = Firebase::new("https://myfirebase.firebaseio.com").unwrap().at("users"); firebase.set(&user).await; ````
````rust
struct User { name: String }
let user = User { name: String::default() }; let firebase = Firebase::new("https://myfirebase.firebaseio.com").unwrap().at("users").at("USER_ID"); firebase.update(&user).await; ````
rust
let firebase = Firebase::new("https://myfirebase.firebaseio.com").unwrap().with_params().start_at(1).order_by("name").equal_to(5).finish();
let result = firebase.get().await;