Constant libmedium::GIT_COMMIT_HASH [−][src]
pub const GIT_COMMIT_HASH: &str = "af3c43dbf542117c248b096b33d19afeeb19b2f3";
diff --git a/libmedium/constant.GIT_COMMIT_HASH.html b/libmedium/constant.GIT_COMMIT_HASH.html index 194fc91..ee935c9 100644 --- a/libmedium/constant.GIT_COMMIT_HASH.html +++ b/libmedium/constant.GIT_COMMIT_HASH.html @@ -1,3 +1,3 @@ -
pub const GIT_COMMIT_HASH: &str = "af3c43dbf542117c248b096b33d19afeeb19b2f3";
pub const GIT_COMMIT_HASH: &str = "b7e3f7348cccaa63ac1989fe167070fac60c9225";
pub const OPERATION_NAME: &str = "GetPost";
pub const OPERATION_NAME: &str = "GetPost";
pub const QUERY: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n creator { \n name\n id\n\t\t\timageId\n }\n content {\n bodyModel {\n paragraphs {\n text\n type\n href\n layout\n markups {\n title\n type\n href\n userId\n start\n end\n anchorType\n }\n iframe {\n mediaResource {\n href\n iframeSrc\n iframeWidth\n iframeHeight\n }\n }\n metadata {\n id\n originalWidth\n originalHeight\n }\n }\n }\n }\n }\n}\n";
pub const QUERY: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n creator { \n name\n id\n\t\t\timageId\n }\n content {\n bodyModel {\n paragraphs {\n text\n type\n href\n layout\n markups {\n title\n type\n href\n userId\n start\n end\n anchorType\n }\n iframe {\n mediaResource {\n href\n iframeSrc\n iframeWidth\n iframeHeight\n }\n }\n metadata {\n id\n originalWidth\n originalHeight\n }\n }\n }\n }\n }\n}\n";
const __QUERY_WORKAROUND: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n creator { \n name\n id\n\t\t\timageId\n }\n content {\n bodyModel {\n paragraphs {\n text\n type\n href\n layout\n markups {\n title\n type\n href\n userId\n start\n end\n anchorType\n }\n iframe {\n mediaResource {\n href\n iframeSrc\n iframeWidth\n iframeHeight\n }\n }\n metadata {\n id\n originalWidth\n originalHeight\n }\n }\n }\n }\n }\n}\n";
const __QUERY_WORKAROUND: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n creator { \n name\n id\n\t\t\timageId\n }\n content {\n bodyModel {\n paragraphs {\n text\n type\n href\n layout\n markups {\n title\n type\n href\n userId\n start\n end\n anchorType\n }\n iframe {\n mediaResource {\n href\n iframeSrc\n iframeWidth\n iframeHeight\n }\n }\n metadata {\n id\n originalWidth\n originalHeight\n }\n }\n }\n }\n }\n}\n";
pub struct GetPostPost {
+GetPostPost in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPost [−][src]
pub struct GetPostPost {
pub title: String,
pub created_at: i64,
pub creator: GetPostPostCreator,
pub content: GetPostPostContent,
-}
Fields
title: String
created_at: i64
creator: GetPostPostCreator
content: GetPostPostContent
Trait Implementations
Returns a copy of the value. Read more
+}Fields
title: String
created_at: i64
creator: GetPostPostCreator
content: GetPostPostContent
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
Auto Trait Implementations
impl RefUnwindSafe for GetPostPost
impl Send for GetPostPost
impl Sync for GetPostPost
impl Unpin for GetPostPost
impl UnwindSafe for GetPostPost
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/data/get_post/struct.GetPostPostContent.html b/libmedium/data/get_post/struct.GetPostPostContent.html
index a2b0410..3290c68 100644
--- a/libmedium/data/get_post/struct.GetPostPostContent.html
+++ b/libmedium/data/get_post/struct.GetPostPostContent.html
@@ -1,10 +1,10 @@
-GetPostPostContent in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContent [−][src]
pub struct GetPostPostContent {
+GetPostPostContent in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContent [−][src]
pub struct GetPostPostContent {
pub body_model: GetPostPostContentBodyModel,
-}
Fields
body_model: GetPostPostContentBodyModel
Trait Implementations
Returns a copy of the value. Read more
+}Fields
body_model: GetPostPostContentBodyModel
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
Auto Trait Implementations
impl RefUnwindSafe for GetPostPostContent
impl Send for GetPostPostContent
impl Sync for GetPostPostContent
impl Unpin for GetPostPostContent
impl UnwindSafe for GetPostPostContent
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/data/get_post/struct.GetPostPostContentBodyModel.html b/libmedium/data/get_post/struct.GetPostPostContentBodyModel.html
index 666ba12..65d0091 100644
--- a/libmedium/data/get_post/struct.GetPostPostContentBodyModel.html
+++ b/libmedium/data/get_post/struct.GetPostPostContentBodyModel.html
@@ -1,10 +1,10 @@
-GetPostPostContentBodyModel in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContentBodyModel [−][src]
pub struct GetPostPostContentBodyModel {
+GetPostPostContentBodyModel in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContentBodyModel [−][src]
pub struct GetPostPostContentBodyModel {
pub paragraphs: Vec<GetPostPostContentBodyModelParagraphs>,
-}
Fields
paragraphs: Vec<GetPostPostContentBodyModelParagraphs>
Trait Implementations
Returns a copy of the value. Read more
+}Fields
paragraphs: Vec<GetPostPostContentBodyModelParagraphs>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
Auto Trait Implementations
impl RefUnwindSafe for GetPostPostContentBodyModel
impl Send for GetPostPostContentBodyModel
impl Sync for GetPostPostContentBodyModel
impl Unpin for GetPostPostContentBodyModel
impl UnwindSafe for GetPostPostContentBodyModel
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphs.html b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphs.html
index 8b10577..2040dc6 100644
--- a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphs.html
+++ b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphs.html
@@ -1,4 +1,4 @@
-GetPostPostContentBodyModelParagraphs in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphs [−][src]
pub struct GetPostPostContentBodyModelParagraphs {
+GetPostPostContentBodyModelParagraphs in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphs [−][src]
pub struct GetPostPostContentBodyModelParagraphs {
pub text: String,
pub type_: String,
pub href: Option<String>,
@@ -6,11 +6,11 @@
pub markups: Vec<GetPostPostContentBodyModelParagraphsMarkups>,
pub iframe: Option<GetPostPostContentBodyModelParagraphsIframe>,
pub metadata: Option<GetPostPostContentBodyModelParagraphsMetadata>,
-}
Fields
text: String
type_: String
href: Option<String>
layout: Option<String>
markups: Vec<GetPostPostContentBodyModelParagraphsMarkups>
iframe: Option<GetPostPostContentBodyModelParagraphsIframe>
metadata: Option<GetPostPostContentBodyModelParagraphsMetadata>
Trait Implementations
Returns a copy of the value. Read more
+}Fields
text: String
type_: String
href: Option<String>
layout: Option<String>
markups: Vec<GetPostPostContentBodyModelParagraphsMarkups>
iframe: Option<GetPostPostContentBodyModelParagraphsIframe>
metadata: Option<GetPostPostContentBodyModelParagraphsMetadata>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframe.html b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframe.html
index cefaa46..f6b5a67 100644
--- a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframe.html
+++ b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframe.html
@@ -1,10 +1,10 @@
-GetPostPostContentBodyModelParagraphsIframe in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphsIframe [−][src]
pub struct GetPostPostContentBodyModelParagraphsIframe {
+GetPostPostContentBodyModelParagraphsIframe in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphsIframe [−][src]
pub struct GetPostPostContentBodyModelParagraphsIframe {
pub media_resource: Option<GetPostPostContentBodyModelParagraphsIframeMediaResource>,
-}
Fields
media_resource: Option<GetPostPostContentBodyModelParagraphsIframeMediaResource>
Trait Implementations
Returns a copy of the value. Read more
+}Fields
media_resource: Option<GetPostPostContentBodyModelParagraphsIframeMediaResource>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframeMediaResource.html b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframeMediaResource.html
index ca60fc9..716172d 100644
--- a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframeMediaResource.html
+++ b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframeMediaResource.html
@@ -1,13 +1,13 @@
-GetPostPostContentBodyModelParagraphsIframeMediaResource in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphsIframeMediaResource [−][src]
pub struct GetPostPostContentBodyModelParagraphsIframeMediaResource {
+GetPostPostContentBodyModelParagraphsIframeMediaResource in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphsIframeMediaResource [−][src]
pub struct GetPostPostContentBodyModelParagraphsIframeMediaResource {
pub href: String,
pub iframe_src: String,
pub iframe_width: i64,
pub iframe_height: Option<i64>,
-}
Fields
href: String
iframe_src: String
iframe_width: i64
iframe_height: Option<i64>
Trait Implementations
Returns a copy of the value. Read more
+}Fields
href: String
iframe_src: String
iframe_width: i64
iframe_height: Option<i64>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMarkups.html b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMarkups.html
index 87b35aa..30c548b 100644
--- a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMarkups.html
+++ b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMarkups.html
@@ -1,4 +1,4 @@
-GetPostPostContentBodyModelParagraphsMarkups in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphsMarkups [−][src]
pub struct GetPostPostContentBodyModelParagraphsMarkups {
+GetPostPostContentBodyModelParagraphsMarkups in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphsMarkups [−][src]
pub struct GetPostPostContentBodyModelParagraphsMarkups {
pub title: Option<String>,
pub type_: String,
pub href: Option<String>,
@@ -6,11 +6,11 @@
pub start: i64,
pub end: i64,
pub anchor_type: Option<String>,
-}
Fields
title: Option<String>
type_: String
href: Option<String>
user_id: Option<String>
start: i64
end: i64
anchor_type: Option<String>
Trait Implementations
Returns a copy of the value. Read more
+}Fields
title: Option<String>
type_: String
href: Option<String>
user_id: Option<String>
start: i64
end: i64
anchor_type: Option<String>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMetadata.html b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMetadata.html
index 8d1882b..6bcbbfb 100644
--- a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMetadata.html
+++ b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMetadata.html
@@ -1,12 +1,12 @@
-GetPostPostContentBodyModelParagraphsMetadata in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphsMetadata [−][src]
pub struct GetPostPostContentBodyModelParagraphsMetadata {
+GetPostPostContentBodyModelParagraphsMetadata in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphsMetadata [−][src]
pub struct GetPostPostContentBodyModelParagraphsMetadata {
pub id: String,
pub original_width: Option<i64>,
pub original_height: Option<i64>,
-}
Fields
id: String
original_width: Option<i64>
original_height: Option<i64>
Trait Implementations
Returns a copy of the value. Read more
+}Fields
id: String
original_width: Option<i64>
original_height: Option<i64>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/data/get_post/struct.GetPostPostCreator.html b/libmedium/data/get_post/struct.GetPostPostCreator.html
index fd93ba7..533045b 100644
--- a/libmedium/data/get_post/struct.GetPostPostCreator.html
+++ b/libmedium/data/get_post/struct.GetPostPostCreator.html
@@ -1,12 +1,12 @@
-GetPostPostCreator in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostCreator [−][src]
pub struct GetPostPostCreator {
+GetPostPostCreator in libmedium::data::get_post - Rust Struct libmedium::data::get_post::GetPostPostCreator [−][src]
Fields
name: String
id: String
image_id: String
Trait Implementations
Returns a copy of the value. Read more
+}Fields
name: String
id: String
image_id: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
Auto Trait Implementations
impl RefUnwindSafe for GetPostPostCreator
impl Send for GetPostPostCreator
impl Sync for GetPostPostCreator
impl Unpin for GetPostPostCreator
impl UnwindSafe for GetPostPostCreator
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/data/get_post/struct.ResponseData.html b/libmedium/data/get_post/struct.ResponseData.html
index 4ea4416..f30e17b 100644
--- a/libmedium/data/get_post/struct.ResponseData.html
+++ b/libmedium/data/get_post/struct.ResponseData.html
@@ -1,10 +1,10 @@
-ResponseData in libmedium::data::get_post - Rust Struct libmedium::data::get_post::ResponseData [−][src]
pub struct ResponseData {
+ResponseData in libmedium::data::get_post - Rust Struct libmedium::data::get_post::ResponseData [−][src]
pub struct ResponseData {
pub post: Option<GetPostPost>,
-}
Fields
post: Option<GetPostPost>
Trait Implementations
Returns a copy of the value. Read more
+}Fields
post: Option<GetPostPost>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
Auto Trait Implementations
impl RefUnwindSafe for ResponseData
impl Send for ResponseData
impl Sync for ResponseData
impl Unpin for ResponseData
impl UnwindSafe for ResponseData
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/data/get_post/struct.Variables.html b/libmedium/data/get_post/struct.Variables.html
index cd628cc..3741300 100644
--- a/libmedium/data/get_post/struct.Variables.html
+++ b/libmedium/data/get_post/struct.Variables.html
@@ -1,6 +1,6 @@
-Variables in libmedium::data::get_post - Rust Struct libmedium::data::get_post::Variables [−][src]
pub struct Variables {
+Variables in libmedium::data::get_post - Rust Struct libmedium::data::get_post::Variables [−][src]
pub struct Variables {
pub id: String,
-}
Fields
id: String
Trait Implementations
Serialize this value into the given Serde serializer. Read more
+}Fields
id: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Variables
impl UnwindSafe for Variables
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/data/get_post/type.Boolean.html b/libmedium/data/get_post/type.Boolean.html
index 4e7effe..2994c7e 100644
--- a/libmedium/data/get_post/type.Boolean.html
+++ b/libmedium/data/get_post/type.Boolean.html
@@ -1,3 +1,3 @@
-Boolean in libmedium::data::get_post - Rust Type Definition libmedium::data::get_post::Boolean [−][src]
type Boolean = bool;
+Boolean in libmedium::data::get_post - Rust Type Definition libmedium::data::get_post::Boolean [−][src]
type Boolean = bool;
\ No newline at end of file
diff --git a/libmedium/data/get_post/type.Float.html b/libmedium/data/get_post/type.Float.html
index 4907049..0c1f612 100644
--- a/libmedium/data/get_post/type.Float.html
+++ b/libmedium/data/get_post/type.Float.html
@@ -1,3 +1,3 @@
-Float in libmedium::data::get_post - Rust Type Definition libmedium::data::get_post::Float [−][src]
type Float = f64;
+Float in libmedium::data::get_post - Rust Type Definition libmedium::data::get_post::Float [−][src]
type Float = f64;
\ No newline at end of file
diff --git a/libmedium/data/get_post/type.ID.html b/libmedium/data/get_post/type.ID.html
index ec60ebb..5e9aee6 100644
--- a/libmedium/data/get_post/type.ID.html
+++ b/libmedium/data/get_post/type.ID.html
@@ -1,3 +1,3 @@
-ID in libmedium::data::get_post - Rust Type Definition libmedium::data::get_post::ID [−][src]
type ID = String;
+ID in libmedium::data::get_post - Rust Type Definition libmedium::data::get_post::ID [−][src]
type ID = String;
\ No newline at end of file
diff --git a/libmedium/data/get_post/type.Int.html b/libmedium/data/get_post/type.Int.html
index 6cd96c4..d5402a5 100644
--- a/libmedium/data/get_post/type.Int.html
+++ b/libmedium/data/get_post/type.Int.html
@@ -1,3 +1,3 @@
-Int in libmedium::data::get_post - Rust Type Definition libmedium::data::get_post::Int [−][src]
type Int = i64;
+Int in libmedium::data::get_post - Rust Type Definition libmedium::data::get_post::Int [−][src]
type Int = i64;
\ No newline at end of file
diff --git a/libmedium/data/index.html b/libmedium/data/index.html
index 8125873..5d42c7e 100644
--- a/libmedium/data/index.html
+++ b/libmedium/data/index.html
@@ -1,4 +1,4 @@
-libmedium::data - Rust Module libmedium::data [−][src]
Modules
+libmedium::data - Rust Module libmedium::data [−][src]
Modules
Structs
Type Definitions
diff --git a/libmedium/data/struct.Data.html b/libmedium/data/struct.Data.html
index 7ca35fe..5a73e02 100644
--- a/libmedium/data/struct.Data.html
+++ b/libmedium/data/struct.Data.html
@@ -1,8 +1,8 @@
-Data in libmedium::data - Rust Struct libmedium::data::Data [−][src]
pub struct Data {
+Data in libmedium::data - Rust Struct libmedium::data::Data [−][src]
pub struct Data {
pub client: Client,
cache: Db,
pub posts: Tree,
-}
Fields
client: Client
cache: Db
posts: Tree
Implementations
Trait Implementations
Returns a copy of the value. Read more
+}Fields
client: Client
cache: Db
posts: Tree
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Data
impl !UnwindSafe for Data
Blanket Implementations
Immutably borrows from an owned value. Read more
diff --git a/libmedium/data/struct.GetPost.html b/libmedium/data/struct.GetPost.html
index f13251a..bb84627 100644
--- a/libmedium/data/struct.GetPost.html
+++ b/libmedium/data/struct.GetPost.html
@@ -1,6 +1,6 @@
-GetPost in libmedium::data - Rust Struct libmedium::data::GetPost [−][src]
pub struct GetPost;
Trait Implementations
The shape of the variables expected by the query. This should be a generated struct most of the time.
+GetPost in libmedium::data - Rust Struct libmedium::data::GetPost [−][src]
pub struct GetPost;
Trait Implementations
The shape of the variables expected by the query. This should be a generated struct most of the time.
type ResponseData = ResponseData
The top-level shape of the response data (the data
field in the GraphQL response). In practice this should be generated, since it is hard to write by hand without error.
-
Produce a GraphQL query struct that can be JSON serialized and sent to a GraphQL API.
+
Produce a GraphQL query struct that can be JSON serialized and sent to a GraphQL API.
Auto Trait Implementations
impl RefUnwindSafe for GetPost
impl UnwindSafe for GetPost
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/data/type.AppData.html b/libmedium/data/type.AppData.html
index 6d6c294..d2502ce 100644
--- a/libmedium/data/type.AppData.html
+++ b/libmedium/data/type.AppData.html
@@ -1,3 +1,3 @@
-AppData in libmedium::data - Rust Type Definition libmedium::data::AppData [−][src]
pub type AppData = Data<Data>;
+AppData in libmedium::data - Rust Type Definition libmedium::data::AppData [−][src]
pub type AppData = Data<Data>;
\ No newline at end of file
diff --git a/libmedium/data/type.PostResp.html b/libmedium/data/type.PostResp.html
index b275091..981a596 100644
--- a/libmedium/data/type.PostResp.html
+++ b/libmedium/data/type.PostResp.html
@@ -1,3 +1,3 @@
-PostResp in libmedium::data - Rust Type Definition libmedium::data::PostResp [−][src]
pub type PostResp = GetPostPost;
+PostResp in libmedium::data - Rust Type Definition libmedium::data::PostResp [−][src]
pub type PostResp = GetPostPost;
\ No newline at end of file
diff --git a/libmedium/settings/fn.check_url.html b/libmedium/settings/fn.check_url.html
index 32284ff..fa1ad78 100644
--- a/libmedium/settings/fn.check_url.html
+++ b/libmedium/settings/fn.check_url.html
@@ -1,3 +1,3 @@
-check_url in libmedium::settings - Rust Function libmedium::settings::check_url [−][src]
fn check_url(s: &Config)
+check_url in libmedium::settings - Rust Function libmedium::settings::check_url [−][src]
fn check_url(s: &Config)
\ No newline at end of file
diff --git a/libmedium/settings/index.html b/libmedium/settings/index.html
index 1c37de2..65bebc4 100644
--- a/libmedium/settings/index.html
+++ b/libmedium/settings/index.html
@@ -1,4 +1,4 @@
-libmedium::settings - Rust Module libmedium::settings [−][src]
Structs
+libmedium::settings - Rust Module libmedium::settings [−][src]
Structs
Functions
diff --git a/libmedium/settings/struct.Server.html b/libmedium/settings/struct.Server.html
index de93482..083a56f 100644
--- a/libmedium/settings/struct.Server.html
+++ b/libmedium/settings/struct.Server.html
@@ -1,13 +1,13 @@
-Server in libmedium::settings - Rust Struct libmedium::settings::Server [−][src]
pub struct Server {
+Server in libmedium::settings - Rust Struct libmedium::settings::Server [−][src]
pub struct Server {
pub port: u32,
pub domain: String,
pub ip: String,
pub proxy_has_tls: bool,
pub workers: Option<usize>,
-}
Fields
port: u32
domain: String
ip: String
proxy_has_tls: bool
workers: Option<usize>
Implementations
Trait Implementations
Returns a copy of the value. Read more
+}Fields
port: u32
domain: String
ip: String
proxy_has_tls: bool
workers: Option<usize>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Server
impl UnwindSafe for Server
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/settings/struct.Settings.html b/libmedium/settings/struct.Settings.html
index 56b6f78..67ffd57 100644
--- a/libmedium/settings/struct.Settings.html
+++ b/libmedium/settings/struct.Settings.html
@@ -1,11 +1,12 @@
-Settings in libmedium::settings - Rust Struct libmedium::settings::Settings [−][src]
pub struct Settings {
+Settings in libmedium::settings - Rust Struct libmedium::settings::Settings [−][src]
pub struct Settings {
pub debug: bool,
+ pub cache: Option<String>,
pub server: Server,
pub source_code: String,
-}
Fields
debug: bool
server: Server
source_code: String
Implementations
Trait Implementations
Returns a copy of the value. Read more
+}Fields
debug: bool
cache: Option<String>
server: Server
source_code: String
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/struct.Data.html b/libmedium/struct.Data.html
index a35ff54..f31692c 100644
--- a/libmedium/struct.Data.html
+++ b/libmedium/struct.Data.html
@@ -1,8 +1,8 @@
-Data in libmedium - Rust Struct libmedium::Data [−][src]
pub struct Data {
+Data in libmedium - Rust Struct libmedium::Data [−][src]
pub struct Data {
pub client: Client,
cache: Db,
pub posts: Tree,
-}
Fields
client: Client
cache: Db
posts: Tree
Implementations
Trait Implementations
Returns a copy of the value. Read more
+}Fields
client: Client
cache: Db
posts: Tree
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Data
impl !UnwindSafe for Data
Blanket Implementations
Immutably borrows from an owned value. Read more
diff --git a/libmedium/struct.Settings.html b/libmedium/struct.Settings.html
index 7f4b1b7..7056823 100644
--- a/libmedium/struct.Settings.html
+++ b/libmedium/struct.Settings.html
@@ -1,11 +1,12 @@
-Settings in libmedium - Rust Struct libmedium::Settings [−][src]
pub struct Settings {
+Settings in libmedium - Rust Struct libmedium::Settings [−][src]
pub struct Settings {
pub debug: bool,
+ pub cache: Option<String>,
pub server: Server,
pub source_code: String,
-}
Fields
debug: bool
server: Server
source_code: String
Implementations
Trait Implementations
Returns a copy of the value. Read more
+}Fields
debug: bool
cache: Option<String>
server: Server
source_code: String
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/libmedium/type.AppData.html b/libmedium/type.AppData.html
index 437e68e..84efad9 100644
--- a/libmedium/type.AppData.html
+++ b/libmedium/type.AppData.html
@@ -1,3 +1,3 @@
-AppData in libmedium - Rust Type Definition libmedium::AppData [−][src]
pub type AppData = Data<Data>;
+AppData in libmedium - Rust Type Definition libmedium::AppData [−][src]
pub type AppData = Data<Data>;
\ No newline at end of file
diff --git a/search-index.js b/search-index.js
index 61cec5f..15a122f 100644
--- a/search-index.js
+++ b/search-index.js
@@ -1,4 +1,4 @@
var searchIndex = JSON.parse('{\
-"libmedium":{"doc":"","t":[6,17,3,17,17,17,17,3,3,17,17,12,11,11,12,12,0,12,11,11,11,11,11,5,11,11,11,5,0,12,0,0,12,5,0,12,11,11,11,11,6,3,3,6,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,6,6,3,3,3,3,3,3,3,3,3,6,6,17,17,3,3,17,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,0,11,5,11,11,11,11,11,11,11,12,11,11,3,11,11,12,11,11,11,11,12,11,11,11,11,11,11,11,17,3,8,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,12,3,11,11,11,11,11,11,3,11,11,11,11,0,5,10,10,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,12,11,11,11,12,11,11,11,11,17,3,11,11,11,11,11,11,11,11,12,11,12,5,11,11,11,11,3,3,11,11,11,11,5,11,11,11,11,12,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,12,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,12],"n":["AppData","CACHE_AGE","Data","GIT_COMMIT_HASH","PKG_DESCRIPTION","PKG_HOMEPAGE","PKG_NAME","SETTINGS","Settings","V1_API_ROUTES","VERSION","__private_field","borrow","borrow_mut","cache","client","data","debug","deref","deref","deref_mut","drop","from","get_json_err","init","initialize","into","main","meta","posts","proxy","routes","server","services","settings","source_code","try_from","try_into","type_id","vzip","AppData","Data","GetPost","PostResp","borrow","borrow","borrow_mut","borrow_mut","build_query","cache","client","clone","clone_into","deref","deref","deref_mut","deref_mut","drop","drop","from","from","get_post","get_post","init","init","into","into","new","posts","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Boolean","Float","GetPostPost","GetPostPostContent","GetPostPostContentBodyModel","GetPostPostContentBodyModelParagraphs","GetPostPostContentBodyModelParagraphsIframe","GetPostPostContentBodyModelParagraphsIframeMediaResource","GetPostPostContentBodyModelParagraphsMarkups","GetPostPostContentBodyModelParagraphsMetadata","GetPostPostCreator","ID","Int","OPERATION_NAME","QUERY","ResponseData","Variables","__QUERY_WORKAROUND","anchor_type","body_model","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","content","created_at","creator","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","end","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","href","href","href","id","id","id","iframe","iframe_height","iframe_src","iframe_width","image_id","init","init","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into","into","layout","markups","media_resource","metadata","name","original_height","original_width","paragraphs","post","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","start","text","title","title","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_","type_","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","user_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","BuildDetails","borrow","borrow","borrow_mut","borrow_mut","build_details","clone","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","fmt","from","from","git_commit_hash","init","init","into","into","register","routes","serialize","services","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","version","vzip","vzip","Meta","borrow","borrow_mut","build_details","deref","deref_mut","drop","from","health","init","into","new","try_from","try_into","type_id","vzip","INDEX","Post","StringUtils","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","data","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","from","from","from","id","index","init","init","init","into","into","into","page","register","register","render_once","render_once_to","routes","services","slice","substring","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Proxy","borrow","borrow_mut","deref","deref_mut","drop","from","get_page","index","init","into","new","page","try_from","try_into","type_id","vzip","ROUTES","Routes","borrow","borrow_mut","deref","deref_mut","drop","from","init","into","meta","new","proxy","services","try_from","try_into","type_id","vzip","Server","Settings","borrow","borrow","borrow_mut","borrow_mut","check_url","clone","clone","clone_into","clone_into","debug","deref","deref","deref_mut","deref_mut","deserialize","deserialize","domain","drop","drop","fmt","fmt","from","from","get_ip","init","init","into","into","ip","new","port","proxy_has_tls","server","source_code","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","workers"],"q":["libmedium","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::data","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::data::get_post","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::meta","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::meta::routes","","","","","","","","","","","","","","","","libmedium::proxy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::proxy::routes","","","","","","","","","","","","","","","","","libmedium::routes","","","","","","","","","","","","","","","","","","libmedium::settings","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","emmits build details of the bninary","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,1,1,1,2,2,0,3,1,1,1,1,1,0,1,1,1,0,0,2,0,0,3,0,0,3,1,1,1,1,0,0,0,0,2,4,2,4,4,2,2,2,2,2,4,2,4,2,4,2,4,0,2,2,4,2,4,2,2,2,2,4,2,4,2,4,2,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,6,7,8,9,5,10,11,6,12,13,14,15,7,8,9,5,10,11,6,12,13,14,15,7,8,9,5,10,11,6,12,13,14,7,8,9,5,10,11,6,12,13,14,13,13,13,7,8,9,5,10,11,6,12,13,14,15,7,8,9,5,10,11,6,12,13,14,15,7,8,9,5,10,11,6,12,13,14,7,8,9,5,10,11,6,12,13,14,15,5,7,8,9,5,10,11,6,12,13,14,7,8,9,5,10,11,6,12,13,14,15,8,5,10,7,12,15,10,8,8,8,12,7,8,9,5,10,11,6,12,13,14,15,7,8,9,5,10,11,6,12,13,14,15,10,10,9,10,12,7,7,11,14,7,8,9,5,10,11,6,12,13,14,15,5,10,5,13,7,8,9,5,10,11,6,12,13,14,7,8,9,5,10,11,6,12,13,14,15,7,8,9,5,10,11,6,12,13,14,15,5,10,7,8,9,5,10,11,6,12,13,14,15,5,7,8,9,5,10,11,6,12,13,14,15,0,16,17,16,17,0,16,16,16,17,16,17,16,16,17,16,16,17,16,16,17,16,17,17,0,16,0,16,16,17,16,17,16,17,16,16,17,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,19,20,21,19,20,21,19,19,20,21,19,20,21,19,20,21,19,20,21,19,0,19,20,21,19,20,21,0,20,21,19,19,0,0,22,22,19,20,21,19,20,21,19,20,21,19,20,21,0,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,0,0,24,24,24,24,24,24,24,24,24,24,24,0,24,24,24,24,0,0,25,3,25,3,0,25,3,25,3,3,25,3,25,3,25,3,25,25,3,25,3,25,3,25,25,3,25,3,25,3,25,25,3,3,25,3,25,3,25,3,25,3,25,3,25],"f":[null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],null,null,null,null,[[["usize",15]]],[[],["settings",3]],[[["usize",15]]],[[["usize",15]]],[[]],[[],["jsonconfig",3]],[[],["usize",15]],[[]],[[]],[[],["result",6]],null,null,null,null,null,[[["serviceconfig",3]]],null,null,[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,[[]],[[]],[[]],[[]],[[],["querybody",3]],null,null,[[],["data",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],null,[[["str",15]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[],["appdata",6]],null,[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["getpostpostcontentbodymodelparagraphsmetadata",3]],[[],["getpostpostcontentbodymodelparagraphsiframemediaresource",3]],[[],["getpostpostcontentbodymodelparagraphsiframe",3]],[[],["getpostpostcontentbodymodelparagraphsmarkups",3]],[[],["getpostpostcontentbodymodelparagraphs",3]],[[],["getpostpostcontentbodymodel",3]],[[],["getpostpostcontent",3]],[[],["getpostpostcreator",3]],[[],["getpostpost",3]],[[],["responsedata",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,null,[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[]],[[]],[[]],[[]],null,[[],["builddetails",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[]],[[]],null,[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["appservice",3]]],null,[[],["result",4]],[[["serviceconfig",3]]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],null,[[]],[[]],null,[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],null,[[],["usize",15]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],[[]],null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],null,[[["appservice",3]]],[[["appservice",3]]],[[],["renderresult",6]],[[["buffer",3]],[["result",4,["rendererror"]],["rendererror",4]]],null,[[["serviceconfig",3]]],[[],["str",15]],[[["usize",15]],["str",15]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],null,[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["str",15]],["string",3]],null,[[],["usize",15]],[[]],[[]],null,[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[],["usize",15]],[[]],null,[[]],null,[[["serviceconfig",3]]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,[[]],[[]],[[]],[[]],[[["config",3]]],[[],["server",3]],[[],["settings",3]],[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],null,[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[],["string",3]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],null,[[],[["configerror",4],["result",4,["configerror"]]]],null,null,null,null,[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],null],"p":[[3,"SETTINGS"],[3,"Data"],[3,"Settings"],[3,"GetPost"],[3,"GetPostPostContentBodyModelParagraphsMarkups"],[3,"GetPostPostContent"],[3,"GetPostPostContentBodyModelParagraphsMetadata"],[3,"GetPostPostContentBodyModelParagraphsIframeMediaResource"],[3,"GetPostPostContentBodyModelParagraphsIframe"],[3,"GetPostPostContentBodyModelParagraphs"],[3,"GetPostPostContentBodyModel"],[3,"GetPostPostCreator"],[3,"GetPostPost"],[3,"ResponseData"],[3,"Variables"],[3,"BuildDetails"],[3,"build_details"],[3,"Meta"],[3,"Post"],[3,"index"],[3,"page"],[8,"StringUtils"],[3,"Proxy"],[3,"Routes"],[3,"Server"]]}\
+"libmedium":{"doc":"","t":[6,17,3,17,17,17,17,3,3,17,17,12,11,11,12,12,12,0,12,11,11,11,11,11,5,11,11,11,5,0,12,0,0,12,5,0,12,11,11,11,11,6,3,3,6,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,6,6,3,3,3,3,3,3,3,3,3,6,6,17,17,3,3,17,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,0,11,5,11,11,11,11,11,11,11,12,11,11,3,11,11,12,11,11,11,11,12,11,11,11,11,11,11,11,17,3,8,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,12,3,11,11,11,11,11,11,3,11,11,11,11,0,5,10,10,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,12,11,11,11,12,11,11,11,11,17,3,11,11,11,11,11,11,11,11,12,11,12,5,11,11,11,11,3,3,11,11,11,11,12,5,11,11,11,11,12,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,12,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,12],"n":["AppData","CACHE_AGE","Data","GIT_COMMIT_HASH","PKG_DESCRIPTION","PKG_HOMEPAGE","PKG_NAME","SETTINGS","Settings","V1_API_ROUTES","VERSION","__private_field","borrow","borrow_mut","cache","cache","client","data","debug","deref","deref","deref_mut","drop","from","get_json_err","init","initialize","into","main","meta","posts","proxy","routes","server","services","settings","source_code","try_from","try_into","type_id","vzip","AppData","Data","GetPost","PostResp","borrow","borrow","borrow_mut","borrow_mut","build_query","cache","client","clone","clone_into","deref","deref","deref_mut","deref_mut","drop","drop","from","from","get_post","get_post","init","init","into","into","new","posts","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Boolean","Float","GetPostPost","GetPostPostContent","GetPostPostContentBodyModel","GetPostPostContentBodyModelParagraphs","GetPostPostContentBodyModelParagraphsIframe","GetPostPostContentBodyModelParagraphsIframeMediaResource","GetPostPostContentBodyModelParagraphsMarkups","GetPostPostContentBodyModelParagraphsMetadata","GetPostPostCreator","ID","Int","OPERATION_NAME","QUERY","ResponseData","Variables","__QUERY_WORKAROUND","anchor_type","body_model","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","content","created_at","creator","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","end","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","href","href","href","id","id","id","iframe","iframe_height","iframe_src","iframe_width","image_id","init","init","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into","into","layout","markups","media_resource","metadata","name","original_height","original_width","paragraphs","post","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","start","text","title","title","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_","type_","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","user_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","BuildDetails","borrow","borrow","borrow_mut","borrow_mut","build_details","clone","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","fmt","from","from","git_commit_hash","init","init","into","into","register","routes","serialize","services","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","version","vzip","vzip","Meta","borrow","borrow_mut","build_details","deref","deref_mut","drop","from","health","init","into","new","try_from","try_into","type_id","vzip","INDEX","Post","StringUtils","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","data","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","from","from","from","id","index","init","init","init","into","into","into","page","register","register","render_once","render_once_to","routes","services","slice","substring","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Proxy","borrow","borrow_mut","deref","deref_mut","drop","from","get_page","index","init","into","new","page","try_from","try_into","type_id","vzip","ROUTES","Routes","borrow","borrow_mut","deref","deref_mut","drop","from","init","into","meta","new","proxy","services","try_from","try_into","type_id","vzip","Server","Settings","borrow","borrow","borrow_mut","borrow_mut","cache","check_url","clone","clone","clone_into","clone_into","debug","deref","deref","deref_mut","deref_mut","deserialize","deserialize","domain","drop","drop","fmt","fmt","from","from","get_ip","init","init","into","into","ip","new","port","proxy_has_tls","server","source_code","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","workers"],"q":["libmedium","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::data","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::data::get_post","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::meta","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::meta::routes","","","","","","","","","","","","","","","","libmedium::proxy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::proxy::routes","","","","","","","","","","","","","","","","","libmedium::routes","","","","","","","","","","","","","","","","","","libmedium::settings","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","emmits build details of the bninary","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,1,1,1,2,3,2,0,3,1,1,1,1,1,0,1,1,1,0,0,2,0,0,3,0,0,3,1,1,1,1,0,0,0,0,2,4,2,4,4,2,2,2,2,2,4,2,4,2,4,2,4,0,2,2,4,2,4,2,2,2,2,4,2,4,2,4,2,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,6,7,8,9,5,10,11,6,12,13,14,15,7,8,9,5,10,11,6,12,13,14,15,7,8,9,5,10,11,6,12,13,14,7,8,9,5,10,11,6,12,13,14,13,13,13,7,8,9,5,10,11,6,12,13,14,15,7,8,9,5,10,11,6,12,13,14,15,7,8,9,5,10,11,6,12,13,14,7,8,9,5,10,11,6,12,13,14,15,5,7,8,9,5,10,11,6,12,13,14,7,8,9,5,10,11,6,12,13,14,15,8,5,10,7,12,15,10,8,8,8,12,7,8,9,5,10,11,6,12,13,14,15,7,8,9,5,10,11,6,12,13,14,15,10,10,9,10,12,7,7,11,14,7,8,9,5,10,11,6,12,13,14,15,5,10,5,13,7,8,9,5,10,11,6,12,13,14,7,8,9,5,10,11,6,12,13,14,15,7,8,9,5,10,11,6,12,13,14,15,5,10,7,8,9,5,10,11,6,12,13,14,15,5,7,8,9,5,10,11,6,12,13,14,15,0,16,17,16,17,0,16,16,16,17,16,17,16,16,17,16,16,17,16,16,17,16,17,17,0,16,0,16,16,17,16,17,16,17,16,16,17,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,19,20,21,19,20,21,19,19,20,21,19,20,21,19,20,21,19,20,21,19,0,19,20,21,19,20,21,0,20,21,19,19,0,0,22,22,19,20,21,19,20,21,19,20,21,19,20,21,0,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,0,0,24,24,24,24,24,24,24,24,24,24,24,0,24,24,24,24,0,0,25,3,25,3,3,0,25,3,25,3,3,25,3,25,3,25,3,25,25,3,25,3,25,3,25,25,3,25,3,25,3,25,25,3,3,25,3,25,3,25,3,25,3,25,3,25],"f":[null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],null,null,null,null,null,[[],["settings",3]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[],["jsonconfig",3]],[[],["usize",15]],[[]],[[]],[[],["result",6]],null,null,null,null,null,[[["serviceconfig",3]]],null,null,[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,[[]],[[]],[[]],[[]],[[],["querybody",3]],null,null,[[],["data",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],null,[[["str",15]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[],["appdata",6]],null,[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["getpostpostcontentbodymodelparagraphsmetadata",3]],[[],["getpostpostcontentbodymodelparagraphsiframemediaresource",3]],[[],["getpostpostcontentbodymodelparagraphsiframe",3]],[[],["getpostpostcontentbodymodelparagraphsmarkups",3]],[[],["getpostpostcontentbodymodelparagraphs",3]],[[],["getpostpostcontentbodymodel",3]],[[],["getpostpostcontent",3]],[[],["getpostpostcreator",3]],[[],["getpostpost",3]],[[],["responsedata",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,null,[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[]],[[]],[[]],[[]],null,[[],["builddetails",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[]],[[]],null,[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["appservice",3]]],null,[[],["result",4]],[[["serviceconfig",3]]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],null,[[]],[[]],null,[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],null,[[],["usize",15]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],[[]],null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],null,[[["appservice",3]]],[[["appservice",3]]],[[],["renderresult",6]],[[["buffer",3]],[["result",4,["rendererror"]],["rendererror",4]]],null,[[["serviceconfig",3]]],[[],["str",15]],[[["usize",15]],["str",15]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],null,[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["str",15]],["string",3]],null,[[],["usize",15]],[[]],[[]],null,[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[],["usize",15]],[[]],null,[[]],null,[[["serviceconfig",3]]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,[[]],[[]],[[]],[[]],null,[[["config",3]]],[[],["server",3]],[[],["settings",3]],[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],null,[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[],["string",3]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],null,[[],[["configerror",4],["result",4,["configerror"]]]],null,null,null,null,[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],null],"p":[[3,"SETTINGS"],[3,"Data"],[3,"Settings"],[3,"GetPost"],[3,"GetPostPostContentBodyModelParagraphsMarkups"],[3,"GetPostPostContent"],[3,"GetPostPostContentBodyModelParagraphsMetadata"],[3,"GetPostPostContentBodyModelParagraphsIframeMediaResource"],[3,"GetPostPostContentBodyModelParagraphsIframe"],[3,"GetPostPostContentBodyModelParagraphs"],[3,"GetPostPostContentBodyModel"],[3,"GetPostPostCreator"],[3,"GetPostPost"],[3,"ResponseData"],[3,"Variables"],[3,"BuildDetails"],[3,"build_details"],[3,"Meta"],[3,"Post"],[3,"index"],[3,"page"],[8,"StringUtils"],[3,"Proxy"],[3,"Routes"],[3,"Server"]]}\
}');
if (window.initSearch) {window.initSearch(searchIndex)};
\ No newline at end of file
diff --git a/src/libmedium/data.rs.html b/src/libmedium/data.rs.html
index 597d1b7..6dd7dcb 100644
--- a/src/libmedium/data.rs.html
+++ b/src/libmedium/data.rs.html
@@ -68,6 +68,11 @@
68
69
70
+71
+72
+73
+74
+75
/*
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
*
@@ -84,11 +89,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+use std::path::Path;
+
use actix_web::web;
use graphql_client::{reqwest::post_graphql, GraphQLQuery};
use reqwest::Client;
use sled::{Db, Tree};
+use crate::SETTINGS;
+
#[derive(Clone)]
pub struct Data {
pub client: Client,
@@ -110,7 +119,8 @@
impl Data {
pub fn new() -> AppData {
- let cache = sled::open("posts_cache").unwrap();
+ let path = Path::new(SETTINGS.cache.as_ref().unwrap()).join("posts_cache");
+ let cache = sled::open(path).unwrap();
let posts = cache.open_tree("posts").unwrap();
AppData::new(Self {
client: Client::new(),
diff --git a/src/libmedium/settings.rs.html b/src/libmedium/settings.rs.html
index 5badee3..841a0d8 100644
--- a/src/libmedium/settings.rs.html
+++ b/src/libmedium/settings.rs.html
@@ -1,100 +1,120 @@
-settings.rs - source 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
+settings.rs - source 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+ 10
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+ 17
+ 18
+ 19
+ 20
+ 21
+ 22
+ 23
+ 24
+ 25
+ 26
+ 27
+ 28
+ 29
+ 30
+ 31
+ 32
+ 33
+ 34
+ 35
+ 36
+ 37
+ 38
+ 39
+ 40
+ 41
+ 42
+ 43
+ 44
+ 45
+ 46
+ 47
+ 48
+ 49
+ 50
+ 51
+ 52
+ 53
+ 54
+ 55
+ 56
+ 57
+ 58
+ 59
+ 60
+ 61
+ 62
+ 63
+ 64
+ 65
+ 66
+ 67
+ 68
+ 69
+ 70
+ 71
+ 72
+ 73
+ 74
+ 75
+ 76
+ 77
+ 78
+ 79
+ 80
+ 81
+ 82
+ 83
+ 84
+ 85
+ 86
+ 87
+ 88
+ 89
+ 90
+ 91
+ 92
+ 93
+ 94
+ 95
+ 96
+ 97
+ 98
+ 99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
/*
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
*
@@ -112,6 +132,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
use std::env;
+use std::fs;
use std::path::Path;
use config::{Config, ConfigError, Environment, File};
@@ -138,7 +159,7 @@
#[derive(Debug, Clone, Deserialize)]
pub struct Settings {
pub debug: bool,
- // pub database: Database,
+ pub cache: Option<String>,
pub server: Server,
pub source_code: String,
}
@@ -178,8 +199,27 @@
Err(e) => warn!("couldn't interpret PORT: {}", e),
}
- let settings: Settings = s.try_into()?;
+ let mut settings: Settings = s.try_into()?;
+ if settings.cache.is_none() {
+ let tmp = env::temp_dir().join("libmedium_cache_path");
+ if !tmp.exists() {
+ fs::create_dir_all(&tmp).unwrap()
+ }
+ settings.cache = Some(tmp.to_str().unwrap().to_string())
+ }
+
+ let cache_path = settings.cache.as_ref().unwrap();
+ let cache_path = Path::new(&cache_path);
+ if !cache_path.exists() {
+ fs::create_dir(&cache_path).unwrap();
+ }
+ if !cache_path.is_dir() {
+ panic!(
+ "Cache path {} must be a directory",
+ &settings.cache.as_ref().unwrap()
+ );
+ }
Ok(settings)
}
}