[−][src]Struct firebase_rs::FirebaseParams
Fields
url: Arc<Url>
params: HashMap<&'static str, String>
Methods
impl FirebaseParams
[src]
pub fn new(url: &Url) -> Self
[src]
pub fn get(&self) -> Result<Response, RequestError>
[src]
Gets data from Firebase
pub fn get_async<F>(&self, callback: F) -> JoinHandle<()> where
F: Fn(Result<Response, RequestError>) + 'static + Send,
[src]
F: Fn(Result<Response, RequestError>) + 'static + Send,
Asynchronous method for delete. Takes a callback function and returns a handle.
pub fn get_url(&self) -> Result<Url, UrlParseError>
[src]
pub fn add_param<T: ToString>(self, key: &'static str, value: T) -> Self
[src]
pub fn set_params(&mut self)
[src]
pub fn order_by(self, key: &str) -> Self
[src]
pub fn limit_to_first(self, count: u32) -> Self
[src]
pub fn limit_to_last(self, count: u32) -> Self
[src]
pub fn start_at(self, index: u32) -> Self
[src]
pub fn end_at(self, index: u32) -> Self
[src]
pub fn equal_to(self, value: u32) -> Self
[src]
pub fn shallow(self, flag: bool) -> Self
[src]
pub fn format(self) -> Self
[src]
Trait Implementations
impl Clone for FirebaseParams
[src]
fn clone(&self) -> FirebaseParams
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FirebaseParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for FirebaseParams
impl Send for FirebaseParams
impl Sync for FirebaseParams
impl Unpin for FirebaseParams
impl UnwindSafe for FirebaseParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,