From 74b16d7837a99b6067045d7ec326ff122c7ae06e Mon Sep 17 00:00:00 2001 From: realaravinth Date: Tue, 2 Nov 2021 15:43:55 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-libmedium=20from=20=20@=207?= =?UTF-8?q?45d97acfd4993b24cee153867b7d9bad0ea452f=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libmedium/all.html | 2 +- libmedium/constant.GIT_COMMIT_HASH.html | 2 +- libmedium/data/constant.CACHE_VERSION.html | 3 ++ .../get_post/constant.OPERATION_NAME.html | 2 +- libmedium/data/get_post/constant.QUERY.html | 2 +- .../get_post/constant.__QUERY_WORKAROUND.html | 2 +- libmedium/data/get_post/index.html | 2 +- .../data/get_post/struct.GetPostPost.html | 10 ++-- .../get_post/struct.GetPostPostContent.html | 10 ++-- .../struct.GetPostPostContentBodyModel.html | 10 ++-- ...GetPostPostContentBodyModelParagraphs.html | 10 ++-- ...tPostContentBodyModelParagraphsIframe.html | 10 ++-- ...odyModelParagraphsIframeMediaResource.html | 10 ++-- ...PostContentBodyModelParagraphsMarkups.html | 10 ++-- ...ostContentBodyModelParagraphsMetadata.html | 10 ++-- .../get_post/struct.GetPostPostCreator.html | 10 ++-- .../data/get_post/struct.ResponseData.html | 10 ++-- libmedium/data/get_post/struct.Variables.html | 4 +- libmedium/data/get_post/type.Boolean.html | 2 +- libmedium/data/get_post/type.Float.html | 2 +- libmedium/data/get_post/type.ID.html | 2 +- libmedium/data/get_post/type.Int.html | 2 +- libmedium/data/index.html | 5 +- libmedium/data/sidebar-items.js | 2 +- libmedium/data/struct.Data.html | 4 +- libmedium/data/struct.GetPost.html | 4 +- libmedium/data/type.AppData.html | 2 +- libmedium/data/type.PostResp.html | 2 +- libmedium/struct.Data.html | 4 +- libmedium/type.AppData.html | 2 +- search-index.js | 2 +- src/libmedium/data.rs.html | 50 ++++++++++++++++++- 32 files changed, 127 insertions(+), 77 deletions(-) create mode 100644 libmedium/data/constant.CACHE_VERSION.html diff --git a/libmedium/all.html b/libmedium/all.html index c44de06..90fd5a3 100644 --- a/libmedium/all.html +++ b/libmedium/all.html @@ -1,5 +1,5 @@ List of all items in this crate

List of all items[] -

Structs

Traits

Functions

Typedefs

Constants

+

Structs

Traits

Functions

Typedefs

Constants

\ No newline at end of file diff --git a/libmedium/constant.GIT_COMMIT_HASH.html b/libmedium/constant.GIT_COMMIT_HASH.html index 8b651b8..ccc30a6 100644 --- a/libmedium/constant.GIT_COMMIT_HASH.html +++ b/libmedium/constant.GIT_COMMIT_HASH.html @@ -1,3 +1,3 @@ -GIT_COMMIT_HASH in libmedium - Rust

Constant libmedium::GIT_COMMIT_HASH[][src]

pub const GIT_COMMIT_HASH: &str = "14c7225f82bcc6031a2d5760a4ac1e8575f3ba27";
+GIT_COMMIT_HASH in libmedium - Rust

Constant libmedium::GIT_COMMIT_HASH[][src]

pub const GIT_COMMIT_HASH: &str = "745d97acfd4993b24cee153867b7d9bad0ea452f";
\ No newline at end of file diff --git a/libmedium/data/constant.CACHE_VERSION.html b/libmedium/data/constant.CACHE_VERSION.html new file mode 100644 index 0000000..a867b9b --- /dev/null +++ b/libmedium/data/constant.CACHE_VERSION.html @@ -0,0 +1,3 @@ +CACHE_VERSION in libmedium::data - Rust

Constant libmedium::data::CACHE_VERSION[][src]

