From b11f2a46f9c55b72228b92096f168eb3c83320e7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 15 Mar 2021 09:29:14 +0000 Subject: [PATCH] Auto Generated Documentation --- docs/implementors/core/clone/trait.Clone.js | 1 + docs/implementors/core/fmt/trait.Debug.js | 2 +- docs/implementors/core/marker/trait.Freeze.js | 2 +- docs/implementors/core/marker/trait.Send.js | 2 +- docs/implementors/core/marker/trait.Sync.js | 2 +- docs/implementors/core/marker/trait.Unpin.js | 2 +- .../std/panic/trait.RefUnwindSafe.js | 2 +- .../std/panic/trait.UnwindSafe.js | 2 +- docs/rapr/all.html | 2 +- docs/rapr/index.html | 29 +++- docs/rapr/rapr/struct.RaPost.html | 10 ++ docs/rapr/rapr/struct.RaSub.html | 10 ++ docs/rapr/sidebar-items.js | 2 +- docs/rapr/struct.RaPost.html | 40 +++++ docs/rapr/struct.RaSub.html | 27 +++ docs/rapr/struct.RaprClient.html | 9 +- docs/search-index.js | 2 +- docs/src/rapr/lib.rs.html | 68 +++++++- docs/src/rapr/rapr.rs.html | 164 ++++++++++++++---- 19 files changed, 326 insertions(+), 52 deletions(-) create mode 100644 docs/rapr/rapr/struct.RaPost.html create mode 100644 docs/rapr/rapr/struct.RaSub.html create mode 100644 docs/rapr/struct.RaPost.html create mode 100644 docs/rapr/struct.RaSub.html diff --git a/docs/implementors/core/clone/trait.Clone.js b/docs/implementors/core/clone/trait.Clone.js index c6535253..74a5d038 100644 --- a/docs/implementors/core/clone/trait.Clone.js +++ b/docs/implementors/core/clone/trait.Clone.js @@ -31,6 +31,7 @@ implementors["parking_lot"] = [{"text":"impl Clone for WaitTimeoutResult","synth implementors["parking_lot_core"] = [{"text":"impl Clone for ParkResult","synthetic":false,"types":[]},{"text":"impl Clone for UnparkResult","synthetic":false,"types":[]},{"text":"impl Clone for RequeueOp","synthetic":false,"types":[]},{"text":"impl Clone for FilterOp","synthetic":false,"types":[]},{"text":"impl Clone for UnparkToken","synthetic":false,"types":[]},{"text":"impl Clone for ParkToken","synthetic":false,"types":[]}]; implementors["percent_encoding"] = [{"text":"impl<'a> Clone for PercentEncode<'a>","synthetic":false,"types":[]},{"text":"impl<'a> Clone for PercentDecode<'a>","synthetic":false,"types":[]}]; implementors["proc_macro2"] = [{"text":"impl Clone for TokenStream","synthetic":false,"types":[]},{"text":"impl Clone for Span","synthetic":false,"types":[]},{"text":"impl Clone for TokenTree","synthetic":false,"types":[]},{"text":"impl Clone for Group","synthetic":false,"types":[]},{"text":"impl Clone for Delimiter","synthetic":false,"types":[]},{"text":"impl Clone for Punct","synthetic":false,"types":[]},{"text":"impl Clone for Spacing","synthetic":false,"types":[]},{"text":"impl Clone for Ident","synthetic":false,"types":[]},{"text":"impl Clone for Literal","synthetic":false,"types":[]},{"text":"impl Clone for IntoIter","synthetic":false,"types":[]}]; +implementors["rapr"] = [{"text":"impl Clone for RaPost","synthetic":false,"types":[]}]; implementors["reqwest"] = [{"text":"impl Clone for Client","synthetic":false,"types":[]},{"text":"impl Clone for Proxy","synthetic":false,"types":[]},{"text":"impl Clone for Certificate","synthetic":false,"types":[]}]; implementors["ryu"] = [{"text":"impl Clone for Buffer","synthetic":false,"types":[]}]; implementors["serde"] = [{"text":"impl Clone for Error","synthetic":false,"types":[]},{"text":"impl<E> Clone for UnitDeserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for BoolDeserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for I8Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for I16Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for I32Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for I64Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for IsizeDeserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for U8Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for U16Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for U64Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for UsizeDeserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for F32Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for F64Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for CharDeserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for I128Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for U128Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for U32Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<'de, E> Clone for StrDeserializer<'de, E>","synthetic":false,"types":[]},{"text":"impl<'de, E> Clone for BorrowedStrDeserializer<'de, E>","synthetic":false,"types":[]},{"text":"impl<E> Clone for StringDeserializer<E>","synthetic":false,"types":[]},{"text":"impl<'a, E> Clone for CowStrDeserializer<'a, E>","synthetic":false,"types":[]},{"text":"impl<'a, E> Clone for BytesDeserializer<'a, E>","synthetic":false,"types":[]},{"text":"impl<'de, E> Clone for BorrowedBytesDeserializer<'de, E>","synthetic":false,"types":[]},{"text":"impl<I: Clone, E: Clone> Clone for SeqDeserializer<I, E>","synthetic":false,"types":[]},{"text":"impl<A: Clone> Clone for SeqAccessDeserializer<A>","synthetic":false,"types":[]},{"text":"impl<'de, I, E> Clone for MapDeserializer<'de, I, E> where
    I: Iterator + Clone,
    I::Item: Pair,
    <I::Item as Pair>::Second: Clone, 
","synthetic":false,"types":[]},{"text":"impl<A: Clone> Clone for MapAccessDeserializer<A>","synthetic":false,"types":[]},{"text":"impl Clone for IgnoredAny","synthetic":false,"types":[]},{"text":"impl<'a> Clone for Unexpected<'a>","synthetic":false,"types":[]}]; diff --git a/docs/implementors/core/fmt/trait.Debug.js b/docs/implementors/core/fmt/trait.Debug.js index 25d9e2c3..791ab559 100644 --- a/docs/implementors/core/fmt/trait.Debug.js +++ b/docs/implementors/core/fmt/trait.Debug.js @@ -32,7 +32,7 @@ implementors["parking_lot"] = [{"text":"impl Debug for WaitTimeoutResult","synth implementors["parking_lot_core"] = [{"text":"impl Debug for ParkResult","synthetic":false,"types":[]},{"text":"impl Debug for UnparkResult","synthetic":false,"types":[]},{"text":"impl Debug for RequeueOp","synthetic":false,"types":[]},{"text":"impl Debug for FilterOp","synthetic":false,"types":[]},{"text":"impl Debug for UnparkToken","synthetic":false,"types":[]},{"text":"impl Debug for ParkToken","synthetic":false,"types":[]}]; implementors["percent_encoding"] = [{"text":"impl<'a> Debug for PercentDecode<'a>","synthetic":false,"types":[]}]; implementors["proc_macro2"] = [{"text":"impl Debug for TokenStream","synthetic":false,"types":[]},{"text":"impl Debug for LexError","synthetic":false,"types":[]},{"text":"impl Debug for Span","synthetic":false,"types":[]},{"text":"impl Debug for TokenTree","synthetic":false,"types":[]},{"text":"impl Debug for Delimiter","synthetic":false,"types":[]},{"text":"impl Debug for Group","synthetic":false,"types":[]},{"text":"impl Debug for Spacing","synthetic":false,"types":[]},{"text":"impl Debug for Punct","synthetic":false,"types":[]},{"text":"impl Debug for Ident","synthetic":false,"types":[]},{"text":"impl Debug for Literal","synthetic":false,"types":[]},{"text":"impl Debug for IntoIter","synthetic":false,"types":[]}]; -implementors["rapr"] = [{"text":"impl Debug for RaprClient","synthetic":false,"types":[]}]; +implementors["rapr"] = [{"text":"impl Debug for RaPost","synthetic":false,"types":[]},{"text":"impl Debug for RaSub","synthetic":false,"types":[]},{"text":"impl Debug for RaprClient","synthetic":false,"types":[]}]; implementors["reqwest"] = [{"text":"impl Debug for Error","synthetic":false,"types":[]},{"text":"impl Debug for Body","synthetic":false,"types":[]},{"text":"impl Debug for Client","synthetic":false,"types":[]},{"text":"impl Debug for ClientBuilder","synthetic":false,"types":[]},{"text":"impl Debug for Request","synthetic":false,"types":[]},{"text":"impl Debug for RequestBuilder","synthetic":false,"types":[]},{"text":"impl Debug for Response","synthetic":false,"types":[]},{"text":"impl Debug for Proxy","synthetic":false,"types":[]},{"text":"impl<'a> Debug for Attempt<'a>","synthetic":false,"types":[]},{"text":"impl Debug for Action","synthetic":false,"types":[]},{"text":"impl Debug for Policy","synthetic":false,"types":[]},{"text":"impl Debug for Certificate","synthetic":false,"types":[]},{"text":"impl Debug for Identity","synthetic":false,"types":[]}]; implementors["scopeguard"] = [{"text":"impl Debug for Always","synthetic":false,"types":[]},{"text":"impl<T, F, S> Debug for ScopeGuard<T, F, S> where
    T: Debug,
    F: FnOnce(T),
    S: Strategy, 
","synthetic":false,"types":[]}]; implementors["serde"] = [{"text":"impl Debug for Error","synthetic":false,"types":[]},{"text":"impl<E> Debug for UnitDeserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for BoolDeserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for I8Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for I16Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for I32Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for I64Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for IsizeDeserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for U8Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for U16Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for U64Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for UsizeDeserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for F32Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for F64Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for CharDeserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for I128Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for U128Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for U32Deserializer<E>","synthetic":false,"types":[]},{"text":"impl<'a, E> Debug for StrDeserializer<'a, E>","synthetic":false,"types":[]},{"text":"impl<'de, E> Debug for BorrowedStrDeserializer<'de, E>","synthetic":false,"types":[]},{"text":"impl<E> Debug for StringDeserializer<E>","synthetic":false,"types":[]},{"text":"impl<'a, E> Debug for CowStrDeserializer<'a, E>","synthetic":false,"types":[]},{"text":"impl<'a, E> Debug for BytesDeserializer<'a, E>","synthetic":false,"types":[]},{"text":"impl<'de, E> Debug for BorrowedBytesDeserializer<'de, E>","synthetic":false,"types":[]},{"text":"impl<I, E> Debug for SeqDeserializer<I, E> where
    I: Debug, 
","synthetic":false,"types":[]},{"text":"impl<A: Debug> Debug for SeqAccessDeserializer<A>","synthetic":false,"types":[]},{"text":"impl<'de, I, E> Debug for MapDeserializer<'de, I, E> where
    I: Iterator + Debug,
    I::Item: Pair,
    <I::Item as Pair>::Second: Debug, 
","synthetic":false,"types":[]},{"text":"impl<A: Debug> Debug for MapAccessDeserializer<A>","synthetic":false,"types":[]},{"text":"impl Debug for IgnoredAny","synthetic":false,"types":[]},{"text":"impl<'a> Debug for Unexpected<'a>","synthetic":false,"types":[]}]; diff --git a/docs/implementors/core/marker/trait.Freeze.js b/docs/implementors/core/marker/trait.Freeze.js index 13fcbd50..bd4624e5 100644 --- a/docs/implementors/core/marker/trait.Freeze.js +++ b/docs/implementors/core/marker/trait.Freeze.js @@ -39,7 +39,7 @@ implementors["parking_lot"] = [{"text":"impl Freeze for WaitTimeoutResult","synt implementors["parking_lot_core"] = [{"text":"impl Freeze for ParkResult","synthetic":true,"types":[]},{"text":"impl Freeze for UnparkResult","synthetic":true,"types":[]},{"text":"impl Freeze for RequeueOp","synthetic":true,"types":[]},{"text":"impl Freeze for FilterOp","synthetic":true,"types":[]},{"text":"impl Freeze for UnparkToken","synthetic":true,"types":[]},{"text":"impl Freeze for ParkToken","synthetic":true,"types":[]},{"text":"impl Freeze for SpinWait","synthetic":true,"types":[]}]; implementors["percent_encoding"] = [{"text":"impl Freeze for AsciiSet","synthetic":true,"types":[]},{"text":"impl<'a> Freeze for PercentEncode<'a>","synthetic":true,"types":[]},{"text":"impl<'a> Freeze for PercentDecode<'a>","synthetic":true,"types":[]}]; implementors["proc_macro2"] = [{"text":"impl Freeze for IntoIter","synthetic":true,"types":[]},{"text":"impl Freeze for TokenStream","synthetic":true,"types":[]},{"text":"impl Freeze for LexError","synthetic":true,"types":[]},{"text":"impl Freeze for Span","synthetic":true,"types":[]},{"text":"impl Freeze for TokenTree","synthetic":true,"types":[]},{"text":"impl Freeze for Group","synthetic":true,"types":[]},{"text":"impl Freeze for Delimiter","synthetic":true,"types":[]},{"text":"impl Freeze for Punct","synthetic":true,"types":[]},{"text":"impl Freeze for Spacing","synthetic":true,"types":[]},{"text":"impl Freeze for Ident","synthetic":true,"types":[]},{"text":"impl Freeze for Literal","synthetic":true,"types":[]}]; -implementors["rapr"] = [{"text":"impl Freeze for RaprClient","synthetic":true,"types":[]}]; +implementors["rapr"] = [{"text":"impl Freeze for RaPost","synthetic":true,"types":[]},{"text":"impl Freeze for RaSub","synthetic":true,"types":[]},{"text":"impl Freeze for RaprClient","synthetic":true,"types":[]}]; implementors["reqwest"] = [{"text":"impl Freeze for Error","synthetic":true,"types":[]},{"text":"impl !Freeze for Body","synthetic":true,"types":[]},{"text":"impl Freeze for Client","synthetic":true,"types":[]},{"text":"impl Freeze for ClientBuilder","synthetic":true,"types":[]},{"text":"impl !Freeze for Request","synthetic":true,"types":[]},{"text":"impl !Freeze for RequestBuilder","synthetic":true,"types":[]},{"text":"impl !Freeze for Response","synthetic":true,"types":[]},{"text":"impl !Freeze for Proxy","synthetic":true,"types":[]},{"text":"impl Freeze for Policy","synthetic":true,"types":[]},{"text":"impl<'a> Freeze for Attempt<'a>","synthetic":true,"types":[]},{"text":"impl Freeze for Action","synthetic":true,"types":[]},{"text":"impl Freeze for Certificate","synthetic":true,"types":[]},{"text":"impl Freeze for Identity","synthetic":true,"types":[]}]; implementors["ryu"] = [{"text":"impl Freeze for Buffer","synthetic":true,"types":[]}]; implementors["scopeguard"] = [{"text":"impl Freeze for Always","synthetic":true,"types":[]},{"text":"impl<T, F, S> Freeze for ScopeGuard<T, F, S> where
    F: Freeze,
    T: Freeze, 
","synthetic":true,"types":[]}]; diff --git a/docs/implementors/core/marker/trait.Send.js b/docs/implementors/core/marker/trait.Send.js index 8e688669..674e7ab7 100644 --- a/docs/implementors/core/marker/trait.Send.js +++ b/docs/implementors/core/marker/trait.Send.js @@ -39,7 +39,7 @@ implementors["parking_lot"] = [{"text":"impl Send for WaitTimeoutResult","synthe implementors["parking_lot_core"] = [{"text":"impl Send for ParkResult","synthetic":true,"types":[]},{"text":"impl Send for UnparkResult","synthetic":true,"types":[]},{"text":"impl Send for RequeueOp","synthetic":true,"types":[]},{"text":"impl Send for FilterOp","synthetic":true,"types":[]},{"text":"impl Send for UnparkToken","synthetic":true,"types":[]},{"text":"impl Send for ParkToken","synthetic":true,"types":[]},{"text":"impl Send for SpinWait","synthetic":true,"types":[]}]; implementors["percent_encoding"] = [{"text":"impl Send for AsciiSet","synthetic":true,"types":[]},{"text":"impl<'a> Send for PercentEncode<'a>","synthetic":true,"types":[]},{"text":"impl<'a> Send for PercentDecode<'a>","synthetic":true,"types":[]}]; implementors["proc_macro2"] = [{"text":"impl !Send for IntoIter","synthetic":true,"types":[]},{"text":"impl !Send for TokenStream","synthetic":true,"types":[]},{"text":"impl !Send for LexError","synthetic":true,"types":[]},{"text":"impl !Send for Span","synthetic":true,"types":[]},{"text":"impl !Send for TokenTree","synthetic":true,"types":[]},{"text":"impl !Send for Group","synthetic":true,"types":[]},{"text":"impl Send for Delimiter","synthetic":true,"types":[]},{"text":"impl !Send for Punct","synthetic":true,"types":[]},{"text":"impl Send for Spacing","synthetic":true,"types":[]},{"text":"impl !Send for Ident","synthetic":true,"types":[]},{"text":"impl !Send for Literal","synthetic":true,"types":[]}]; -implementors["rapr"] = [{"text":"impl Send for RaprClient","synthetic":true,"types":[]}]; +implementors["rapr"] = [{"text":"impl Send for RaPost","synthetic":true,"types":[]},{"text":"impl Send for RaSub","synthetic":true,"types":[]},{"text":"impl Send for RaprClient","synthetic":true,"types":[]}]; implementors["reqwest"] = [{"text":"impl Send for Error","synthetic":true,"types":[]},{"text":"impl Send for Body","synthetic":true,"types":[]},{"text":"impl Send for Client","synthetic":true,"types":[]},{"text":"impl Send for ClientBuilder","synthetic":true,"types":[]},{"text":"impl Send for Request","synthetic":true,"types":[]},{"text":"impl Send for RequestBuilder","synthetic":true,"types":[]},{"text":"impl Send for Response","synthetic":true,"types":[]},{"text":"impl Send for Proxy","synthetic":true,"types":[]},{"text":"impl Send for Policy","synthetic":true,"types":[]},{"text":"impl<'a> Send for Attempt<'a>","synthetic":true,"types":[]},{"text":"impl Send for Action","synthetic":true,"types":[]},{"text":"impl Send for Certificate","synthetic":true,"types":[]},{"text":"impl Send for Identity","synthetic":true,"types":[]}]; implementors["ryu"] = [{"text":"impl Send for Buffer","synthetic":true,"types":[]}]; implementors["scopeguard"] = [{"text":"impl Send for Always","synthetic":true,"types":[]},{"text":"impl<T, F, S> Send for ScopeGuard<T, F, S> where
    F: Send,
    T: Send, 
","synthetic":true,"types":[]}]; diff --git a/docs/implementors/core/marker/trait.Sync.js b/docs/implementors/core/marker/trait.Sync.js index e1794042..29c6e4eb 100644 --- a/docs/implementors/core/marker/trait.Sync.js +++ b/docs/implementors/core/marker/trait.Sync.js @@ -39,7 +39,7 @@ implementors["parking_lot"] = [{"text":"impl Sync for WaitTimeoutResult","synthe implementors["parking_lot_core"] = [{"text":"impl Sync for ParkResult","synthetic":true,"types":[]},{"text":"impl Sync for UnparkResult","synthetic":true,"types":[]},{"text":"impl Sync for RequeueOp","synthetic":true,"types":[]},{"text":"impl Sync for FilterOp","synthetic":true,"types":[]},{"text":"impl Sync for UnparkToken","synthetic":true,"types":[]},{"text":"impl Sync for ParkToken","synthetic":true,"types":[]},{"text":"impl Sync for SpinWait","synthetic":true,"types":[]}]; implementors["percent_encoding"] = [{"text":"impl Sync for AsciiSet","synthetic":true,"types":[]},{"text":"impl<'a> Sync for PercentEncode<'a>","synthetic":true,"types":[]},{"text":"impl<'a> Sync for PercentDecode<'a>","synthetic":true,"types":[]}]; implementors["proc_macro2"] = [{"text":"impl !Sync for IntoIter","synthetic":true,"types":[]},{"text":"impl !Sync for TokenStream","synthetic":true,"types":[]},{"text":"impl !Sync for LexError","synthetic":true,"types":[]},{"text":"impl !Sync for Span","synthetic":true,"types":[]},{"text":"impl !Sync for TokenTree","synthetic":true,"types":[]},{"text":"impl !Sync for Group","synthetic":true,"types":[]},{"text":"impl Sync for Delimiter","synthetic":true,"types":[]},{"text":"impl !Sync for Punct","synthetic":true,"types":[]},{"text":"impl Sync for Spacing","synthetic":true,"types":[]},{"text":"impl !Sync for Ident","synthetic":true,"types":[]},{"text":"impl !Sync for Literal","synthetic":true,"types":[]}]; -implementors["rapr"] = [{"text":"impl Sync for RaprClient","synthetic":true,"types":[]}]; +implementors["rapr"] = [{"text":"impl Sync for RaPost","synthetic":true,"types":[]},{"text":"impl Sync for RaSub","synthetic":true,"types":[]},{"text":"impl Sync for RaprClient","synthetic":true,"types":[]}]; implementors["reqwest"] = [{"text":"impl Sync for Error","synthetic":true,"types":[]},{"text":"impl Sync for Body","synthetic":true,"types":[]},{"text":"impl Sync for Client","synthetic":true,"types":[]},{"text":"impl Sync for ClientBuilder","synthetic":true,"types":[]},{"text":"impl Sync for Request","synthetic":true,"types":[]},{"text":"impl Sync for RequestBuilder","synthetic":true,"types":[]},{"text":"impl Sync for Response","synthetic":true,"types":[]},{"text":"impl Sync for Proxy","synthetic":true,"types":[]},{"text":"impl Sync for Policy","synthetic":true,"types":[]},{"text":"impl<'a> Sync for Attempt<'a>","synthetic":true,"types":[]},{"text":"impl Sync for Action","synthetic":true,"types":[]},{"text":"impl Sync for Certificate","synthetic":true,"types":[]},{"text":"impl Sync for Identity","synthetic":true,"types":[]}]; implementors["ryu"] = [{"text":"impl Sync for Buffer","synthetic":true,"types":[]}]; implementors["scopeguard"] = [{"text":"impl Sync for Always","synthetic":true,"types":[]},{"text":"impl<T, F, S> Sync for ScopeGuard<T, F, S> where
    T: Sync,
    F: FnOnce(T),
    S: Strategy, 
","synthetic":false,"types":[]}]; diff --git a/docs/implementors/core/marker/trait.Unpin.js b/docs/implementors/core/marker/trait.Unpin.js index 786ff28e..6b2d5e66 100644 --- a/docs/implementors/core/marker/trait.Unpin.js +++ b/docs/implementors/core/marker/trait.Unpin.js @@ -39,7 +39,7 @@ implementors["parking_lot"] = [{"text":"impl Unpin for WaitTimeoutResult","synth implementors["parking_lot_core"] = [{"text":"impl Unpin for ParkResult","synthetic":true,"types":[]},{"text":"impl Unpin for UnparkResult","synthetic":true,"types":[]},{"text":"impl Unpin for RequeueOp","synthetic":true,"types":[]},{"text":"impl Unpin for FilterOp","synthetic":true,"types":[]},{"text":"impl Unpin for UnparkToken","synthetic":true,"types":[]},{"text":"impl Unpin for ParkToken","synthetic":true,"types":[]},{"text":"impl Unpin for SpinWait","synthetic":true,"types":[]}]; implementors["percent_encoding"] = [{"text":"impl Unpin for AsciiSet","synthetic":true,"types":[]},{"text":"impl<'a> Unpin for PercentEncode<'a>","synthetic":true,"types":[]},{"text":"impl<'a> Unpin for PercentDecode<'a>","synthetic":true,"types":[]}]; implementors["proc_macro2"] = [{"text":"impl Unpin for IntoIter","synthetic":true,"types":[]},{"text":"impl Unpin for TokenStream","synthetic":true,"types":[]},{"text":"impl Unpin for LexError","synthetic":true,"types":[]},{"text":"impl Unpin for Span","synthetic":true,"types":[]},{"text":"impl Unpin for TokenTree","synthetic":true,"types":[]},{"text":"impl Unpin for Group","synthetic":true,"types":[]},{"text":"impl Unpin for Delimiter","synthetic":true,"types":[]},{"text":"impl Unpin for Punct","synthetic":true,"types":[]},{"text":"impl Unpin for Spacing","synthetic":true,"types":[]},{"text":"impl Unpin for Ident","synthetic":true,"types":[]},{"text":"impl Unpin for Literal","synthetic":true,"types":[]}]; -implementors["rapr"] = [{"text":"impl Unpin for RaprClient","synthetic":true,"types":[]}]; +implementors["rapr"] = [{"text":"impl Unpin for RaPost","synthetic":true,"types":[]},{"text":"impl Unpin for RaSub","synthetic":true,"types":[]},{"text":"impl Unpin for RaprClient","synthetic":true,"types":[]}]; implementors["reqwest"] = [{"text":"impl Unpin for Error","synthetic":true,"types":[]},{"text":"impl Unpin for Body","synthetic":true,"types":[]},{"text":"impl Unpin for Client","synthetic":true,"types":[]},{"text":"impl Unpin for ClientBuilder","synthetic":true,"types":[]},{"text":"impl Unpin for Request","synthetic":true,"types":[]},{"text":"impl Unpin for RequestBuilder","synthetic":true,"types":[]},{"text":"impl Unpin for Response","synthetic":true,"types":[]},{"text":"impl Unpin for Proxy","synthetic":true,"types":[]},{"text":"impl Unpin for Policy","synthetic":true,"types":[]},{"text":"impl<'a> Unpin for Attempt<'a>","synthetic":true,"types":[]},{"text":"impl Unpin for Action","synthetic":true,"types":[]},{"text":"impl Unpin for Certificate","synthetic":true,"types":[]},{"text":"impl Unpin for Identity","synthetic":true,"types":[]}]; implementors["ryu"] = [{"text":"impl Unpin for Buffer","synthetic":true,"types":[]}]; implementors["scopeguard"] = [{"text":"impl Unpin for Always","synthetic":true,"types":[]},{"text":"impl<T, F, S> Unpin for ScopeGuard<T, F, S> where
    F: Unpin,
    T: Unpin, 
","synthetic":true,"types":[]}]; diff --git a/docs/implementors/std/panic/trait.RefUnwindSafe.js b/docs/implementors/std/panic/trait.RefUnwindSafe.js index 19b778c9..4363aeda 100644 --- a/docs/implementors/std/panic/trait.RefUnwindSafe.js +++ b/docs/implementors/std/panic/trait.RefUnwindSafe.js @@ -30,7 +30,7 @@ implementors["parking_lot"] = [{"text":"impl RefUnwindSafe for WaitTimeoutResult implementors["parking_lot_core"] = [{"text":"impl RefUnwindSafe for ParkResult","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for UnparkResult","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for RequeueOp","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for FilterOp","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for UnparkToken","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for ParkToken","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for SpinWait","synthetic":true,"types":[]}]; implementors["percent_encoding"] = [{"text":"impl RefUnwindSafe for AsciiSet","synthetic":true,"types":[]},{"text":"impl<'a> RefUnwindSafe for PercentEncode<'a>","synthetic":true,"types":[]},{"text":"impl<'a> RefUnwindSafe for PercentDecode<'a>","synthetic":true,"types":[]}]; implementors["proc_macro2"] = [{"text":"impl RefUnwindSafe for IntoIter","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for TokenStream","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for LexError","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Span","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for TokenTree","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Group","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Delimiter","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Punct","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Spacing","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Ident","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Literal","synthetic":true,"types":[]}]; -implementors["rapr"] = [{"text":"impl !RefUnwindSafe for RaprClient","synthetic":true,"types":[]}]; +implementors["rapr"] = [{"text":"impl RefUnwindSafe for RaPost","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for RaSub","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for RaprClient","synthetic":true,"types":[]}]; implementors["reqwest"] = [{"text":"impl !RefUnwindSafe for Error","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for Body","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for Client","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for ClientBuilder","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for Request","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for RequestBuilder","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for Response","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for Proxy","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for Policy","synthetic":true,"types":[]},{"text":"impl<'a> RefUnwindSafe for Attempt<'a>","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for Action","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Certificate","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Identity","synthetic":true,"types":[]}]; implementors["serde"] = [{"text":"impl RefUnwindSafe for Error","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for UnitDeserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for BoolDeserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for I8Deserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for I16Deserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for I32Deserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for I64Deserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for IsizeDeserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for U8Deserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for U16Deserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for U64Deserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for UsizeDeserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for F32Deserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for F64Deserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for CharDeserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for I128Deserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for U128Deserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for U32Deserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<'a, E> RefUnwindSafe for StrDeserializer<'a, E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<'de, E> RefUnwindSafe for BorrowedStrDeserializer<'de, E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> RefUnwindSafe for StringDeserializer<E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<'a, E> RefUnwindSafe for CowStrDeserializer<'a, E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<'a, E> RefUnwindSafe for BytesDeserializer<'a, E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<'de, E> RefUnwindSafe for BorrowedBytesDeserializer<'de, E> where
    E: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<I, E> RefUnwindSafe for SeqDeserializer<I, E> where
    E: RefUnwindSafe,
    I: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<A> RefUnwindSafe for SeqAccessDeserializer<A> where
    A: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<'de, I, E> RefUnwindSafe for MapDeserializer<'de, I, E> where
    E: RefUnwindSafe,
    I: RefUnwindSafe,
    <<I as Iterator>::Item as Pair>::Second: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<A> RefUnwindSafe for MapAccessDeserializer<A> where
    A: RefUnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for IgnoredAny","synthetic":true,"types":[]},{"text":"impl<'a> RefUnwindSafe for Unexpected<'a>","synthetic":true,"types":[]},{"text":"impl<Ok, Error> RefUnwindSafe for Impossible<Ok, Error> where
    Error: RefUnwindSafe,
    Ok: RefUnwindSafe, 
","synthetic":true,"types":[]}]; implementors["serde_urlencoded"] = [{"text":"impl<'de> RefUnwindSafe for Deserializer<'de>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, Target> !RefUnwindSafe for Serializer<'input, 'output, Target>","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Error","synthetic":true,"types":[]},{"text":"impl<'input, 'output, Target> !RefUnwindSafe for SeqSerializer<'input, 'output, Target>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, Target> !RefUnwindSafe for TupleSerializer<'input, 'output, Target>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, T> !RefUnwindSafe for TupleStructSerializer<'input, 'output, T>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, T> !RefUnwindSafe for TupleVariantSerializer<'input, 'output, T>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, Target> !RefUnwindSafe for MapSerializer<'input, 'output, Target>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, Target> !RefUnwindSafe for StructSerializer<'input, 'output, Target>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, T> !RefUnwindSafe for StructVariantSerializer<'input, 'output, T>","synthetic":true,"types":[]}]; diff --git a/docs/implementors/std/panic/trait.UnwindSafe.js b/docs/implementors/std/panic/trait.UnwindSafe.js index 5cfe83cf..859d5c42 100644 --- a/docs/implementors/std/panic/trait.UnwindSafe.js +++ b/docs/implementors/std/panic/trait.UnwindSafe.js @@ -30,7 +30,7 @@ implementors["parking_lot"] = [{"text":"impl UnwindSafe for WaitTimeoutResult"," implementors["parking_lot_core"] = [{"text":"impl UnwindSafe for ParkResult","synthetic":true,"types":[]},{"text":"impl UnwindSafe for UnparkResult","synthetic":true,"types":[]},{"text":"impl UnwindSafe for RequeueOp","synthetic":true,"types":[]},{"text":"impl UnwindSafe for FilterOp","synthetic":true,"types":[]},{"text":"impl UnwindSafe for UnparkToken","synthetic":true,"types":[]},{"text":"impl UnwindSafe for ParkToken","synthetic":true,"types":[]},{"text":"impl UnwindSafe for SpinWait","synthetic":true,"types":[]}]; implementors["percent_encoding"] = [{"text":"impl UnwindSafe for AsciiSet","synthetic":true,"types":[]},{"text":"impl<'a> UnwindSafe for PercentEncode<'a>","synthetic":true,"types":[]},{"text":"impl<'a> UnwindSafe for PercentDecode<'a>","synthetic":true,"types":[]}]; implementors["proc_macro2"] = [{"text":"impl UnwindSafe for IntoIter","synthetic":true,"types":[]},{"text":"impl UnwindSafe for TokenStream","synthetic":true,"types":[]},{"text":"impl UnwindSafe for LexError","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Span","synthetic":true,"types":[]},{"text":"impl UnwindSafe for TokenTree","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Group","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Delimiter","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Punct","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Spacing","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Ident","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Literal","synthetic":true,"types":[]}]; -implementors["rapr"] = [{"text":"impl !UnwindSafe for RaprClient","synthetic":true,"types":[]}]; +implementors["rapr"] = [{"text":"impl UnwindSafe for RaPost","synthetic":true,"types":[]},{"text":"impl UnwindSafe for RaSub","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for RaprClient","synthetic":true,"types":[]}]; implementors["reqwest"] = [{"text":"impl !UnwindSafe for Error","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for Body","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for Client","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for ClientBuilder","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for Request","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for RequestBuilder","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for Response","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for Proxy","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for Policy","synthetic":true,"types":[]},{"text":"impl<'a> UnwindSafe for Attempt<'a>","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for Action","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Certificate","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Identity","synthetic":true,"types":[]}]; implementors["serde"] = [{"text":"impl UnwindSafe for Error","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for UnitDeserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for BoolDeserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for I8Deserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for I16Deserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for I32Deserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for I64Deserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for IsizeDeserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for U8Deserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for U16Deserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for U64Deserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for UsizeDeserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for F32Deserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for F64Deserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for CharDeserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for I128Deserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for U128Deserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for U32Deserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<'a, E> UnwindSafe for StrDeserializer<'a, E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<'de, E> UnwindSafe for BorrowedStrDeserializer<'de, E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<E> UnwindSafe for StringDeserializer<E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<'a, E> UnwindSafe for CowStrDeserializer<'a, E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<'a, E> UnwindSafe for BytesDeserializer<'a, E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<'de, E> UnwindSafe for BorrowedBytesDeserializer<'de, E> where
    E: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<I, E> UnwindSafe for SeqDeserializer<I, E> where
    E: UnwindSafe,
    I: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<A> UnwindSafe for SeqAccessDeserializer<A> where
    A: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<'de, I, E> UnwindSafe for MapDeserializer<'de, I, E> where
    E: UnwindSafe,
    I: UnwindSafe,
    <<I as Iterator>::Item as Pair>::Second: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl<A> UnwindSafe for MapAccessDeserializer<A> where
    A: UnwindSafe, 
","synthetic":true,"types":[]},{"text":"impl UnwindSafe for IgnoredAny","synthetic":true,"types":[]},{"text":"impl<'a> UnwindSafe for Unexpected<'a>","synthetic":true,"types":[]},{"text":"impl<Ok, Error> UnwindSafe for Impossible<Ok, Error> where
    Error: UnwindSafe,
    Ok: UnwindSafe, 
","synthetic":true,"types":[]}]; implementors["serde_urlencoded"] = [{"text":"impl<'de> UnwindSafe for Deserializer<'de>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, Target> !UnwindSafe for Serializer<'input, 'output, Target>","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Error","synthetic":true,"types":[]},{"text":"impl<'input, 'output, Target> !UnwindSafe for SeqSerializer<'input, 'output, Target>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, Target> !UnwindSafe for TupleSerializer<'input, 'output, Target>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, T> !UnwindSafe for TupleStructSerializer<'input, 'output, T>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, T> !UnwindSafe for TupleVariantSerializer<'input, 'output, T>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, Target> !UnwindSafe for MapSerializer<'input, 'output, Target>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, Target> !UnwindSafe for StructSerializer<'input, 'output, Target>","synthetic":true,"types":[]},{"text":"impl<'input, 'output, T> !UnwindSafe for StructVariantSerializer<'input, 'output, T>","synthetic":true,"types":[]}]; diff --git a/docs/rapr/all.html b/docs/rapr/all.html index 4b3bfef4..fc9c0119 100644 --- a/docs/rapr/all.html +++ b/docs/rapr/all.html @@ -3,4 +3,4 @@

[] - List of all items

Structs

\ No newline at end of file + List of all items

Structs

\ No newline at end of file diff --git a/docs/rapr/index.html b/docs/rapr/index.html index 60006082..138010d2 100644 --- a/docs/rapr/index.html +++ b/docs/rapr/index.html @@ -1,5 +1,30 @@ rapr - Rust

[][src]Crate rapr

Structs

-
RaprClient
\ No newline at end of file + Change settings

[][src]Crate rapr

Reddit api wrapper

+

Example program
+You need tokio to use this.
+Make sure to use tokio = { version = "1.3.*", features = ["full"] }

+ +
+extern crate rapr;
+extern crate tokio;
+use crate::rapr::{RaprClient,RaSub};
+#[tokio::main]
+async fn main() {
+     let client = RaprClient::new();
+     let mut sub = RaSub::new("pics");
+     client.fetch(10, &mut sub).await.unwrap();
+     for post in sub.posts {
+         println!("{}",post.title);
+     }
+}
+

Structs

+
RaPost

Reddit post object +(more like repost object).
+Keeps track of post information.

+
RaSub

RaSub

+
RaprClient

Reddit api client.
+Uses a reqwest::Client internally.
+Currently no authentication

+
\ No newline at end of file diff --git a/docs/rapr/rapr/struct.RaPost.html b/docs/rapr/rapr/struct.RaPost.html new file mode 100644 index 00000000..ddbd6b4e --- /dev/null +++ b/docs/rapr/rapr/struct.RaPost.html @@ -0,0 +1,10 @@ + + + + + + +

Redirecting to ../../rapr/struct.RaPost.html...

+ + + \ No newline at end of file diff --git a/docs/rapr/rapr/struct.RaSub.html b/docs/rapr/rapr/struct.RaSub.html new file mode 100644 index 00000000..bb55f530 --- /dev/null +++ b/docs/rapr/rapr/struct.RaSub.html @@ -0,0 +1,10 @@ + + + + + + +

Redirecting to ../../rapr/struct.RaSub.html...

+ + + \ No newline at end of file diff --git a/docs/rapr/sidebar-items.js b/docs/rapr/sidebar-items.js index 6dbf75ff..e539d684 100644 --- a/docs/rapr/sidebar-items.js +++ b/docs/rapr/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"struct":[["RaprClient",""]]}); \ No newline at end of file +initSidebarItems({"struct":[["RaPost","Reddit post object (more like repost object). Keeps track of post information."],["RaSub","RaSubSubreddit object Keeps track of posts"],["RaprClient","Reddit api client. Uses a reqwest::Client internally. Currently no authentication"]]}); \ No newline at end of file diff --git a/docs/rapr/struct.RaPost.html b/docs/rapr/struct.RaPost.html new file mode 100644 index 00000000..3eb2c447 --- /dev/null +++ b/docs/rapr/struct.RaPost.html @@ -0,0 +1,40 @@ +rapr::RaPost - Rust + +

[][src]Struct rapr::RaPost

pub struct RaPost {
+    pub id: String,
+    pub datetime: DateTime<Local>,
+    pub title: String,
+    pub text: Option<String>,
+    pub permalink: String,
+    pub upvotes: u32,
+    pub downvotes: u32,
+    pub json: JsonValue,
+    // some fields omitted
+}

Reddit post object +(more like repost object).
+Keeps track of post information.

+

+ Fields

id: Stringdatetime: DateTime<Local>title: Stringtext: Option<String>permalink: Stringupvotes: u32downvotes: u32json: JsonValue

Implementations

impl RaPost[src]

pub fn new(
    id: &str,
    title: &str,
    text: Option<&str>,
    texttype: TextType,
    permalink: &str,
    upvotes: u32,
    downvotes: u32,
    json: &JsonValue
) -> Self
[src]

Generate new post object (you probably don't need this).

+

pub fn parse(post: &JsonValue) -> Result<RaPost, Error>[src]

Parse json from json['data']['children'] array elements.

+

Trait Implementations

impl Clone for RaPost[src]

impl Debug for RaPost[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+
\ No newline at end of file diff --git a/docs/rapr/struct.RaSub.html b/docs/rapr/struct.RaSub.html new file mode 100644 index 00000000..1a2b35ee --- /dev/null +++ b/docs/rapr/struct.RaSub.html @@ -0,0 +1,27 @@ +rapr::RaSub - Rust + +

[][src]Struct rapr::RaSub

pub struct RaSub {
+    pub name: String,
+    pub posts: Vec<RaPost>,
+    // some fields omitted
+}

RaSub

+

Subreddit object
+Keeps track of posts

+

+ Fields

name: Stringposts: Vec<RaPost>

Implementations

impl RaSub[src]

pub fn new(name: &str) -> RaSub[src]

Generate subreddit object

+

Trait Implementations

impl Debug for RaSub[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+
\ No newline at end of file diff --git a/docs/rapr/struct.RaprClient.html b/docs/rapr/struct.RaprClient.html index 0ff4733b..9e33de49 100644 --- a/docs/rapr/struct.RaprClient.html +++ b/docs/rapr/struct.RaprClient.html @@ -1,7 +1,12 @@ rapr::RaprClient - Rust -

[][src]Struct rapr::RaprClient

pub struct RaprClient { /* fields omitted */ }

Implementations

impl RaprClient[src]

pub fn new() -> Self[src]

pub fn subreddit(name: &str) -> RaSub[src]

pub async fn fetch(
    &self,
    count: u32,
    sub: &mut RaSub
) -> Result<Vec<RaPost>, Error>
[src]

Trait Implementations

impl Debug for RaprClient[src]