const CACHE_VERSION: usize = 1;
+ + \ No newline at end of file diff --git a/libmedium/data/get_post/constant.OPERATION_NAME.html b/libmedium/data/get_post/constant.OPERATION_NAME.html index 44b42f2..6d2d62b 100644 --- a/libmedium/data/get_post/constant.OPERATION_NAME.html +++ b/libmedium/data/get_post/constant.OPERATION_NAME.html @@ -1,3 +1,3 @@ -OPERATION_NAME in libmedium::data::get_post - Rust

Constant libmedium::data::get_post::OPERATION_NAME[][src]

pub const OPERATION_NAME: &str = "GetPost";
+OPERATION_NAME in libmedium::data::get_post - Rust

Constant libmedium::data::get_post::OPERATION_NAME[][src]

pub const OPERATION_NAME: &str = "GetPost";
\ No newline at end of file diff --git a/libmedium/data/get_post/constant.QUERY.html b/libmedium/data/get_post/constant.QUERY.html index c24646a..c8bad7c 100644 --- a/libmedium/data/get_post/constant.QUERY.html +++ b/libmedium/data/get_post/constant.QUERY.html @@ -1,3 +1,3 @@ -QUERY in libmedium::data::get_post - Rust

Constant libmedium::data::get_post::QUERY[][src]

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";
+QUERY in libmedium::data::get_post - Rust

Constant libmedium::data::get_post::QUERY[][src]

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";
\ No newline at end of file diff --git a/libmedium/data/get_post/constant.__QUERY_WORKAROUND.html b/libmedium/data/get_post/constant.__QUERY_WORKAROUND.html index 3b42ebc..6607fa0 100644 --- a/libmedium/data/get_post/constant.__QUERY_WORKAROUND.html +++ b/libmedium/data/get_post/constant.__QUERY_WORKAROUND.html @@ -1,3 +1,3 @@ -__QUERY_WORKAROUND in libmedium::data::get_post - Rust

Constant libmedium::data::get_post::__QUERY_WORKAROUND[][src]

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";
+__QUERY_WORKAROUND in libmedium::data::get_post - Rust

Constant libmedium::data::get_post::__QUERY_WORKAROUND[][src]

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";
\ No newline at end of file diff --git a/libmedium/data/get_post/index.html b/libmedium/data/get_post/index.html index 3947685..00ed82f 100644 --- a/libmedium/data/get_post/index.html +++ b/libmedium/data/get_post/index.html @@ -1,4 +1,4 @@ -libmedium::data::get_post - Rust

Module libmedium::data::get_post[][src]

Structs

+libmedium::data::get_post - Rust

Module libmedium::data::get_post[][src]

Structs

Constants

Type Definitions

diff --git a/libmedium/data/get_post/struct.GetPostPost.html b/libmedium/data/get_post/struct.GetPostPost.html index 0571575..3e5ae9f 100644 --- a/libmedium/data/get_post/struct.GetPostPost.html +++ b/libmedium/data/get_post/struct.GetPostPost.html @@ -1,13 +1,13 @@ -GetPostPost in libmedium::data::get_post - Rust

Struct libmedium::data::get_post::GetPostPost[][src]

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: Stringcreated_at: i64creator: GetPostPostCreatorcontent: GetPostPostContent

Trait Implementations

Returns a copy of the value. Read more

+}

Fields

title: Stringcreated_at: i64creator: GetPostPostCreatorcontent: GetPostPostContent

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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 3290c68..c729b0f 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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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 65d0091..1f978df 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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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 2040dc6..325f1a4 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: Stringtype_: Stringhref: Option<String>layout: Option<String>markups: Vec<GetPostPostContentBodyModelParagraphsMarkups>iframe: Option<GetPostPostContentBodyModelParagraphsIframe>metadata: Option<GetPostPostContentBodyModelParagraphsMetadata>

Trait Implementations

Fields

text: Stringtype_: Stringhref: Option<String>layout: Option<String>markups: Vec<GetPostPostContentBodyModelParagraphsMarkups>iframe: Option<GetPostPostContentBodyModelParagraphsIframe>metadata: Option<GetPostPostContentBodyModelParagraphsMetadata>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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 f6b5a67..868c170 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

Fields

media_resource: Option<GetPostPostContentBodyModelParagraphsIframeMediaResource>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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 716172d..8021a5a 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: Stringiframe_src: Stringiframe_width: i64iframe_height: Option<i64>

Trait Implementations

Fields

href: Stringiframe_src: Stringiframe_width: i64iframe_height: Option<i64>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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 30c548b..342b7c2 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_: Stringhref: Option<String>user_id: Option<String>start: i64end: i64anchor_type: Option<String>

Trait Implementations

Fields

title: Option<String>type_: Stringhref: Option<String>user_id: Option<String>start: i64end: i64anchor_type: Option<String>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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 6bcbbfb..7308868 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: Stringoriginal_width: Option<i64>original_height: Option<i64>

Trait Implementations

Fields

id: Stringoriginal_width: Option<i64>original_height: Option<i64>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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 533045b..275d787 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]

pub struct GetPostPostCreator {
     pub name: String,
     pub id: String,
     pub image_id: String,
-}

Fields

name: Stringid: Stringimage_id: String

Trait Implementations

Returns a copy of the value. Read more

+}

Fields

name: Stringid: Stringimage_id: String

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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 f30e17b..78aaefe 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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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 3741300..e784ecb 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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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 2994c7e..9377c50 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 0c1f612..db179cb 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 5e9aee6..2359661 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 d5402a5..967cc8c 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 5d42c7e..f6f8fbe 100644 --- a/libmedium/data/index.html +++ b/libmedium/data/index.html @@ -1,6 +1,7 @@ -libmedium::data - Rust

Module libmedium::data[][src]

Modules

+libmedium::data - Rust

Module libmedium::data[][src]

Modules

Structs

-

Type Definitions

+

Constants

+

Type Definitions

\ No newline at end of file diff --git a/libmedium/data/sidebar-items.js b/libmedium/data/sidebar-items.js index 72786a2..bdcfa09 100644 --- a/libmedium/data/sidebar-items.js +++ b/libmedium/data/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"mod":[["get_post",""]],"struct":[["Data",""],["GetPost",""]],"type":[["AppData",""],["PostResp",""]]}); \ No newline at end of file +initSidebarItems({"constant":[["CACHE_VERSION",""]],"mod":[["get_post",""]],"struct":[["Data",""],["GetPost",""]],"type":[["AppData",""],["PostResp",""]]}); \ No newline at end of file diff --git a/libmedium/data/struct.Data.html b/libmedium/data/struct.Data.html index 5a73e02..0c32264 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: Clientcache: Dbposts: Tree

Implementations

pub async fn get_post(&self, id: &str) -> GetPostPost

Trait Implementations

Returns a copy of the value. Read more

+}

Fields

client: Clientcache: Dbposts: Tree

Implementations

pub async fn get_post(&self, id: &str) -> GetPostPost

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

diff --git a/libmedium/data/struct.GetPost.html b/libmedium/data/struct.GetPost.html index bb84627..0b1a409 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.

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

diff --git a/libmedium/data/type.AppData.html b/libmedium/data/type.AppData.html index d2502ce..30360c8 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 981a596..6b05dfe 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/struct.Data.html b/libmedium/struct.Data.html index f31692c..3d96b7e 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: Clientcache: Dbposts: Tree

Implementations

pub async fn get_post(&self, id: &str) -> GetPostPost

Trait Implementations

Returns a copy of the value. Read more

+}

Fields

client: Clientcache: Dbposts: Tree

Implementations

pub async fn get_post(&self, id: &str) -> GetPostPost

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

diff --git a/libmedium/type.AppData.html b/libmedium/type.AppData.html index 84efad9..25e8109 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 978b328..15b7e8e 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,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,17,3,8,3,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,12,3,11,11,11,11,11,11,11,11,3,11,11,11,11,11,0,5,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,11,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","CACHE_AGE","INDEX","Post","StringUtils","assets","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","data","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","from","from","from","from","id","index","init","init","init","init","into","into","into","into","page","register","register","register","render_once","render_once_to","routes","services","slice","substring","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","Proxy","asset","borrow","borrow_mut","deref","deref_mut","drop","from","get_medium_asset","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,0,0,19,20,21,22,19,20,21,22,19,19,20,21,22,19,20,21,22,19,20,21,22,19,20,21,22,19,0,19,20,21,22,19,20,21,22,0,20,21,22,19,19,0,0,23,23,19,20,21,22,19,20,21,22,19,20,21,22,19,20,21,22,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,0,25,25,25,25,25,25,25,25,25,25,25,0,25,25,25,25,0,0,26,3,26,3,3,0,26,3,26,3,3,26,3,26,3,26,3,26,26,3,26,3,26,3,26,26,3,26,3,26,3,26,26,3,3,26,3,26,3,26,3,26,3,26,3,26],"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,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]]],[[]],[[]],[[]],[[]],null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],null,[[["appservice",3]]],[[["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]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],null,null,[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["str",15]],["string",3]],[[["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,"assets"],[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,17,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,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,17,3,8,3,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,12,3,11,11,11,11,11,11,11,11,3,11,11,11,11,11,0,5,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,11,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","CACHE_VERSION","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","migrate","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","CACHE_AGE","INDEX","Post","StringUtils","assets","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","data","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","from","from","from","from","id","index","init","init","init","init","into","into","into","into","page","register","register","register","render_once","render_once_to","routes","services","slice","substring","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","Proxy","asset","borrow","borrow_mut","deref","deref_mut","drop","from","get_medium_asset","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,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,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,0,0,19,20,21,22,19,20,21,22,19,19,20,21,22,19,20,21,22,19,20,21,22,19,20,21,22,19,0,19,20,21,22,19,20,21,22,0,20,21,22,19,19,0,0,23,23,19,20,21,22,19,20,21,22,19,20,21,22,19,20,21,22,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,0,25,25,25,25,25,25,25,25,25,25,25,0,25,25,25,25,0,0,26,3,26,3,3,0,26,3,26,3,3,26,3,26,3,26,3,26,26,3,26,3,26,3,26,26,3,26,3,26,3,26,26,3,3,26,3,26,3,26,3,26,3,26,3,26],"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,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,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]]],[[]],[[]],[[]],[[]],null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],null,[[["appservice",3]]],[[["appservice",3]]],[[["appservice",3]]],[[],["renderresult",6]],[[["buffer",3]],[["rendererror",4],["result",4,["rendererror"]]]],null,[[["serviceconfig",3]]],[[],["str",15]],[[["usize",15]],["str",15]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],null,null,[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["str",15]],["string",3]],[[["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,"assets"],[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 6dd7dcb..8d6a4cd 100644 --- a/src/libmedium/data.rs.html +++ b/src/libmedium/data.rs.html @@ -73,6 +73,29 @@ 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
/*
  * Copyright (C) 2021  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -94,10 +117,13 @@
 use actix_web::web;
 use graphql_client::{reqwest::post_graphql, GraphQLQuery};
 use reqwest::Client;
+use serde::{Deserialize, Serialize};
 use sled::{Db, Tree};
 
 use crate::SETTINGS;
 
+const CACHE_VERSION: usize = 1;
+
 #[derive(Clone)]
 pub struct Data {
     pub client: Client,
@@ -122,11 +148,31 @@
         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 {
+        let res = Self {
             client: Client::new(),
             cache,
             posts,
-        })
+        };
+        res.migrate();
+
+        AppData::new(res)
+    }
+
+    fn migrate(&self) {
+        const KEY: &str = "POST_CACHE_VERSION";
+        let mut clean = true;
+        if let Ok(Some(v)) = self.posts.get(KEY) {
+            let version = bincode::deserialize::<usize>(&v[..]).unwrap();
+            clean = !(version == CACHE_VERSION);
+        }
+
+        if clean {
+            self.posts.clear().unwrap();
+            self.posts.flush().unwrap();
+            self.posts
+                .insert(KEY, bincode::serialize(&CACHE_VERSION).unwrap())
+                .unwrap();
+        }
     }
 
     pub async fn get_post(&self, id: &str) -> PostResp {