List of all items[−]
+List of all items in this crate
+ List of all items[−]
-
Structs
- Data
- SETTINGS
- Settings
- data::Data
- data::GetPost
- data::GetPostLight
- data::GistContent
- data::GistFile
- data::PostUrl
- data::get_post::GetPostPost
- data::get_post::GetPostPostContent
- data::get_post::GetPostPostContentBodyModel
- data::get_post::GetPostPostContentBodyModelParagraphs
- data::get_post::GetPostPostContentBodyModelParagraphsIframe
- data::get_post::GetPostPostContentBodyModelParagraphsIframeMediaResource
- data::get_post::GetPostPostContentBodyModelParagraphsMarkups
- data::get_post::GetPostPostContentBodyModelParagraphsMetadata
- data::get_post::GetPostPostCreator
- data::get_post::GetPostPostPreviewContent
- data::get_post::GetPostPostPreviewImage
- data::get_post::ResponseData
- data::get_post::Variables
- data::get_post_light::GetPostLightPost
- data::get_post_light::GetPostLightPostCreator
- data::get_post_light::ResponseData
- data::get_post_light::Variables
- meta::BuildDetails
- meta::build_details
- meta::routes::Meta
- proxy::Post
- proxy::assets
- proxy::by_post_id
- proxy::index
- proxy::page
- proxy::routes::Proxy
- routes::Routes
- settings::Server
- settings::Settings
Traits
Functions
Typedefs
- AppData
- data::AppData
- data::PostResp
- data::get_post::Boolean
- data::get_post::Float
- data::get_post::ID
- data::get_post::Int
- data::get_post_light::Boolean
- data::get_post_light::Float
- data::get_post_light::ID
- data::get_post_light::Int
Constants
- CACHE_AGE
- GIT_COMMIT_HASH
- PKG_DESCRIPTION
- PKG_HOMEPAGE
- PKG_NAME
- V1_API_ROUTES
- VERSION
- data::GIST_CACHE_VERSION
- data::POST_CACHE_VERSION
- data::get_post::OPERATION_NAME
- data::get_post::QUERY
- data::get_post::__QUERY_WORKAROUND
- data::get_post_light::OPERATION_NAME
- data::get_post_light::QUERY
- data::get_post_light::__QUERY_WORKAROUND
- proxy::CACHE_AGE
- proxy::INDEX
- routes::ROUTES
+ Structs
- Data
- SETTINGS
- Settings
- data::Data
- data::GetPost
- data::GetPostLight
- data::GistContent
- data::GistFile
- data::PostUrl
- data::get_post::GetPostPost
- data::get_post::GetPostPostContent
- data::get_post::GetPostPostContentBodyModel
- data::get_post::GetPostPostContentBodyModelParagraphs
- data::get_post::GetPostPostContentBodyModelParagraphsIframe
- data::get_post::GetPostPostContentBodyModelParagraphsIframeMediaResource
- data::get_post::GetPostPostContentBodyModelParagraphsMarkups
- data::get_post::GetPostPostContentBodyModelParagraphsMetadata
- data::get_post::GetPostPostCreator
- data::get_post::GetPostPostPreviewContent
- data::get_post::GetPostPostPreviewImage
- data::get_post::ResponseData
- data::get_post::Variables
- data::get_post_light::GetPostLightPost
- data::get_post_light::GetPostLightPostCreator
- data::get_post_light::ResponseData
- data::get_post_light::Variables
- meta::BuildDetails
- meta::build_details
- meta::routes::Meta
- proxy::Post
- proxy::assets
- proxy::by_post_id
- proxy::index
- proxy::page
- proxy::routes::Proxy
- render_html::SourcegraphQuery
- routes::Routes
- settings::Server
- settings::Settings
Traits
Functions
Typedefs
- AppData
- data::AppData
- data::PostResp
- data::get_post::Boolean
- data::get_post::Float
- data::get_post::ID
- data::get_post::Int
- data::get_post_light::Boolean
- data::get_post_light::Float
- data::get_post_light::ID
- data::get_post_light::Int
Constants
- CACHE_AGE
- GIT_COMMIT_HASH
- PKG_DESCRIPTION
- PKG_HOMEPAGE
- PKG_NAME
- V1_API_ROUTES
- VERSION
- data::GIST_CACHE_VERSION
- data::POST_CACHE_VERSION
- data::get_post::OPERATION_NAME
- data::get_post::QUERY
- data::get_post::__QUERY_WORKAROUND
- data::get_post_light::OPERATION_NAME
- data::get_post_light::QUERY
- data::get_post_light::__QUERY_WORKAROUND
- proxy::CACHE_AGE
- proxy::INDEX
- render_html::STYLE
- render_html::SYNTAX_SET
- routes::ROUTES
\ No newline at end of file
diff --git a/libmedium/constant.CACHE_AGE.html b/libmedium/constant.CACHE_AGE.html
index 1d2eaeb..639019f 100644
--- a/libmedium/constant.CACHE_AGE.html
+++ b/libmedium/constant.CACHE_AGE.html
@@ -1,3 +1,4 @@
-CACHE_AGE in libmedium - Rust
- Constant libmedium::CACHE_AGE [−][src]
pub const CACHE_AGE: u32 = 604800;
+CACHE_AGE in libmedium - Rust
+
\ No newline at end of file
diff --git a/libmedium/constant.GIT_COMMIT_HASH.html b/libmedium/constant.GIT_COMMIT_HASH.html
index a1d5d9b..1b756d5 100644
--- a/libmedium/constant.GIT_COMMIT_HASH.html
+++ b/libmedium/constant.GIT_COMMIT_HASH.html
@@ -1,3 +1,4 @@
-GIT_COMMIT_HASH in libmedium - Rust
- Constant libmedium::GIT_COMMIT_HASH [−][src]
pub const GIT_COMMIT_HASH: &str = "8e6fd2bfaea2c882b8f943ab714bcc7ab8969f4a";
+GIT_COMMIT_HASH in libmedium - Rust
+ Constant libmedium::GIT_COMMIT_HASH [−][src]
pub const GIT_COMMIT_HASH: &str = "46940309462d6939db1974e3923ff4d7a3903c0c";
\ No newline at end of file
diff --git a/libmedium/constant.PKG_DESCRIPTION.html b/libmedium/constant.PKG_DESCRIPTION.html
index c68c6ed..34e22cc 100644
--- a/libmedium/constant.PKG_DESCRIPTION.html
+++ b/libmedium/constant.PKG_DESCRIPTION.html
@@ -1,3 +1,4 @@
-PKG_DESCRIPTION in libmedium - Rust
- Constant libmedium::PKG_DESCRIPTION [−][src]
pub const PKG_DESCRIPTION: &str = "";
+PKG_DESCRIPTION in libmedium - Rust
+ Constant libmedium::PKG_DESCRIPTION [−][src]
pub const PKG_DESCRIPTION: &str = "";
\ No newline at end of file
diff --git a/libmedium/constant.PKG_HOMEPAGE.html b/libmedium/constant.PKG_HOMEPAGE.html
index a1d74d7..40a728c 100644
--- a/libmedium/constant.PKG_HOMEPAGE.html
+++ b/libmedium/constant.PKG_HOMEPAGE.html
@@ -1,3 +1,4 @@
-PKG_HOMEPAGE in libmedium - Rust
- Constant libmedium::PKG_HOMEPAGE [−][src]
pub const PKG_HOMEPAGE: &str = "https://github.com/realaravinth/libmedium";
+PKG_HOMEPAGE in libmedium - Rust
+ Constant libmedium::PKG_HOMEPAGE [−][src]
pub const PKG_HOMEPAGE: &str = "https://github.com/realaravinth/libmedium";
\ No newline at end of file
diff --git a/libmedium/constant.PKG_NAME.html b/libmedium/constant.PKG_NAME.html
index fa6df3e..8fb351c 100644
--- a/libmedium/constant.PKG_NAME.html
+++ b/libmedium/constant.PKG_NAME.html
@@ -1,3 +1,4 @@
-PKG_NAME in libmedium - Rust
- Constant libmedium::PKG_NAME [−][src]
pub const PKG_NAME: &str = "libmedium";
+PKG_NAME in libmedium - Rust
+
\ No newline at end of file
diff --git a/libmedium/constant.V1_API_ROUTES.html b/libmedium/constant.V1_API_ROUTES.html
index e961861..16713de 100644
--- a/libmedium/constant.V1_API_ROUTES.html
+++ b/libmedium/constant.V1_API_ROUTES.html
@@ -1,3 +1,4 @@
-V1_API_ROUTES in libmedium - Rust
- Constant libmedium::V1_API_ROUTES [−][src]
pub const V1_API_ROUTES: Routes;
+V1_API_ROUTES in libmedium - Rust
+ Constant libmedium::V1_API_ROUTES [−][src]
pub const V1_API_ROUTES: Routes;
\ No newline at end of file
diff --git a/libmedium/constant.VERSION.html b/libmedium/constant.VERSION.html
index ebffe99..cc984ec 100644
--- a/libmedium/constant.VERSION.html
+++ b/libmedium/constant.VERSION.html
@@ -1,3 +1,4 @@
-VERSION in libmedium - Rust
- Constant libmedium::VERSION [−][src]
pub const VERSION: &str = "0.1.0";
+VERSION in libmedium - Rust
+
\ No newline at end of file
diff --git a/libmedium/data/constant.GIST_CACHE_VERSION.html b/libmedium/data/constant.GIST_CACHE_VERSION.html
index de7f1b8..9df604f 100644
--- a/libmedium/data/constant.GIST_CACHE_VERSION.html
+++ b/libmedium/data/constant.GIST_CACHE_VERSION.html
@@ -1,3 +1,4 @@
-GIST_CACHE_VERSION in libmedium::data - Rust
- Constant libmedium::data::GIST_CACHE_VERSION [−][src]
const GIST_CACHE_VERSION: usize = 1;
+GIST_CACHE_VERSION in libmedium::data - Rust
+
\ No newline at end of file
diff --git a/libmedium/data/constant.POST_CACHE_VERSION.html b/libmedium/data/constant.POST_CACHE_VERSION.html
index c31e691..19860ca 100644
--- a/libmedium/data/constant.POST_CACHE_VERSION.html
+++ b/libmedium/data/constant.POST_CACHE_VERSION.html
@@ -1,3 +1,4 @@
-POST_CACHE_VERSION in libmedium::data - Rust
- Constant libmedium::data::POST_CACHE_VERSION [−][src]
const POST_CACHE_VERSION: usize = 3;
+POST_CACHE_VERSION in libmedium::data - Rust
+
\ 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 f2e75c0..483e8db 100644
--- a/libmedium/data/get_post/constant.OPERATION_NAME.html
+++ b/libmedium/data/get_post/constant.OPERATION_NAME.html
@@ -1,3 +1,4 @@
-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
+
\ 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 51c8ada..07a2b7b 100644
--- a/libmedium/data/get_post/constant.QUERY.html
+++ b/libmedium/data/get_post/constant.QUERY.html
@@ -1,3 +1,4 @@
-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 readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\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 readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\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 de93578..31296d0 100644
--- a/libmedium/data/get_post/constant.__QUERY_WORKAROUND.html
+++ b/libmedium/data/get_post/constant.__QUERY_WORKAROUND.html
@@ -1,3 +1,4 @@
-__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 readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\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 readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\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 a1f8701..0073f4f 100644
--- a/libmedium/data/get_post/index.html
+++ b/libmedium/data/get_post/index.html
@@ -1,6 +1,7 @@
-libmedium::data::get_post - Rust
- Module libmedium::data::get_post [−][src]
Structs
+libmedium::data::get_post - Rust
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.GetPostPost.html b/libmedium/data/get_post/struct.GetPostPost.html
index 6d39485..bf79447 100644
--- a/libmedium/data/get_post/struct.GetPostPost.html
+++ b/libmedium/data/get_post/struct.GetPostPost.html
@@ -1,44 +1,45 @@
-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 reading_time: f64,
- pub unique_slug: String,
+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 reading_time: f64,
+ pub unique_slug: String,
pub creator: GetPostPostCreator,
- pub preview_image: Option<GetPostPostPreviewImage>,
- pub preview_content: Option<GetPostPostPreviewContent>,
+ pub preview_image: Option<GetPostPostPreviewImage>,
+ pub preview_content: Option<GetPostPostPreviewContent>,
pub content: GetPostPostContent,
-}
Fields
title: String
created_at: i64
reading_time: f64
unique_slug: String
creator: GetPostPostCreator
preview_image: Option<GetPostPostPreviewImage>
preview_content: Option<GetPostPostPreviewContent>
content: GetPostPostContent
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
-
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
-
Performs the conversion.
+}Fields
title: String
created_at: i64
reading_time: f64
unique_slug: String
creator: GetPostPostCreator
preview_image: Option<GetPostPostPreviewImage>
preview_content: Option<GetPostPostPreviewContent>
content: GetPostPostContent
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
+
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.GetPostPostContent.html b/libmedium/data/get_post/struct.GetPostPostContent.html
index e3b98aa..0a10630 100644
--- a/libmedium/data/get_post/struct.GetPostPostContent.html
+++ b/libmedium/data/get_post/struct.GetPostPostContent.html
@@ -1,37 +1,38 @@
-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
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
-
Performs the conversion.
+}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
+
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.GetPostPostContentBodyModel.html b/libmedium/data/get_post/struct.GetPostPostContentBodyModel.html
index 55b3304..fe0a5f9 100644
--- a/libmedium/data/get_post/struct.GetPostPostContentBodyModel.html
+++ b/libmedium/data/get_post/struct.GetPostPostContentBodyModel.html
@@ -1,37 +1,38 @@
-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
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
-
Performs the conversion.
+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
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphs.html b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphs.html
index 2e7027f..29f569b 100644
--- a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphs.html
+++ b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphs.html
@@ -1,43 +1,44 @@
-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>,
- pub layout: Option<String>,
- 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
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
-
Performs the conversion.
+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>,
+ pub layout: Option<String>,
+ 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
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframe.html b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframe.html
index 83cc7f0..d2d7241 100644
--- a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframe.html
+++ b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframe.html
@@ -1,37 +1,38 @@
-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
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
-
Performs the conversion.
+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
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframeMediaResource.html b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframeMediaResource.html
index d451521..bf91284 100644
--- a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframeMediaResource.html
+++ b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsIframeMediaResource.html
@@ -1,40 +1,41 @@
-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
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
-
Performs the conversion.
+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
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMarkups.html b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMarkups.html
index c3db0b6..9c4d242 100644
--- a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMarkups.html
+++ b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMarkups.html
@@ -1,43 +1,44 @@
-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>,
- pub user_id: Option<String>,
- 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
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
-
Performs the conversion.
+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>,
+ pub user_id: Option<String>,
+ 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
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMetadata.html b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMetadata.html
index 6d3276f..0f8941d 100644
--- a/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMetadata.html
+++ b/libmedium/data/get_post/struct.GetPostPostContentBodyModelParagraphsMetadata.html
@@ -1,39 +1,40 @@
-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
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
-
Performs the conversion.
+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
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.GetPostPostCreator.html b/libmedium/data/get_post/struct.GetPostPostCreator.html
index 7b6d5de..98cef3f 100644
--- a/libmedium/data/get_post/struct.GetPostPostCreator.html
+++ b/libmedium/data/get_post/struct.GetPostPostCreator.html
@@ -1,40 +1,41 @@
-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,
- pub username: String,
-}
Fields
name: String
id: String
image_id: String
username: 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
-
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
-
Performs the conversion.
+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,
+ pub username: String,
+}
Fields
name: String
id: String
image_id: String
username: 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
+
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.GetPostPostPreviewContent.html b/libmedium/data/get_post/struct.GetPostPostPreviewContent.html
index 07fa564..9a34caf 100644
--- a/libmedium/data/get_post/struct.GetPostPostPreviewContent.html
+++ b/libmedium/data/get_post/struct.GetPostPostPreviewContent.html
@@ -1,37 +1,38 @@
-GetPostPostPreviewContent in libmedium::data::get_post - Rust
- Struct libmedium::data::get_post::GetPostPostPreviewContent [−][src]
pub struct GetPostPostPreviewContent {
- pub subtitle: String,
-}
Fields
subtitle: 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
-
Auto Trait Implementations
impl RefUnwindSafe for GetPostPostPreviewContent
impl Send for GetPostPostPreviewContent
impl Sync for GetPostPostPreviewContent
impl Unpin for GetPostPostPreviewContent
impl UnwindSafe for GetPostPostPreviewContent
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+GetPostPostPreviewContent in libmedium::data::get_post - Rust
+ Struct libmedium::data::get_post::GetPostPostPreviewContent [−][src]
pub struct GetPostPostPreviewContent {
+ pub subtitle: String,
+}
Fields
subtitle: 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
+
Auto Trait Implementations
impl RefUnwindSafe for GetPostPostPreviewContent
impl Send for GetPostPostPreviewContent
impl Sync for GetPostPostPreviewContent
impl Unpin for GetPostPostPreviewContent
impl UnwindSafe for GetPostPostPreviewContent
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.GetPostPostPreviewImage.html b/libmedium/data/get_post/struct.GetPostPostPreviewImage.html
index dc19244..7531bf1 100644
--- a/libmedium/data/get_post/struct.GetPostPostPreviewImage.html
+++ b/libmedium/data/get_post/struct.GetPostPostPreviewImage.html
@@ -1,37 +1,38 @@
-GetPostPostPreviewImage in libmedium::data::get_post - Rust
- Struct libmedium::data::get_post::GetPostPostPreviewImage [−][src]
Fields
id: 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
-
Auto Trait Implementations
impl RefUnwindSafe for GetPostPostPreviewImage
impl Send for GetPostPostPreviewImage
impl Sync for GetPostPostPreviewImage
impl Unpin for GetPostPostPreviewImage
impl UnwindSafe for GetPostPostPreviewImage
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+GetPostPostPreviewImage in libmedium::data::get_post - Rust
+ Struct libmedium::data::get_post::GetPostPostPreviewImage [−][src]
Fields
id: 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
+
Auto Trait Implementations
impl RefUnwindSafe for GetPostPostPreviewImage
impl Send for GetPostPostPreviewImage
impl Sync for GetPostPostPreviewImage
impl Unpin for GetPostPostPreviewImage
impl UnwindSafe for GetPostPostPreviewImage
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.ResponseData.html b/libmedium/data/get_post/struct.ResponseData.html
index 6852786..6a3be98 100644
--- a/libmedium/data/get_post/struct.ResponseData.html
+++ b/libmedium/data/get_post/struct.ResponseData.html
@@ -1,37 +1,38 @@
-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
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
-
Performs the conversion.
+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
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/struct.Variables.html b/libmedium/data/get_post/struct.Variables.html
index d96bb62..fc21858 100644
--- a/libmedium/data/get_post/struct.Variables.html
+++ b/libmedium/data/get_post/struct.Variables.html
@@ -1,30 +1,31 @@
-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
Auto Trait Implementations
impl RefUnwindSafe for Variables
impl UnwindSafe for Variables
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+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
Auto Trait Implementations
impl RefUnwindSafe for Variables
impl UnwindSafe for Variables
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post/type.Boolean.html b/libmedium/data/get_post/type.Boolean.html
index 19f13c9..94ef571 100644
--- a/libmedium/data/get_post/type.Boolean.html
+++ b/libmedium/data/get_post/type.Boolean.html
@@ -1,3 +1,4 @@
-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
+
\ 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 a880895..03e2a05 100644
--- a/libmedium/data/get_post/type.Float.html
+++ b/libmedium/data/get_post/type.Float.html
@@ -1,3 +1,4 @@
-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
+
\ 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 3efa526..29b010b 100644
--- a/libmedium/data/get_post/type.ID.html
+++ b/libmedium/data/get_post/type.ID.html
@@ -1,3 +1,4 @@
-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
+
\ 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 3838be0..5484034 100644
--- a/libmedium/data/get_post/type.Int.html
+++ b/libmedium/data/get_post/type.Int.html
@@ -1,3 +1,4 @@
-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
+
\ No newline at end of file
diff --git a/libmedium/data/get_post_light/constant.OPERATION_NAME.html b/libmedium/data/get_post_light/constant.OPERATION_NAME.html
index b846022..7d592ab 100644
--- a/libmedium/data/get_post_light/constant.OPERATION_NAME.html
+++ b/libmedium/data/get_post_light/constant.OPERATION_NAME.html
@@ -1,3 +1,4 @@
-OPERATION_NAME in libmedium::data::get_post_light - Rust
- Constant libmedium::data::get_post_light::OPERATION_NAME [−][src]
pub const OPERATION_NAME: &str = "GetPostLight";
+OPERATION_NAME in libmedium::data::get_post_light - Rust
+ Constant libmedium::data::get_post_light::OPERATION_NAME [−][src]
pub const OPERATION_NAME: &str = "GetPostLight";
\ No newline at end of file
diff --git a/libmedium/data/get_post_light/constant.QUERY.html b/libmedium/data/get_post_light/constant.QUERY.html
index f3bc421..754f17f 100644
--- a/libmedium/data/get_post_light/constant.QUERY.html
+++ b/libmedium/data/get_post_light/constant.QUERY.html
@@ -1,3 +1,4 @@
-QUERY in libmedium::data::get_post_light - Rust
- Constant libmedium::data::get_post_light::QUERY [−][src]
pub const QUERY: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\n }\n }\n}\n";
+QUERY in libmedium::data::get_post_light - Rust
+ Constant libmedium::data::get_post_light::QUERY [−][src]
pub const QUERY: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\n }\n }\n}\n";
\ No newline at end of file
diff --git a/libmedium/data/get_post_light/constant.__QUERY_WORKAROUND.html b/libmedium/data/get_post_light/constant.__QUERY_WORKAROUND.html
index 074c94b..9b7c1a7 100644
--- a/libmedium/data/get_post_light/constant.__QUERY_WORKAROUND.html
+++ b/libmedium/data/get_post_light/constant.__QUERY_WORKAROUND.html
@@ -1,3 +1,4 @@
-__QUERY_WORKAROUND in libmedium::data::get_post_light - Rust
- Constant libmedium::data::get_post_light::__QUERY_WORKAROUND [−][src]
const __QUERY_WORKAROUND: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\n }\n }\n}\n";
+__QUERY_WORKAROUND in libmedium::data::get_post_light - Rust
+ Constant libmedium::data::get_post_light::__QUERY_WORKAROUND [−][src]
const __QUERY_WORKAROUND: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\n }\n }\n}\n";
\ No newline at end of file
diff --git a/libmedium/data/get_post_light/index.html b/libmedium/data/get_post_light/index.html
index cf18b76..f051745 100644
--- a/libmedium/data/get_post_light/index.html
+++ b/libmedium/data/get_post_light/index.html
@@ -1,6 +1,7 @@
-libmedium::data::get_post_light - Rust
- Module libmedium::data::get_post_light [−][src]
Structs
+libmedium::data::get_post_light - Rust
+
\ No newline at end of file
diff --git a/libmedium/data/get_post_light/struct.GetPostLightPost.html b/libmedium/data/get_post_light/struct.GetPostLightPost.html
index 9efff27..fe46169 100644
--- a/libmedium/data/get_post_light/struct.GetPostLightPost.html
+++ b/libmedium/data/get_post_light/struct.GetPostLightPost.html
@@ -1,38 +1,39 @@
-GetPostLightPost in libmedium::data::get_post_light - Rust
- Struct libmedium::data::get_post_light::GetPostLightPost [−][src]
pub struct GetPostLightPost {
- pub unique_slug: String,
+GetPostLightPost in libmedium::data::get_post_light - Rust
+ Struct libmedium::data::get_post_light::GetPostLightPost [−][src]
pub struct GetPostLightPost {
+ pub unique_slug: String,
pub creator: GetPostLightPostCreator,
-}
Fields
unique_slug: String
creator: GetPostLightPostCreator
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
-
Auto Trait Implementations
impl RefUnwindSafe for GetPostLightPost
impl Send for GetPostLightPost
impl Sync for GetPostLightPost
impl Unpin for GetPostLightPost
impl UnwindSafe for GetPostLightPost
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+}Fields
unique_slug: String
creator: GetPostLightPostCreator
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
+
Auto Trait Implementations
impl RefUnwindSafe for GetPostLightPost
impl Send for GetPostLightPost
impl Sync for GetPostLightPost
impl Unpin for GetPostLightPost
impl UnwindSafe for GetPostLightPost
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post_light/struct.GetPostLightPostCreator.html b/libmedium/data/get_post_light/struct.GetPostLightPostCreator.html
index d1a33be..06fa27b 100644
--- a/libmedium/data/get_post_light/struct.GetPostLightPostCreator.html
+++ b/libmedium/data/get_post_light/struct.GetPostLightPostCreator.html
@@ -1,37 +1,38 @@
-GetPostLightPostCreator in libmedium::data::get_post_light - Rust
- Struct libmedium::data::get_post_light::GetPostLightPostCreator [−][src]
pub struct GetPostLightPostCreator {
- pub username: String,
-}
Fields
username: 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
-
Auto Trait Implementations
impl RefUnwindSafe for GetPostLightPostCreator
impl Send for GetPostLightPostCreator
impl Sync for GetPostLightPostCreator
impl Unpin for GetPostLightPostCreator
impl UnwindSafe for GetPostLightPostCreator
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+GetPostLightPostCreator in libmedium::data::get_post_light - Rust
+ Struct libmedium::data::get_post_light::GetPostLightPostCreator [−][src]
pub struct GetPostLightPostCreator {
+ pub username: String,
+}
Fields
username: 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
+
Auto Trait Implementations
impl RefUnwindSafe for GetPostLightPostCreator
impl Send for GetPostLightPostCreator
impl Sync for GetPostLightPostCreator
impl Unpin for GetPostLightPostCreator
impl UnwindSafe for GetPostLightPostCreator
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post_light/struct.ResponseData.html b/libmedium/data/get_post_light/struct.ResponseData.html
index 44657c7..8a92b42 100644
--- a/libmedium/data/get_post_light/struct.ResponseData.html
+++ b/libmedium/data/get_post_light/struct.ResponseData.html
@@ -1,37 +1,38 @@
-ResponseData in libmedium::data::get_post_light - Rust
- Struct libmedium::data::get_post_light::ResponseData [−][src]
pub struct ResponseData {
- pub post: Option<GetPostLightPost>,
-}
Fields
post: Option<GetPostLightPost>
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
-
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
-
Performs the conversion.
+ResponseData in libmedium::data::get_post_light - Rust
+ Struct libmedium::data::get_post_light::ResponseData [−][src]
pub struct ResponseData {
+ pub post: Option<GetPostLightPost>,
+}
Fields
post: Option<GetPostLightPost>
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
+
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post_light/struct.Variables.html b/libmedium/data/get_post_light/struct.Variables.html
index 9f38d6f..a17f5b8 100644
--- a/libmedium/data/get_post_light/struct.Variables.html
+++ b/libmedium/data/get_post_light/struct.Variables.html
@@ -1,30 +1,31 @@
-Variables in libmedium::data::get_post_light - Rust
- Struct libmedium::data::get_post_light::Variables [−][src]
pub struct Variables {
- pub id: String,
-}
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
-
Performs the conversion.
+Variables in libmedium::data::get_post_light - Rust
+ Struct libmedium::data::get_post_light::Variables [−][src]
pub struct Variables {
+ pub id: String,
+}
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/get_post_light/type.Boolean.html b/libmedium/data/get_post_light/type.Boolean.html
index 211db98..b0b0d3f 100644
--- a/libmedium/data/get_post_light/type.Boolean.html
+++ b/libmedium/data/get_post_light/type.Boolean.html
@@ -1,3 +1,4 @@
-Boolean in libmedium::data::get_post_light - Rust
- Type Definition libmedium::data::get_post_light::Boolean [−][src]
type Boolean = bool;
+Boolean in libmedium::data::get_post_light - Rust
+
\ No newline at end of file
diff --git a/libmedium/data/get_post_light/type.Float.html b/libmedium/data/get_post_light/type.Float.html
index 93b8f40..f9fa4c1 100644
--- a/libmedium/data/get_post_light/type.Float.html
+++ b/libmedium/data/get_post_light/type.Float.html
@@ -1,3 +1,4 @@
-Float in libmedium::data::get_post_light - Rust
- Type Definition libmedium::data::get_post_light::Float [−][src]
type Float = f64;
+Float in libmedium::data::get_post_light - Rust
+
\ No newline at end of file
diff --git a/libmedium/data/get_post_light/type.ID.html b/libmedium/data/get_post_light/type.ID.html
index 172c92a..b1cc410 100644
--- a/libmedium/data/get_post_light/type.ID.html
+++ b/libmedium/data/get_post_light/type.ID.html
@@ -1,3 +1,4 @@
-ID in libmedium::data::get_post_light - Rust
- Type Definition libmedium::data::get_post_light::ID [−][src]
type ID = String;
+ID in libmedium::data::get_post_light - Rust
+
\ No newline at end of file
diff --git a/libmedium/data/get_post_light/type.Int.html b/libmedium/data/get_post_light/type.Int.html
index a5fff65..e233a19 100644
--- a/libmedium/data/get_post_light/type.Int.html
+++ b/libmedium/data/get_post_light/type.Int.html
@@ -1,3 +1,4 @@
-Int in libmedium::data::get_post_light - Rust
- Type Definition libmedium::data::get_post_light::Int [−][src]
type Int = i64;
+Int in libmedium::data::get_post_light - Rust
+
\ No newline at end of file
diff --git a/libmedium/data/index.html b/libmedium/data/index.html
index 690d174..5c7554a 100644
--- a/libmedium/data/index.html
+++ b/libmedium/data/index.html
@@ -1,7 +1,8 @@
-libmedium::data - Rust
- Module libmedium::data [−][src]
Modules
+libmedium::data - Rust
+
\ No newline at end of file
diff --git a/libmedium/data/struct.Data.html b/libmedium/data/struct.Data.html
index 9cb1358..62a019e 100644
--- a/libmedium/data/struct.Data.html
+++ b/libmedium/data/struct.Data.html
@@ -1,37 +1,38 @@
-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,
pub gists: Tree,
-}
Fields
client: Client
cache: Db
posts: Tree
gists: Tree
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Data
impl !UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+}Fields
client: Client
cache: Db
posts: Tree
gists: Tree
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Data
impl !UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/struct.GetPost.html b/libmedium/data/struct.GetPost.html
index cdb4098..c373a7e 100644
--- a/libmedium/data/struct.GetPost.html
+++ b/libmedium/data/struct.GetPost.html
@@ -1,30 +1,31 @@
-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.
-Auto Trait Implementations
impl RefUnwindSafe for GetPost
impl UnwindSafe for GetPost
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+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.
+Auto Trait Implementations
impl RefUnwindSafe for GetPost
impl UnwindSafe for GetPost
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/struct.GetPostLight.html b/libmedium/data/struct.GetPostLight.html
index 5018d8f..8c527c0 100644
--- a/libmedium/data/struct.GetPostLight.html
+++ b/libmedium/data/struct.GetPostLight.html
@@ -1,30 +1,31 @@
-GetPostLight in libmedium::data - Rust
- Struct libmedium::data::GetPostLight [−][src]
pub struct GetPostLight;
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.
-Auto Trait Implementations
impl RefUnwindSafe for GetPostLight
impl Send for GetPostLight
impl Sync for GetPostLight
impl Unpin for GetPostLight
impl UnwindSafe for GetPostLight
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+GetPostLight in libmedium::data - Rust
+ Struct libmedium::data::GetPostLight [−][src]
pub struct GetPostLight;
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.
+Auto Trait Implementations
impl RefUnwindSafe for GetPostLight
impl Send for GetPostLight
impl Sync for GetPostLight
impl Unpin for GetPostLight
impl UnwindSafe for GetPostLight
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/struct.GistContent.html b/libmedium/data/struct.GistContent.html
index e3d7dbc..9b3b3e7 100644
--- a/libmedium/data/struct.GistContent.html
+++ b/libmedium/data/struct.GistContent.html
@@ -1,32 +1,33 @@
-GistContent in libmedium::data - Rust
- Struct libmedium::data::GistContent [−][src]
Fields
files: Vec<GistFile>
html_url: 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
-
Auto Trait Implementations
impl RefUnwindSafe for GistContent
impl Send for GistContent
impl Sync for GistContent
impl Unpin for GistContent
impl UnwindSafe for GistContent
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+GistContent in libmedium::data - Rust
+ Struct libmedium::data::GistContent [−][src]
Fields
files: Vec<GistFile>
html_url: 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
+
Auto Trait Implementations
impl RefUnwindSafe for GistContent
impl Send for GistContent
impl Sync for GistContent
impl Unpin for GistContent
impl UnwindSafe for GistContent
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/struct.GistFile.html b/libmedium/data/struct.GistFile.html
index 4102e5d..3963d1d 100644
--- a/libmedium/data/struct.GistFile.html
+++ b/libmedium/data/struct.GistFile.html
@@ -1,39 +1,40 @@
-GistFile in libmedium::data - Rust
- Struct libmedium::data::GistFile [−][src]
pub struct GistFile {
- pub file_name: String,
- pub content: String,
- pub language: String,
- pub raw_url: String,
-}
Fields
file_name: String
content: String
language: String
raw_url: 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
-Auto Trait Implementations
impl RefUnwindSafe for GistFile
impl UnwindSafe for GistFile
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+GistFile in libmedium::data - Rust
+ Struct libmedium::data::GistFile [−][src]
pub struct GistFile {
+ pub file_name: String,
+ pub content: String,
+ pub language: String,
+ pub raw_url: String,
+}
Fields
file_name: String
content: String
language: String
raw_url: 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
+Auto Trait Implementations
impl RefUnwindSafe for GistFile
impl UnwindSafe for GistFile
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/struct.PostUrl.html b/libmedium/data/struct.PostUrl.html
index c26f0b7..ffc933e 100644
--- a/libmedium/data/struct.PostUrl.html
+++ b/libmedium/data/struct.PostUrl.html
@@ -1,36 +1,37 @@
-PostUrl in libmedium::data - Rust
- Struct libmedium::data::PostUrl [−][src]
Fields
slug: String
username: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PostUrl
impl UnwindSafe for PostUrl
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+PostUrl in libmedium::data - Rust
+ Struct libmedium::data::PostUrl [−][src]
Fields
slug: String
username: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PostUrl
impl UnwindSafe for PostUrl
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/data/type.AppData.html b/libmedium/data/type.AppData.html
index d7ab8f9..38eb291 100644
--- a/libmedium/data/type.AppData.html
+++ b/libmedium/data/type.AppData.html
@@ -1,3 +1,4 @@
-AppData in libmedium::data - Rust
- Type Definition libmedium::data::AppData [−][src]
pub type AppData = Data<Data>;
+AppData in libmedium::data - Rust
+
\ No newline at end of file
diff --git a/libmedium/data/type.PostResp.html b/libmedium/data/type.PostResp.html
index 3d51797..5998b53 100644
--- a/libmedium/data/type.PostResp.html
+++ b/libmedium/data/type.PostResp.html
@@ -1,3 +1,4 @@
-PostResp in libmedium::data - Rust
- Type Definition libmedium::data::PostResp [−][src]
pub type PostResp = GetPostPost;
+PostResp in libmedium::data - Rust
+
\ No newline at end of file
diff --git a/libmedium/fn.get_json_err.html b/libmedium/fn.get_json_err.html
index bdb0980..b9851f4 100644
--- a/libmedium/fn.get_json_err.html
+++ b/libmedium/fn.get_json_err.html
@@ -1,3 +1,4 @@
-get_json_err in libmedium - Rust
- Function libmedium::get_json_err [−][src]
pub fn get_json_err() -> JsonConfig
+get_json_err in libmedium - Rust
+ Function libmedium::get_json_err [−][src]
pub fn get_json_err() -> JsonConfig
\ No newline at end of file
diff --git a/libmedium/fn.main.html b/libmedium/fn.main.html
index f3682a1..9bd73aa 100644
--- a/libmedium/fn.main.html
+++ b/libmedium/fn.main.html
@@ -1,3 +1,4 @@
-main in libmedium - Rust
- Function libmedium::main [−][src]
+main in libmedium - Rust
+
\ No newline at end of file
diff --git a/libmedium/index.html b/libmedium/index.html
index 953fc8c..267a592 100644
--- a/libmedium/index.html
+++ b/libmedium/index.html
@@ -1,8 +1,9 @@
-libmedium - Rust
- Crate libmedium[−][src]
Modules
-Structs
+libmedium - Rust
+
\ No newline at end of file
diff --git a/libmedium/meta/fn.services.html b/libmedium/meta/fn.services.html
index 6f1501d..2b0e202 100644
--- a/libmedium/meta/fn.services.html
+++ b/libmedium/meta/fn.services.html
@@ -1,3 +1,4 @@
-services in libmedium::meta - Rust
- Function libmedium::meta::services [−][src]
pub fn services(cfg: &mut ServiceConfig)
+services in libmedium::meta - Rust
+
\ No newline at end of file
diff --git a/libmedium/meta/index.html b/libmedium/meta/index.html
index b68027e..1b75c92 100644
--- a/libmedium/meta/index.html
+++ b/libmedium/meta/index.html
@@ -1,7 +1,8 @@
-libmedium::meta - Rust
- Module libmedium::meta [−][src]
Modules
+libmedium::meta - Rust
+
\ No newline at end of file
diff --git a/libmedium/meta/routes/index.html b/libmedium/meta/routes/index.html
index 1f1e44a..5a00025 100644
--- a/libmedium/meta/routes/index.html
+++ b/libmedium/meta/routes/index.html
@@ -1,4 +1,5 @@
-libmedium::meta::routes - Rust
- Module libmedium::meta::routes [−][src]
Structs
-
+libmedium::meta::routes - Rust
+
\ No newline at end of file
diff --git a/libmedium/meta/routes/struct.Meta.html b/libmedium/meta/routes/struct.Meta.html
index 13ed018..51bd17e 100644
--- a/libmedium/meta/routes/struct.Meta.html
+++ b/libmedium/meta/routes/struct.Meta.html
@@ -1,30 +1,31 @@
-Meta in libmedium::meta::routes - Rust
- Struct libmedium::meta::routes::Meta [−][src]
Fields
build_details: &'static str
health: &'static str
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Meta
impl UnwindSafe for Meta
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+Meta in libmedium::meta::routes - Rust
+ Struct libmedium::meta::routes::Meta [−][src]
Fields
build_details: &'static str
health: &'static str
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Meta
impl UnwindSafe for Meta
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/meta/struct.BuildDetails.html b/libmedium/meta/struct.BuildDetails.html
index bc0a9c8..9de8d30 100644
--- a/libmedium/meta/struct.BuildDetails.html
+++ b/libmedium/meta/struct.BuildDetails.html
@@ -1,38 +1,39 @@
-BuildDetails in libmedium::meta - Rust
- Struct libmedium::meta::BuildDetails [−][src]
Fields
version: &'static str
git_commit_hash: &'static str
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
-
Auto Trait Implementations
impl RefUnwindSafe for BuildDetails
impl Send for BuildDetails
impl Sync for BuildDetails
impl Unpin for BuildDetails
impl UnwindSafe for BuildDetails
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+BuildDetails in libmedium::meta - Rust
+ Struct libmedium::meta::BuildDetails [−][src]
Fields
version: &'static str
git_commit_hash: &'static str
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
+
Auto Trait Implementations
impl RefUnwindSafe for BuildDetails
impl Send for BuildDetails
impl Sync for BuildDetails
impl Unpin for BuildDetails
impl UnwindSafe for BuildDetails
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/meta/struct.build_details.html b/libmedium/meta/struct.build_details.html
index 83b291a..259ae2b 100644
--- a/libmedium/meta/struct.build_details.html
+++ b/libmedium/meta/struct.build_details.html
@@ -1,28 +1,29 @@
-build_details in libmedium::meta - Rust
- Struct libmedium::meta::build_details [−][src]
pub struct build_details;
Expand description
emmits build details of the bninary
-Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for build_details
impl Send for build_details
impl Sync for build_details
impl Unpin for build_details
impl UnwindSafe for build_details
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+build_details in libmedium::meta - Rust
+ Struct libmedium::meta::build_details [−][src]
pub struct build_details;
Expand description
emmits build details of the bninary
+Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for build_details
impl Send for build_details
impl Sync for build_details
impl Unpin for build_details
impl UnwindSafe for build_details
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/proxy/constant.CACHE_AGE.html b/libmedium/proxy/constant.CACHE_AGE.html
index 0fdd748..82f6945 100644
--- a/libmedium/proxy/constant.CACHE_AGE.html
+++ b/libmedium/proxy/constant.CACHE_AGE.html
@@ -1,3 +1,4 @@
-CACHE_AGE in libmedium::proxy - Rust
- Constant libmedium::proxy::CACHE_AGE [−][src]
const CACHE_AGE: u32 = 60 * 60 * 24; // 0x0001_5180u32
+CACHE_AGE in libmedium::proxy - Rust
+
\ No newline at end of file
diff --git a/libmedium/proxy/constant.INDEX.html b/libmedium/proxy/constant.INDEX.html
index 51f53f3..33bcc0c 100644
--- a/libmedium/proxy/constant.INDEX.html
+++ b/libmedium/proxy/constant.INDEX.html
@@ -1,3 +1,4 @@
-INDEX in libmedium::proxy - Rust
- Constant libmedium::proxy::INDEX [−][src]
const INDEX: &str = "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>LibMedium</title>\n </head>\n <body>\n <main>\n <div class=\"center\">\n <h1>LibMedium</h1>\n <p>A free and privacy-respecting medium proxy</p>\n <p>\n <a\n href=\"/@tylerneely/fear-and-loathing-in-lock-free-programming-7158b1cdd50c\"\n >Demo Article</a\n >\n | <a href=\"https://github.com/realaravinth/libmedium\">Source Code</a>\n </p>\n </div>\n </main>\n </body>\n <style>\n * {\n padding: 0;\n margin: 0;\n }\n body {\n width: 100%;\n min-height: 100vh;\n display: block;\n }\n main {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 80%;\n height: 100vh;\n margin: auto;\n justify-content: space-between;\n }\n\n .center {\n margin: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n h1 {\n font-size: 3rem;\n }\n\n @media screen and (max-width: 1200px) {\n main {\n width: 90%;\n }\n\n img {\n display: block;\n }\n }\n </style>\n</html>\n";
+INDEX in libmedium::proxy - Rust
+ Constant libmedium::proxy::INDEX [−][src]
const INDEX: &str = "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>LibMedium</title>\n </head>\n <body>\n <main>\n <div class=\"center\">\n <h1>LibMedium</h1>\n <p>A free and privacy-respecting medium proxy</p>\n <p>\n <a\n href=\"/@tylerneely/fear-and-loathing-in-lock-free-programming-7158b1cdd50c\"\n >Demo Article</a\n >\n | <a href=\"https://github.com/realaravinth/libmedium\">Source Code</a>\n </p>\n </div>\n </main>\n </body>\n <style>\n * {\n padding: 0;\n margin: 0;\n }\n body {\n width: 100%;\n min-height: 100vh;\n display: block;\n }\n main {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 80%;\n height: 100vh;\n margin: auto;\n justify-content: space-between;\n }\n\n .center {\n margin: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n h1 {\n font-size: 3rem;\n }\n\n @media screen and (max-width: 1200px) {\n main {\n width: 90%;\n }\n\n img {\n display: block;\n }\n }\n </style>\n</html>\n";
\ No newline at end of file
diff --git a/libmedium/proxy/fn.services.html b/libmedium/proxy/fn.services.html
index 6db8a7d..b02b7f9 100644
--- a/libmedium/proxy/fn.services.html
+++ b/libmedium/proxy/fn.services.html
@@ -1,3 +1,4 @@
-services in libmedium::proxy - Rust
- Function libmedium::proxy::services [−][src]
pub fn services(cfg: &mut ServiceConfig)
+services in libmedium::proxy - Rust
+
\ No newline at end of file
diff --git a/libmedium/proxy/index.html b/libmedium/proxy/index.html
index ff3e7e2..704e14e 100644
--- a/libmedium/proxy/index.html
+++ b/libmedium/proxy/index.html
@@ -1,8 +1,9 @@
-libmedium::proxy - Rust
- Module libmedium::proxy [−][src]
Modules
+libmedium::proxy - Rust
+
\ No newline at end of file
diff --git a/libmedium/proxy/routes/index.html b/libmedium/proxy/routes/index.html
index 2935d8f..20eaecb 100644
--- a/libmedium/proxy/routes/index.html
+++ b/libmedium/proxy/routes/index.html
@@ -1,4 +1,5 @@
-libmedium::proxy::routes - Rust
- Module libmedium::proxy::routes [−][src]
Structs
-
+libmedium::proxy::routes - Rust
+
\ No newline at end of file
diff --git a/libmedium/proxy/routes/struct.Proxy.html b/libmedium/proxy/routes/struct.Proxy.html
index 1c2ef95..ffbe90c 100644
--- a/libmedium/proxy/routes/struct.Proxy.html
+++ b/libmedium/proxy/routes/struct.Proxy.html
@@ -1,32 +1,33 @@
-Proxy in libmedium::proxy::routes - Rust
- Struct libmedium::proxy::routes::Proxy [−][src]
pub struct Proxy {
- pub index: &'static str,
- pub by_post_id: &'static str,
- pub page: &'static str,
- pub asset: &'static str,
-}
Fields
index: &'static str
by_post_id: &'static str
page: &'static str
asset: &'static str
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Proxy
impl UnwindSafe for Proxy
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+Proxy in libmedium::proxy::routes - Rust
+ Struct libmedium::proxy::routes::Proxy [−][src]
pub struct Proxy {
+ pub index: &'static str,
+ pub by_post_id: &'static str,
+ pub page: &'static str,
+ pub asset: &'static str,
+}
Fields
index: &'static str
by_post_id: &'static str
page: &'static str
asset: &'static str
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Proxy
impl UnwindSafe for Proxy
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/proxy/struct.Post.html b/libmedium/proxy/struct.Post.html
index 3b9247e..de4abc7 100644
--- a/libmedium/proxy/struct.Post.html
+++ b/libmedium/proxy/struct.Post.html
@@ -1,36 +1,37 @@
-Post in libmedium::proxy - Rust
- Struct libmedium::proxy::Post [−][src]
pub struct Post {
+Post in libmedium::proxy - Rust
+ Struct libmedium::proxy::Post [−][src]
pub struct Post {
pub data: GetPostPost,
- pub date: String,
- pub preview_img: String,
- pub reading_time: usize,
- pub id: String,
- pub gists: Option<Vec<(String, GistContent)>>,
-}
Fields
data: GetPostPost
date: String
preview_img: String
reading_time: usize
id: String
gists: Option<Vec<(String, GistContent)>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Post
impl UnwindSafe for Post
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+ pub date: String,
+ pub preview_img: String,
+ pub reading_time: usize,
+ pub id: String,
+ pub gists: Option<Vec<(String, GistContent)>>,
+}Fields
data: GetPostPost
date: String
preview_img: String
reading_time: usize
id: String
gists: Option<Vec<(String, GistContent)>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Post
impl UnwindSafe for Post
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/proxy/struct.assets.html b/libmedium/proxy/struct.assets.html
index a1df1ae..acba8c7 100644
--- a/libmedium/proxy/struct.assets.html
+++ b/libmedium/proxy/struct.assets.html
@@ -1,27 +1,28 @@
-assets in libmedium::proxy - Rust
- Struct libmedium::proxy::assets [−][src]
pub struct assets;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for assets
impl UnwindSafe for assets
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+assets in libmedium::proxy - Rust
+ Struct libmedium::proxy::assets [−][src]
pub struct assets;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for assets
impl UnwindSafe for assets
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/proxy/struct.by_post_id.html b/libmedium/proxy/struct.by_post_id.html
index bf44f05..cda2591 100644
--- a/libmedium/proxy/struct.by_post_id.html
+++ b/libmedium/proxy/struct.by_post_id.html
@@ -1,27 +1,28 @@
-by_post_id in libmedium::proxy - Rust
- Struct libmedium::proxy::by_post_id [−][src]
pub struct by_post_id;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for by_post_id
impl Send for by_post_id
impl Sync for by_post_id
impl Unpin for by_post_id
impl UnwindSafe for by_post_id
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+by_post_id in libmedium::proxy - Rust
+ Struct libmedium::proxy::by_post_id [−][src]
pub struct by_post_id;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for by_post_id
impl Send for by_post_id
impl Sync for by_post_id
impl Unpin for by_post_id
impl UnwindSafe for by_post_id
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/proxy/struct.index.html b/libmedium/proxy/struct.index.html
index ec14396..b679c36 100644
--- a/libmedium/proxy/struct.index.html
+++ b/libmedium/proxy/struct.index.html
@@ -1,27 +1,28 @@
-index in libmedium::proxy - Rust
- Struct libmedium::proxy::index [−][src]
pub struct index;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for index
impl UnwindSafe for index
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+index in libmedium::proxy - Rust
+ Struct libmedium::proxy::index [−][src]
pub struct index;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for index
impl UnwindSafe for index
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/proxy/struct.page.html b/libmedium/proxy/struct.page.html
index 9fa512a..be81f33 100644
--- a/libmedium/proxy/struct.page.html
+++ b/libmedium/proxy/struct.page.html
@@ -1,27 +1,28 @@
-page in libmedium::proxy - Rust
- Struct libmedium::proxy::page [−][src]
pub struct page;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for page
impl UnwindSafe for page
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+page in libmedium::proxy - Rust
+ Struct libmedium::proxy::page [−][src]
pub struct page;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for page
impl UnwindSafe for page
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/proxy/trait.StringUtils.html b/libmedium/proxy/trait.StringUtils.html
index 8f0e326..a2e18df 100644
--- a/libmedium/proxy/trait.StringUtils.html
+++ b/libmedium/proxy/trait.StringUtils.html
@@ -1,6 +1,7 @@
-StringUtils in libmedium::proxy - Rust
- Trait libmedium::proxy::StringUtils [−][src]
pub trait StringUtils {
- fn substring(&self, start: usize, len: usize) -> &str;
- fn slice(&self, range: impl RangeBounds<usize>) -> &str;
-}
Required methods
fn slice(&self, range: impl RangeBounds<usize>) -> &str
Implementations on Foreign Types
Implementors
+StringUtils in libmedium::proxy - Rust
+ Trait libmedium::proxy::StringUtils [−][src]
pub trait StringUtils {
+ fn substring(&self, start: usize, len: usize) -> &str;
+ fn slice(&self, range: impl RangeBounds<usize>) -> &str;
+}
Required methods
fn slice(&self, range: impl RangeBounds<usize>) -> &str
Implementations on Foreign Types
Implementors
\ No newline at end of file
diff --git a/libmedium/render_html/constant.STYLE.html b/libmedium/render_html/constant.STYLE.html
new file mode 100644
index 0000000..050c74c
--- /dev/null
+++ b/libmedium/render_html/constant.STYLE.html
@@ -0,0 +1,5 @@
+STYLE in libmedium::render_html - Rust
+
+
\ No newline at end of file
diff --git a/libmedium/render_html/constant.SYNTAX_SET.html b/libmedium/render_html/constant.SYNTAX_SET.html
new file mode 100644
index 0000000..e4f7fe9
--- /dev/null
+++ b/libmedium/render_html/constant.SYNTAX_SET.html
@@ -0,0 +1,4 @@
+SYNTAX_SET in libmedium::render_html - Rust
+ Constant libmedium::render_html::SYNTAX_SET [−][src]
+
\ No newline at end of file
diff --git a/libmedium/render_html/index.html b/libmedium/render_html/index.html
new file mode 100644
index 0000000..8d2847e
--- /dev/null
+++ b/libmedium/render_html/index.html
@@ -0,0 +1,7 @@
+libmedium::render_html - Rust
+
+
\ No newline at end of file
diff --git a/libmedium/render_html/sidebar-items.js b/libmedium/render_html/sidebar-items.js
new file mode 100644
index 0000000..bc99a80
--- /dev/null
+++ b/libmedium/render_html/sidebar-items.js
@@ -0,0 +1 @@
+initSidebarItems({"constant":[["STYLE",""],["SYNTAX_SET",""]],"struct":[["SourcegraphQuery",""]],"trait":[["GenerateHTML",""]]});
\ No newline at end of file
diff --git a/libmedium/render_html/struct.SourcegraphQuery.html b/libmedium/render_html/struct.SourcegraphQuery.html
new file mode 100644
index 0000000..5728390
--- /dev/null
+++ b/libmedium/render_html/struct.SourcegraphQuery.html
@@ -0,0 +1,31 @@
+SourcegraphQuery in libmedium::render_html - Rust
+ Struct libmedium::render_html::SourcegraphQuery [−][src]
Fields
filepath: &'a str
code: &'a str
Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for SourcegraphQuery<'a>
impl<'a> Send for SourcegraphQuery<'a>
impl<'a> Sync for SourcegraphQuery<'a>
impl<'a> Unpin for SourcegraphQuery<'a>
impl<'a> UnwindSafe for SourcegraphQuery<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+WithDispatch
wrapper. Read more
+
Attaches the current default Subscriber
to this type, returning a
+WithDispatch
wrapper. Read more
+
+
\ No newline at end of file
diff --git a/libmedium/render_html/trait.GenerateHTML.html b/libmedium/render_html/trait.GenerateHTML.html
new file mode 100644
index 0000000..a3f38e0
--- /dev/null
+++ b/libmedium/render_html/trait.GenerateHTML.html
@@ -0,0 +1,6 @@
+GenerateHTML in libmedium::render_html - Rust
+ Trait libmedium::render_html::GenerateHTML [−][src]
pub trait GenerateHTML {
+ fn generate(&mut self);
+}
Required methods
Implementors
+
\ No newline at end of file
diff --git a/libmedium/routes/constant.ROUTES.html b/libmedium/routes/constant.ROUTES.html
index 7d01cd2..fc7ee47 100644
--- a/libmedium/routes/constant.ROUTES.html
+++ b/libmedium/routes/constant.ROUTES.html
@@ -1,3 +1,4 @@
-ROUTES in libmedium::routes - Rust
- Constant libmedium::routes::ROUTES [−][src]
pub const ROUTES: Routes;
+ROUTES in libmedium::routes - Rust
+
\ No newline at end of file
diff --git a/libmedium/routes/fn.services.html b/libmedium/routes/fn.services.html
index f8010a2..b991de0 100644
--- a/libmedium/routes/fn.services.html
+++ b/libmedium/routes/fn.services.html
@@ -1,3 +1,4 @@
-services in libmedium::routes - Rust
- Function libmedium::routes::services [−][src]
pub fn services(cfg: &mut ServiceConfig)
+services in libmedium::routes - Rust
+
\ No newline at end of file
diff --git a/libmedium/routes/index.html b/libmedium/routes/index.html
index f78c7ab..e4db853 100644
--- a/libmedium/routes/index.html
+++ b/libmedium/routes/index.html
@@ -1,6 +1,7 @@
-libmedium::routes - Rust
- Module libmedium::routes [−][src]
Structs
+libmedium::routes - Rust
+
\ No newline at end of file
diff --git a/libmedium/routes/struct.Routes.html b/libmedium/routes/struct.Routes.html
index 0ab9aaf..3fa55e8 100644
--- a/libmedium/routes/struct.Routes.html
+++ b/libmedium/routes/struct.Routes.html
@@ -1,30 +1,31 @@
-Routes in libmedium::routes - Rust
- Struct libmedium::routes::Routes [−][src]
pub struct Routes {
+Routes in libmedium::routes - Rust
+ Struct libmedium::routes::Routes [−][src]
Fields
meta: Meta
proxy: Proxy
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Routes
impl UnwindSafe for Routes
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+}Fields
meta: Meta
proxy: Proxy
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Routes
impl UnwindSafe for Routes
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/settings/fn.check_url.html b/libmedium/settings/fn.check_url.html
index 5afd8f1..f924838 100644
--- a/libmedium/settings/fn.check_url.html
+++ b/libmedium/settings/fn.check_url.html
@@ -1,3 +1,4 @@
-check_url in libmedium::settings - Rust
- Function libmedium::settings::check_url [−][src]
fn check_url(s: &Config)
+check_url in libmedium::settings - Rust
+
\ No newline at end of file
diff --git a/libmedium/settings/index.html b/libmedium/settings/index.html
index b8398f1..cef04a6 100644
--- a/libmedium/settings/index.html
+++ b/libmedium/settings/index.html
@@ -1,5 +1,6 @@
-libmedium::settings - Rust
- Module libmedium::settings [−][src]
Structs
+libmedium::settings - Rust
+
\ No newline at end of file
diff --git a/libmedium/settings/struct.Server.html b/libmedium/settings/struct.Server.html
index 9a20eda..afd9c57 100644
--- a/libmedium/settings/struct.Server.html
+++ b/libmedium/settings/struct.Server.html
@@ -1,40 +1,41 @@
-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
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
-
Performs the conversion.
+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
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/settings/struct.Settings.html b/libmedium/settings/struct.Settings.html
index 0c8078e..2310179 100644
--- a/libmedium/settings/struct.Settings.html
+++ b/libmedium/settings/struct.Settings.html
@@ -1,39 +1,40 @@
-Settings in libmedium::settings - Rust
- Struct libmedium::settings::Settings [−][src]
pub struct Settings {
- pub debug: bool,
- pub cache: Option<String>,
+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
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
-Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+ pub source_code: String,
+}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
+Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/sidebar-items.js b/libmedium/sidebar-items.js
index 68ba228..16e0848 100644
--- a/libmedium/sidebar-items.js
+++ b/libmedium/sidebar-items.js
@@ -1 +1 @@
-initSidebarItems({"constant":[["CACHE_AGE",""],["GIT_COMMIT_HASH",""],["PKG_DESCRIPTION",""],["PKG_HOMEPAGE",""],["PKG_NAME",""],["V1_API_ROUTES",""],["VERSION",""]],"fn":[["get_json_err",""],["main",""]],"mod":[["data",""],["meta",""],["proxy",""],["routes",""],["settings",""]],"struct":[["Data",""],["SETTINGS",""],["Settings",""]],"type":[["AppData",""]]});
\ No newline at end of file
+initSidebarItems({"constant":[["CACHE_AGE",""],["GIT_COMMIT_HASH",""],["PKG_DESCRIPTION",""],["PKG_HOMEPAGE",""],["PKG_NAME",""],["V1_API_ROUTES",""],["VERSION",""]],"fn":[["get_json_err",""],["main",""]],"mod":[["data",""],["meta",""],["proxy",""],["render_html",""],["routes",""],["settings",""]],"struct":[["Data",""],["SETTINGS",""],["Settings",""]],"type":[["AppData",""]]});
\ No newline at end of file
diff --git a/libmedium/struct.Data.html b/libmedium/struct.Data.html
index 7f4a35a..db190ed 100644
--- a/libmedium/struct.Data.html
+++ b/libmedium/struct.Data.html
@@ -1,37 +1,38 @@
-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,
pub gists: Tree,
-}
Fields
client: Client
cache: Db
posts: Tree
gists: Tree
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Data
impl !UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+}Fields
client: Client
cache: Db
posts: Tree
gists: Tree
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Data
impl !UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/struct.SETTINGS.html b/libmedium/struct.SETTINGS.html
index deb2370..7967b53 100644
--- a/libmedium/struct.SETTINGS.html
+++ b/libmedium/struct.SETTINGS.html
@@ -1,31 +1,32 @@
-SETTINGS in libmedium - Rust
- Struct libmedium::SETTINGS [−][src]
pub struct SETTINGS {
- pub(crate) __private_field: (),
-}
Fields
__private_field: ()
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SETTINGS
impl UnwindSafe for SETTINGS
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+SETTINGS in libmedium - Rust
+ Struct libmedium::SETTINGS [−][src]
pub struct SETTINGS {
+ pub(crate) __private_field: (),
+}
Fields
__private_field: ()
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SETTINGS
impl UnwindSafe for SETTINGS
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/struct.Settings.html b/libmedium/struct.Settings.html
index 5e64a8e..cc47c73 100644
--- a/libmedium/struct.Settings.html
+++ b/libmedium/struct.Settings.html
@@ -1,39 +1,40 @@
-Settings in libmedium - Rust
- Struct libmedium::Settings [−][src]
pub struct Settings {
- pub debug: bool,
- pub cache: Option<String>,
+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
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
-Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+ pub source_code: String,
+}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
+Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/libmedium/type.AppData.html b/libmedium/type.AppData.html
index c37436a..f507917 100644
--- a/libmedium/type.AppData.html
+++ b/libmedium/type.AppData.html
@@ -1,3 +1,4 @@
-AppData in libmedium - Rust
- Type Definition libmedium::AppData [−][src]
pub type AppData = Data<Data>;
+AppData in libmedium - Rust
+
\ No newline at end of file
diff --git a/light.css b/light.css
index 5d93285..f9ee910 100644
--- a/light.css
+++ b/light.css
@@ -1 +1 @@
- body{background-color:white;color:black;}h1,h2,h3,h4{color:black;}h1.fqn{border-bottom-color:#D5D5D5;}h2,h3,h4{border-bottom-color:#DDDDDD;}.in-band{background-color:white;}.invisible{background:rgba(0,0,0,0);}.docblock code,.docblock-short code{background-color:#F5F5F5;}pre,.rustdoc.source .example-wrap{background-color:#F5F5F5;}.sidebar{background-color:#F1F1F1;}*{scrollbar-color:rgba(36,37,39,0.6) #e6e6e6;}.sidebar{scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;}.logo-container.rust-logo>img{}::-webkit-scrollbar-track{background-color:#ecebeb;}::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar::-webkit-scrollbar-track{background-color:#dcdcdc;}.sidebar::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar .current{background-color:#fff;}.source .sidebar{background-color:#fff;}.sidebar .location{border-color:#000;background-color:#fff;color:#333;}.sidebar .version{border-bottom-color:#DDD;}.sidebar-title{border-top-color:#777;border-bottom-color:#777;}.block a:hover{background:#F5F5F5;}.line-numbers span{color:#c67e2d;}.line-numbers .line-highlighted{background-color:#f6fdb0 !important;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5,.docblock h6{border-bottom-color:#ddd;}.docblock table td,.docblock table th{border-color:#ddd;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#4E4C4C;}.search-results a:hover{background-color:#ddd;}.search-results a:focus{color:#000 !important;background-color:#ccc;}.search-results a:focus span{color:#000 !important;}a.result-trait:focus{background-color:#c7b6ff;}a.result-traitalias:focus{background-color:#c7b6ff;}a.result-mod:focus,a.result-externcrate:focus{background-color:#afc6e4;}a.result-enum:focus{background-color:#b4d1b9;}a.result-struct:focus{background-color:#e7b1a0;}a.result-union:focus{background-color:#b7bd49;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#c6afb3;}a.result-type:focus{background-color:#ffc891;}a.result-foreigntype:focus{background-color:#f5c4ff;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#8ce488;}a.result-constant:focus,a.result-static:focus{background-color:#c3e0ff;}a.result-primitive:focus{background-color:#9aecff;}a.result-keyword:focus{background-color:#f99650;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#508157;}.content span.struct,.content a.struct,.block a.current.struct{color:#ad448e;}.content span.type,.content a.type,.block a.current.type{color:#ba5d00;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#cd00e2;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#068000;}.content span.union,.content a.union,.block a.current.union{color:#767b27;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#546e8a;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#2c8093;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#4d76ae;}.content span.trait,.content a.trait,.block a.current.trait{color:#7c5af3;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#6841f1;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#9a6e31;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#de5249;}nav:not(.sidebar){border-bottom-color:#e0e0e0;}nav.main .current{border-top-color:#000;border-bottom-color:#000;}nav.main .separator{border:1px solid #000;}a{color:#3873AD;}a.srclink,a#toggle-all-docs,a.anchor,.small-section-header a,#source-sidebar a,pre.rust a,.sidebar a,.in-band a{color:#000;}.search-results a{color:initial;}a.test-arrow{color:#f5f5f5;}body.source .example-wrap pre.rust a{background:#eee;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#555;background-color:white;border-color:#e0e0e0;box-shadow:0 0 0 1px #e0e0e0,0 0 0 2px transparent;}.search-input{color:#555;background-color:white;box-shadow:0 0 0 1px #e0e0e0,0 0 0 2px transparent;}.search-input:focus{border-color:#66afe9;}#crate-search+.search-input:focus{box-shadow:0 0 8px #078dd8;}.module-item .stab,.import-item .stab{color:#000;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;}.stab.portability>code{background:none;}#help>div{background:#e9e9e9;border-color:#bfbfbf;}#help span.bottom,#help span.top{border-color:#bfbfbf;}.since{color:grey;}.result-name .primitive>i,.result-name .keyword>i{color:black;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#8959A8;}pre.rust .kw-2,pre.rust .prelude-ty{color:#4271AE;}pre.rust .number,pre.rust .string{color:#718C00;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#C82829;}pre.rust .comment{color:#8E908C;}pre.rust .doccomment{color:#4D4D4C;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#B76514;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#c7c7c7;}a.test-arrow{background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target,:target>*{background:#FDFFD3;}:target{border-right:3px solid #ffb44c;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.5);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.5);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#eee;border-color:#999;}.notable-traits-tooltiptext .notable{border-bottom-color:#DDDDDD;}#titles>button:not(.selected){background-color:#e6e6e6;border-top-color:#e6e6e6;}#titles>button:hover,#titles>button.selected{background-color:#ffffff;border-top-color:#0089ff;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-menu{background-color:#F1F1F1;border-bottom-color:#e0e0e0;border-right-color:#e0e0e0;}.sidebar-elems{background-color:#F1F1F1;border-right-color:#000;}#sidebar-filler{background-color:#F1F1F1;border-bottom-color:#e0e0e0;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,#help-button{border-color:#e0e0e0;background-color:#fff;}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,#help-button:hover,#help-button:focus{border-color:#717171;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(35%);}#theme-choices{border-color:#ccc;background-color:#fff;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#eee;}@media (max-width:700px){#theme-picker{background:#fff;}}#all-types{background-color:#fff;}#all-types:hover{background-color:#f9f9f9;}.search-results .result-name span.alias{color:#000;}.search-results .result-name span.grey{color:#999;}#sidebar-toggle{background-color:#F1F1F1;}#sidebar-toggle:hover{background-color:#E0E0E0;}#source-sidebar{background-color:#F1F1F1;}#source-sidebar>.title{border-bottom-color:#ccc;}div.files>a:hover,div.name:hover{background-color:#E0E0E0;}div.files>.selected{background-color:#fff;}.setting-line>.title{border-bottom-color:#D5D5D5;}
\ No newline at end of file
+ body{background-color:white;color:black;}h1,h2,h3,h4{color:black;}h1.fqn{border-bottom-color:#DDDDDD;}h2,h3,h4{border-bottom-color:#DDDDDD;}.in-band{background-color:white;}.invisible{background:rgba(0,0,0,0);}.docblock code,.docblock-short code{background-color:#F5F5F5;}pre,.rustdoc.source .example-wrap{background-color:#F5F5F5;}.sidebar{background-color:#F5F5F5;}*{scrollbar-color:rgba(36,37,39,0.6) #e6e6e6;}.sidebar{scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;}.rust-logo{}::-webkit-scrollbar-track{background-color:#ecebeb;}::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar::-webkit-scrollbar-track{background-color:#dcdcdc;}.sidebar::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar .current{background-color:#fff;}.source .sidebar{background-color:#f1f1f1;}.sidebar .location{border-color:#000;background-color:#fff;color:#333;}.sidebar .version{border-bottom-color:#DDD;}.sidebar-title{border-top-color:#777;border-bottom-color:#777;}.block a:hover{background:#F5F5F5;}.line-numbers span{color:#c67e2d;}.line-numbers .line-highlighted{background-color:#FDFFD3 !important;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5,.docblock h6{border-bottom-color:#ddd;}.docblock table td,.docblock table th{border-color:#ddd;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#4E4C4C;}.search-results a:hover{background-color:#ddd;}.search-results a:focus{color:#000 !important;background-color:#ccc;}.search-results a:focus span{color:#000 !important;}a.result-trait:focus{background-color:#c7b6ff;}a.result-traitalias:focus{background-color:#c7b6ff;}a.result-mod:focus,a.result-externcrate:focus{background-color:#afc6e4;}a.result-enum:focus{background-color:#e7b1a0;}a.result-struct:focus{background-color:#e7b1a0;}a.result-union:focus{background-color:#e7b1a0;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#c6afb3;}a.result-type:focus{background-color:#e7b1a0;}a.result-associatedtype:focus{background-color:#afc6e4;}a.result-foreigntype:focus{background-color:#e7b1a0;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#8ce488;}a.result-constant:focus,a.result-static:focus{background-color:#afc6e4;}a.result-primitive:focus{background-color:#e7b1a0;}a.result-keyword:focus{background-color:#afc6e4;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#AD378A;}.content span.struct,.content a.struct,.block a.current.struct{color:#AD378A;}.content span.type,.content a.type,.block a.current.type{color:#AD378A;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#3873AD;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#3873AD;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#068000;}.content span.union,.content a.union,.block a.current.union{color:#AD378A;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#3873AD;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#AD378A;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#3873AD;}.content span.trait,.content a.trait,.block a.current.trait{color:#6E4FC9;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#5137AD;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#AD7C37;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#3873AD;}nav:not(.sidebar){border-bottom-color:#e0e0e0;}nav.main .current{border-top-color:#000;border-bottom-color:#000;}nav.main .separator{border:1px solid #000;}a{color:#3873AD;}a.srclink,a#toggle-all-docs,a.anchor,.small-section-header a,#source-sidebar a,pre.rust a,.sidebar a,.in-band a{color:#000;}.search-results a{color:initial;}a.test-arrow{color:#f5f5f5;}body.source .example-wrap pre.rust a{background:#eee;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#555;background-color:white;border-color:#e0e0e0;box-shadow:0 0 0 1px #e0e0e0,0 0 0 2px transparent;}.search-input{color:#555;background-color:white;box-shadow:0 0 0 1px #e0e0e0,0 0 0 2px transparent;}.search-input:focus{border-color:#66afe9;}#crate-search+.search-input:focus{box-shadow:0 0 8px #078dd8;}.module-item .stab,.import-item .stab{color:#000;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;}.stab.portability>code{background:none;}#help>div{background:#e9e9e9;border-color:#bfbfbf;}#help span.bottom,#help span.top{border-color:#bfbfbf;}.since{color:grey;}.result-name .primitive>i,.result-name .keyword>i{color:black;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#8959A8;}pre.rust .kw-2,pre.rust .prelude-ty{color:#4271AE;}pre.rust .number,pre.rust .string{color:#718C00;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#C82829;}pre.rust .comment{color:#8E908C;}pre.rust .doccomment{color:#4D4D4C;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#B76514;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#c7c7c7;}a.test-arrow{background-color:rgb(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target{background:#FDFFD3;border-right:3px solid #AD7C37;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.5);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.5);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#3873AD;}.tooltip::after{background-color:#000;color:#fff;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#eee;border-color:#999;}.notable-traits-tooltiptext .notable{border-bottom-color:#DDDDDD;}#titles>button:not(.selected){background-color:#e6e6e6;border-top-color:#e6e6e6;}#titles>button:hover,#titles>button.selected{background-color:#ffffff;border-top-color:#0089ff;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-menu{background-color:#F5F5F5;border-bottom-color:#e0e0e0;border-right-color:#e0e0e0;}.sidebar-elems{background-color:#F5F5F5;border-right-color:#000;}#sidebar-filler{background-color:#F5F5F5;border-bottom-color:#e0e0e0;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,#help-button{border-color:#e0e0e0;background-color:#fff;}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,#help-button:hover,#help-button:focus{border-color:#717171;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(35%);}#theme-choices{border-color:#ccc;background-color:#fff;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#eee;}@media (max-width:700px){#theme-picker{background:#fff;}}#all-types{background-color:#fff;}#all-types:hover{background-color:#f9f9f9;}.search-results .result-name span.alias{color:#000;}.search-results .result-name span.grey{color:#999;}#sidebar-toggle{background-color:#F5F5F5;}#sidebar-toggle:hover{background-color:#E0E0E0;}#source-sidebar{background-color:#F5F5F5;}#source-sidebar>.title{border-bottom-color:#ccc;}div.files>a:hover,div.name:hover{background-color:#E0E0E0;}div.files>.selected{background-color:#fff;}.setting-line>.title{border-bottom-color:#D5D5D5;}
\ No newline at end of file
diff --git a/main.js b/main.js
index 082b6de..02d5935 100644
--- a/main.js
+++ b/main.js
@@ -1,8 +1,8 @@
-if(!String.prototype.startsWith){String.prototype.startsWith=function(searchString,position){position=position||0;return this.indexOf(searchString,position)===position}}if(!String.prototype.endsWith){String.prototype.endsWith=function(suffix,length){var l=length||this.length;return this.indexOf(suffix,l-suffix.length)!==-1}}if(!DOMTokenList.prototype.add){DOMTokenList.prototype.add=function(className){if(className&&!hasClass(this,className)){if(this.className&&this.className.length>0){this.className+=" "+className}else{this.className=className}}}}if(!DOMTokenList.prototype.remove){DOMTokenList.prototype.remove=function(className){if(className&&this.className){this.className=(" "+this.className+" ").replace(" "+className+" "," ").trim()}}}(function(){var rustdocVars=document.getElementById("rustdoc-vars");if(rustdocVars){window.rootPath=rustdocVars.attributes["data-root-path"].value;window.currentCrate=rustdocVars.attributes["data-current-crate"].value;window.searchJS=rustdocVars.attributes["data-search-js"].value;window.searchIndexJS=rustdocVars.attributes["data-search-index-js"].value}var sidebarVars=document.getElementById("sidebar-vars");if(sidebarVars){window.sidebarCurrent={name:sidebarVars.attributes["data-name"].value,ty:sidebarVars.attributes["data-ty"].value,relpath:sidebarVars.attributes["data-relpath"].value,}}}());function getVirtualKey(ev){if("key"in ev&&typeof ev.key!="undefined"){return ev.key}var c=ev.charCode||ev.keyCode;if(c==27){return"Escape"}return String.fromCharCode(c)}var THEME_PICKER_ELEMENT_ID="theme-picker";var THEMES_ELEMENT_ID="theme-choices";function getThemesElement(){return document.getElementById(THEMES_ELEMENT_ID)}function getThemePickerElement(){return document.getElementById(THEME_PICKER_ELEMENT_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function showThemeButtonState(){var themePicker=getThemePickerElement();var themeChoices=getThemesElement();themeChoices.style.display="block";themePicker.style.borderBottomRightRadius="0";themePicker.style.borderBottomLeftRadius="0"}function hideThemeButtonState(){var themePicker=getThemePickerElement();var themeChoices=getThemesElement();themeChoices.style.display="none";themePicker.style.borderBottomRightRadius="3px";themePicker.style.borderBottomLeftRadius="3px"}(function(){var themeChoices=getThemesElement();var themePicker=getThemePickerElement();var availableThemes=["ayu","dark","light"];function switchThemeButtonState(){if(themeChoices.style.display==="block"){hideThemeButtonState()}else{showThemeButtonState()}}function handleThemeButtonsBlur(e){var active=document.activeElement;var related=e.relatedTarget;if(active.id!==THEME_PICKER_ELEMENT_ID&&(!active.parentNode||active.parentNode.id!==THEMES_ELEMENT_ID)&&(!related||(related.id!==THEME_PICKER_ELEMENT_ID&&(!related.parentNode||related.parentNode.id!==THEMES_ELEMENT_ID)))){hideThemeButtonState()}}themePicker.onclick=switchThemeButtonState;themePicker.onblur=handleThemeButtonsBlur;availableThemes.forEach(function(item){var but=document.createElement("button");but.textContent=item;but.onclick=function(){switchTheme(window.currentTheme,window.mainTheme,item,true);useSystemTheme(false)};but.onblur=handleThemeButtonsBlur;themeChoices.appendChild(but)})}());(function(){"use strict";window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:function(){return document.getElementById("search")},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:function(){if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},focus:function(){searchState.input.focus()},defocus:function(){searchState.input.blur()},showResults:function(search){if(search===null||typeof search==='undefined'){search=searchState.outputElement()}addClass(main,"hidden");removeClass(search,"hidden");searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:function(search){if(search===null||typeof search==='undefined'){search=searchState.outputElement()}addClass(search,"hidden");removeClass(main,"hidden");document.title=searchState.titleBeforeSearch;if(searchState.browserSupportsHistoryApi()){history.replaceState("",window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:function(){var params={};window.location.search.substring(1).split("&").map(function(s){var pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},putBackSearch:function(search_input){var search=searchState.outputElement();if(search_input.value!==""&&hasClass(search,"hidden")){searchState.showResults(search);if(searchState.browserSupportsHistoryApi()){var extra="?search="+encodeURIComponent(search_input.value);history.replaceState(search_input.value,"",getNakedUrl()+extra+window.location.hash)}document.title=searchState.title}},browserSupportsHistoryApi:function(){return window.history&&typeof window.history.pushState==="function"},setup:function(){var search_input=searchState.input;if(!searchState.input){return}function loadScript(url){var script=document.createElement('script');script.src=url;document.head.append(script)}var searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(window.searchJS);loadScript(window.searchIndexJS)}}search_input.addEventListener("focus",function(){searchState.putBackSearch(this);search_input.origPlaceholder=searchState.input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});search_input.addEventListener("blur",function(){search_input.placeholder=searchState.input.origPlaceholder});if(search_input.value!=''){loadSearch()}searchState.addCrateDropdown(window.ALL_CRATES);var params=searchState.getQueryStringParams();if(params.search!==undefined){var search=searchState.outputElement();search.innerHTML=""+searchState.loadingText+"
";searchState.showResults(search);loadSearch()}},addCrateDropdown:function(crates){var elem=document.getElementById("crate-search");if(!elem){return}var savedCrate=getSettingValue("saved-filter-crate");for(var i=0,len=crates.length;i0){return tmp}}return null}function showSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){addClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];if(sidebar){addClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(!filler){var div=document.createElement("div");div.id="sidebar-filler";sidebar.appendChild(div)}}}function hideSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){removeClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(filler){filler.remove()}document.getElementsByTagName("body")[0].style.marginTop=""}var toggleAllDocsId="toggle-all-docs";var main=document.getElementById("main");var savedHash="";function handleHashes(ev){var elem;var search=searchState.outputElement();if(ev!==null&&search&&!hasClass(search,"hidden")&&ev.newURL){searchState.hideResults(search);var hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(searchState.browserSupportsHistoryApi()){history.replaceState(hash,"",getNakedUrl()+window.location.search+"#"+hash)}elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function getHelpElement(build){if(build){buildHelperPopup()}return document.getElementById("help")}function displayHelp(display,ev,help){if(display){help=help?help:getHelpElement(true);if(hasClass(help,"hidden")){ev.preventDefault();removeClass(help,"hidden");addClass(document.body,"blur")}}else{help=help?help:getHelpElement(false);if(help&&!hasClass(help,"hidden")){ev.preventDefault();addClass(help,"hidden");removeClass(document.body,"blur")}}}function handleEscape(ev){var help=getHelpElement(false);var search=searchState.outputElement();if(help&&!hasClass(help,"hidden")){displayHelp(false,ev,help)}else if(search&&!hasClass(search,"hidden")){searchState.clearInputTimeout();ev.preventDefault();searchState.hideResults(search)}searchState.defocus();hideThemeButtonState()}var disableShortcuts=getSettingValue("disable-shortcuts")==="true";function handleShortcut(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":displayHelp(false,ev);ev.preventDefault();searchState.focus();break;case"+":case"-":ev.preventDefault();toggleAllDocs();break;case"?":displayHelp(true,ev);break;case"t":case"T":displayHelp(false,ev);ev.preventDefault();var themePicker=getThemePickerElement();themePicker.click();themePicker.focus();break;default:if(getThemePickerElement().parentNode.contains(ev.target)){handleThemeKeyDown(ev)}}}}function handleThemeKeyDown(ev){var active=document.activeElement;var themes=getThemesElement();switch(getVirtualKey(ev)){case"ArrowUp":ev.preventDefault();if(active.previousElementSibling&&ev.target.id!==THEME_PICKER_ELEMENT_ID){active.previousElementSibling.focus()}else{showThemeButtonState();themes.lastElementChild.focus()}break;case"ArrowDown":ev.preventDefault();if(active.nextElementSibling&&ev.target.id!==THEME_PICKER_ELEMENT_ID){active.nextElementSibling.focus()}else{showThemeButtonState();themes.firstElementChild.focus()}break;case"Enter":case"Return":case"Space":if(ev.target.id===THEME_PICKER_ELEMENT_ID&&themes.style.display==="none"){ev.preventDefault();showThemeButtonState();themes.firstElementChild.focus()}break;case"Home":ev.preventDefault();themes.firstElementChild.focus();break;case"End":ev.preventDefault();themes.lastElementChild.focus();break}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);(function(){var x=document.getElementsByClassName("version-selector");if(x.length>0){x[0].onchange=function(){var i,match,url=document.location.href,stripped="",len=window.rootPath.match(/\.\.\//g).length+1;for(i=0;iCrates";var ul=document.createElement("ul");div.appendChild(ul);for(var i=0;i .in-band > .trait").textContent;var baseIdName="impl-"+traitName+"-";var libs=Object.getOwnPropertyNames(imp);for(var i=0,llength=libs.length;i summary:not(.hideme)"),function(el){el.addEventListener("click",function(e){if(e.target.tagName!="SUMMARY"&&e.target.tagName!="A"){e.preventDefault()}})});onEachLazy(document.getElementsByClassName("notable-traits"),function(e){e.onclick=function(){this.getElementsByClassName('notable-traits-tooltiptext')[0].classList.toggle("force-tooltip")}});var sidebar_menu=document.getElementsByClassName("sidebar-menu")[0];if(sidebar_menu){sidebar_menu.onclick=function(){var sidebar=document.getElementsByClassName("sidebar")[0];if(hasClass(sidebar,"mobile")){hideSidebar()}else{showSidebar()}}}var buildHelperPopup=function(){var popup=document.createElement("aside");addClass(popup,"hidden");popup.id="help";popup.addEventListener("click",function(ev){if(ev.target===popup){displayHelp(false,ev)}});var book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \
+if(!String.prototype.startsWith){String.prototype.startsWith=function(searchString,position){position=position||0;return this.indexOf(searchString,position)===position}}if(!String.prototype.endsWith){String.prototype.endsWith=function(suffix,length){var l=length||this.length;return this.indexOf(suffix,l-suffix.length)!==-1}}if(!DOMTokenList.prototype.add){DOMTokenList.prototype.add=function(className){if(className&&!hasClass(this,className)){if(this.className&&this.className.length>0){this.className+=" "+className}else{this.className=className}}}}if(!DOMTokenList.prototype.remove){DOMTokenList.prototype.remove=function(className){if(className&&this.className){this.className=(" "+this.className+" ").replace(" "+className+" "," ").trim()}}}function getVar(name){var el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}(function(){window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");window.searchJS=resourcePath("search",".js");window.searchIndexJS=resourcePath("search-index",".js");var sidebarVars=document.getElementById("sidebar-vars");if(sidebarVars){window.sidebarCurrent={name:sidebarVars.attributes["data-name"].value,ty:sidebarVars.attributes["data-ty"].value,relpath:sidebarVars.attributes["data-relpath"].value,}}}());function getVirtualKey(ev){if("key"in ev&&typeof ev.key!="undefined"){return ev.key}var c=ev.charCode||ev.keyCode;if(c==27){return"Escape"}return String.fromCharCode(c)}var THEME_PICKER_ELEMENT_ID="theme-picker";var THEMES_ELEMENT_ID="theme-choices";var MAIN_ID="main-content";function getThemesElement(){return document.getElementById(THEMES_ELEMENT_ID)}function getThemePickerElement(){return document.getElementById(THEME_PICKER_ELEMENT_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function showThemeButtonState(){var themePicker=getThemePickerElement();var themeChoices=getThemesElement();themeChoices.style.display="block";themePicker.style.borderBottomRightRadius="0";themePicker.style.borderBottomLeftRadius="0"}function hideThemeButtonState(){var themePicker=getThemePickerElement();var themeChoices=getThemesElement();themeChoices.style.display="none";themePicker.style.borderBottomRightRadius="3px";themePicker.style.borderBottomLeftRadius="3px"}(function(){var themeChoices=getThemesElement();var themePicker=getThemePickerElement();var availableThemes=getVar("themes").split(",");function switchThemeButtonState(){if(themeChoices.style.display==="block"){hideThemeButtonState()}else{showThemeButtonState()}}function handleThemeButtonsBlur(e){var active=document.activeElement;var related=e.relatedTarget;if(active.id!==THEME_PICKER_ELEMENT_ID&&(!active.parentNode||active.parentNode.id!==THEMES_ELEMENT_ID)&&(!related||(related.id!==THEME_PICKER_ELEMENT_ID&&(!related.parentNode||related.parentNode.id!==THEMES_ELEMENT_ID)))){hideThemeButtonState()}}themePicker.onclick=switchThemeButtonState;themePicker.onblur=handleThemeButtonsBlur;availableThemes.forEach(function(item){var but=document.createElement("button");but.textContent=item;but.onclick=function(){switchTheme(window.currentTheme,window.mainTheme,item,true);useSystemTheme(false)};but.onblur=handleThemeButtonsBlur;themeChoices.appendChild(but)})}());(function(){"use strict";window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:function(){return document.getElementById("search")},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:function(){if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},focus:function(){searchState.input.focus()},defocus:function(){searchState.input.blur()},showResults:function(search){if(search===null||typeof search==='undefined'){search=searchState.outputElement()}addClass(main,"hidden");removeClass(search,"hidden");searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:function(search){if(search===null||typeof search==='undefined'){search=searchState.outputElement()}addClass(search,"hidden");removeClass(main,"hidden");document.title=searchState.titleBeforeSearch;if(searchState.browserSupportsHistoryApi()){history.replaceState("",window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:function(){var params={};window.location.search.substring(1).split("&").map(function(s){var pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},putBackSearch:function(search_input){var search=searchState.outputElement();if(search_input.value!==""&&hasClass(search,"hidden")){searchState.showResults(search);if(searchState.browserSupportsHistoryApi()){var extra="?search="+encodeURIComponent(search_input.value);history.replaceState(search_input.value,"",getNakedUrl()+extra+window.location.hash)}document.title=searchState.title}},browserSupportsHistoryApi:function(){return window.history&&typeof window.history.pushState==="function"},setup:function(){var search_input=searchState.input;if(!searchState.input){return}function loadScript(url){var script=document.createElement('script');script.src=url;document.head.append(script)}var searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(window.searchJS);loadScript(window.searchIndexJS)}}search_input.addEventListener("focus",function(){searchState.putBackSearch(this);search_input.origPlaceholder=searchState.input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});search_input.addEventListener("blur",function(){search_input.placeholder=searchState.input.origPlaceholder});if(search_input.value!=''){loadSearch()}searchState.addCrateDropdown(window.ALL_CRATES);var params=searchState.getQueryStringParams();if(params.search!==undefined){var search=searchState.outputElement();search.innerHTML=""+searchState.loadingText+"
";searchState.showResults(search);loadSearch()}},addCrateDropdown:function(crates){var elem=document.getElementById("crate-search");if(!elem){return}var savedCrate=getSettingValue("saved-filter-crate");for(var i=0,len=crates.length;i0){return tmp}}return null}function showSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){addClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];if(sidebar){addClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(!filler){var div=document.createElement("div");div.id="sidebar-filler";sidebar.appendChild(div)}}}function hideSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){removeClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(filler){filler.remove()}document.getElementsByTagName("body")[0].style.marginTop=""}var toggleAllDocsId="toggle-all-docs";var main=document.getElementById(MAIN_ID);var savedHash="";function handleHashes(ev){var elem;var search=searchState.outputElement();if(ev!==null&&search&&!hasClass(search,"hidden")&&ev.newURL){searchState.hideResults(search);var hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(searchState.browserSupportsHistoryApi()){history.replaceState(hash,"",getNakedUrl()+window.location.search+"#"+hash)}elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function getHelpElement(build){if(build){buildHelperPopup()}return document.getElementById("help")}function displayHelp(display,ev,help){if(display){help=help?help:getHelpElement(true);if(hasClass(help,"hidden")){ev.preventDefault();removeClass(help,"hidden");addClass(document.body,"blur")}}else{help=help?help:getHelpElement(false);if(help&&!hasClass(help,"hidden")){ev.preventDefault();addClass(help,"hidden");removeClass(document.body,"blur")}}}function handleEscape(ev){var help=getHelpElement(false);var search=searchState.outputElement();if(help&&!hasClass(help,"hidden")){displayHelp(false,ev,help)}else if(search&&!hasClass(search,"hidden")){searchState.clearInputTimeout();ev.preventDefault();searchState.hideResults(search)}searchState.defocus();hideThemeButtonState()}var disableShortcuts=getSettingValue("disable-shortcuts")==="true";function handleShortcut(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":displayHelp(false,ev);ev.preventDefault();searchState.focus();break;case"+":case"-":ev.preventDefault();toggleAllDocs();break;case"?":displayHelp(true,ev);break;case"t":case"T":displayHelp(false,ev);ev.preventDefault();var themePicker=getThemePickerElement();themePicker.click();themePicker.focus();break;default:if(getThemePickerElement().parentNode.contains(ev.target)){handleThemeKeyDown(ev)}}}}function handleThemeKeyDown(ev){var active=document.activeElement;var themes=getThemesElement();switch(getVirtualKey(ev)){case"ArrowUp":ev.preventDefault();if(active.previousElementSibling&&ev.target.id!==THEME_PICKER_ELEMENT_ID){active.previousElementSibling.focus()}else{showThemeButtonState();themes.lastElementChild.focus()}break;case"ArrowDown":ev.preventDefault();if(active.nextElementSibling&&ev.target.id!==THEME_PICKER_ELEMENT_ID){active.nextElementSibling.focus()}else{showThemeButtonState();themes.firstElementChild.focus()}break;case"Enter":case"Return":case"Space":if(ev.target.id===THEME_PICKER_ELEMENT_ID&&themes.style.display==="none"){ev.preventDefault();showThemeButtonState();themes.firstElementChild.focus()}break;case"Home":ev.preventDefault();themes.firstElementChild.focus();break;case"End":ev.preventDefault();themes.lastElementChild.focus();break}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);(function(){var x=document.getElementsByClassName("version-selector");if(x.length>0){x[0].onchange=function(){var i,match,url=document.location.href,stripped="",len=window.rootPath.match(/\.\.\//g).length+1;for(i=0;iCrates";var ul=document.createElement("ul");div.appendChild(ul);for(var i=0;i .in-band > .trait").textContent;var baseIdName="impl-"+traitName+"-";var libs=Object.getOwnPropertyNames(imp);for(var i=0,llength=libs.length;i summary:not(.hideme)"),function(el){el.addEventListener("click",function(e){if(e.target.tagName!="SUMMARY"&&e.target.tagName!="A"){e.preventDefault()}})});onEachLazy(document.getElementsByClassName("notable-traits"),function(e){e.onclick=function(){this.getElementsByClassName('notable-traits-tooltiptext')[0].classList.toggle("force-tooltip")}});var sidebar_menu=document.getElementsByClassName("sidebar-menu")[0];if(sidebar_menu){sidebar_menu.onclick=function(){var sidebar=document.getElementsByClassName("sidebar")[0];if(hasClass(sidebar,"mobile")){hideSidebar()}else{showSidebar()}}}var buildHelperPopup=function(){var popup=document.createElement("aside");addClass(popup,"hidden");popup.id="help";popup.addEventListener("click",function(ev){if(ev.target===popup){displayHelp(false,ev)}});var book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \
the rustdoc book.";var container=document.createElement("div");var shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["T","Focus the theme picker menu"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(function(x){return""+x[0].split(" ").map(function(y,index){return(index&1)===0?""+y+"":" "+y+" "}).join("")+" "+x[1]+" "}).join("");var div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="Keyboard Shortcuts
"+shortcuts+"
";var infos=["Prefix searches with a type followed by a colon (e.g., fn:
) to \
restrict the search to a given item kind.","Accepted kinds are: fn
, mod
, struct
, \
enum
, trait
, type
, macro
, \
and const
.","Search functions by type signature (e.g., vec -> usize
or \
* -> vec
)","Search multiple things at once by splitting your query with comma (e.g., \
str,u8
or String,struct:Vec,test
)","You can look for items with an exact name by putting double quotes around \
- your request: \"string\"
","Look for items inside another one by searching for a path: vec::Vec
",].map(function(x){return""+x+"
"}).join("");var div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="Search Tricks
"+infos;container.appendChild(book_info);container.appendChild(div_shortcuts);container.appendChild(div_infos);var rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";var rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc 1.58.1 (db9d1b20b 2022-01-20)";rustdoc_version.appendChild(rustdoc_version_code);container.appendChild(rustdoc_version);popup.appendChild(container);insertAfter(popup,searchState.outputElement());buildHelperPopup=function(){}};onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){var reset_button_timeout=null;window.copy_path=function(but){var parent=but.parentElement;var path=[];onEach(parent.childNodes,function(child){if(child.tagName==='A'){path.push(child.textContent)}});var el=document.createElement('textarea');el.value=path.join('::');el.setAttribute('readonly','');el.style.position='absolute';el.style.left='-9999px';document.body.appendChild(el);el.select();document.execCommand('copy');document.body.removeChild(el);but.children[0].style.display='none';var tmp;if(but.childNodes.length<2){tmp=document.createTextNode('✓');but.appendChild(tmp)}else{onEachLazy(but.childNodes,function(e){if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent='✓'}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent='';reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}())
\ No newline at end of file
+ your request: \"string\"
","Look for items inside another one by searching for a path: vec::Vec
",].map(function(x){return""+x+"
"}).join("");var div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="Search Tricks
"+infos;container.appendChild(book_info);container.appendChild(div_shortcuts);container.appendChild(div_infos);var rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";var rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);container.appendChild(rustdoc_version);popup.appendChild(container);insertAfter(popup,document.querySelector("main"));buildHelperPopup=function(){}};onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){var reset_button_timeout=null;window.copy_path=function(but){var parent=but.parentElement;var path=[];onEach(parent.childNodes,function(child){if(child.tagName==='A'){path.push(child.textContent)}});var el=document.createElement('textarea');el.value=path.join('::');el.setAttribute('readonly','');el.style.position='absolute';el.style.left='-9999px';document.body.appendChild(el);el.select();document.execCommand('copy');document.body.removeChild(el);but.children[0].style.display='none';var tmp;if(but.childNodes.length<2){tmp=document.createTextNode('✓');but.appendChild(tmp)}else{onEachLazy(but.childNodes,function(e){if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent='✓'}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent='';reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}())
\ No newline at end of file
diff --git a/noscript.css b/noscript.css
index a4ce2bb..8ad8864 100644
--- a/noscript.css
+++ b/noscript.css
@@ -1 +1 @@
- #main .attributes{margin-left:0 !important;}#copy-path{display:none;}.sub{display:none;}#theme-picker{display:none;}
\ No newline at end of file
+ #main-content .attributes{margin-left:0 !important;}#copy-path{display:none;}.sub{display:none;}#theme-picker{display:none;}
\ No newline at end of file
diff --git a/rustdoc.css b/rustdoc.css
index e7788fd..4d3b1e9 100644
--- a/rustdoc.css
+++ b/rustdoc.css
@@ -1 +1 @@
- @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2"),url("FiraSans-Regular.woff") format('woff');font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2"),url("FiraSans-Medium.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular.ttf.woff2") format("woff2"),url("SourceSerif4-Regular.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It.ttf.woff2") format("woff2"),url("SourceSerif4-It.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold.ttf.woff2") format("woff2"),url("SourceSerif4-Bold.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.ttf.woff2") format("woff2"),url("SourceCodePro-Regular.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It.ttf.woff2") format("woff2"),url("SourceCodePro-It.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.ttf.woff2") format("woff2"),url("SourceCodePro-Semibold.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic.ttf.woff2") format("woff2"),url("NanumBarunGothic.ttf.woff") format("woff");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:16px/1.4 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;padding:10px 15px 20px 15px;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";}h1{font-size:1.5em;}h2{font-size:1.4em;}h3{font-size:1.3em;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:20px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}h1.fqn{display:flex;border-bottom:1px dashed;margin-top:0;padding-left:1px;}h1.fqn>.in-band>a:hover{text-decoration:underline;}h2,.top-doc h3,.top-doc h4,.sidebar .others h3{border-bottom:1px solid;}h3.code-header{font-size:1.1em;}h4.code-header{font-size:1em;}h3.code-header,h4.code-header{font-weight:600;border-bottom-style:none;padding:0;margin:0;}.impl,.impl-items .method,.methods .method,.impl-items .type,.methods .type,.impl-items .associatedconstant,.methods .associatedconstant,.impl-items .associatedtype,.methods .associatedtype{flex-basis:100%;font-weight:600;margin-top:16px;margin-bottom:10px;position:relative;}div.impl-items>div{padding-left:0;}h1,h2,h3,h4,h5,h6,.sidebar,a.source,.search-input,.search-results .result-name,.content table td:first-child>a,.item-left>a,div.item-list .out-of-band,span.since,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,div.impl-items>div:not(.docblock):not(.item-info),.content ul.crate a.crate,a.srclink,#main>ul.docblock>li>a{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}.content ul.crate a.crate{font-size:16px/1.6;}ol,ul{padding-left:25px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.6em;}p{margin:0 0 .6em 0;}summary{outline:none;}td,th{padding:0;}table{border-collapse:collapse;}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;}details:not(.rustdoc-toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.1em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;}.docblock.item-decl{margin-left:0;}.item-decl pre{overflow-x:auto;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{margin-top:50px;max-width:none;overflow:visible;margin-left:0px;}nav.sub{font-size:16px;text-transform:uppercase;}.sidebar{width:200px;position:fixed;left:0;top:0;bottom:0;overflow-y:scroll;}.rustdoc.source .sidebar{overflow-y:auto;}*{scrollbar-width:initial;}.sidebar{scrollbar-width:thin;}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;}.sidebar .block>ul>li{margin-right:-10px;}.content,nav{max-width:960px;}.hidden{display:none !important;}.logo-container{height:100px;width:100px;position:relative;margin:20px auto;display:block;margin-top:10px;}.logo-container>img{max-width:100px;max-height:100px;height:100%;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;}.sidebar .location{border:1px solid;font-size:17px;margin:30px 10px 20px 10px;text-align:center;word-wrap:break-word;font-weight:inherit;padding:0;}.sidebar .version{font-size:15px;text-align:center;border-bottom:1px solid;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;}.location:empty{border:none;}.location a:first-of-type{font-weight:500;}.location a:hover{text-decoration:underline;}.block{padding:0;margin-bottom:14px;}.block h2,.block h3{text-align:center;}.block ul,.block li{margin:0 10px;padding:0;list-style:none;}.block a{display:block;text-overflow:ellipsis;overflow:hidden;line-height:15px;padding:7px 5px;font-size:14px;font-weight:300;transition:border 500ms ease-out;}.sidebar-title{border-top:1px solid;border-bottom:1px solid;text-align:center;font-size:17px;margin-bottom:5px;font-weight:inherit;padding:0;}.sidebar-links{margin-bottom:15px;}.sidebar-links>a{padding-left:10px;width:100%;}.sidebar-menu{display:none;}.content{padding:15px 0;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc .example-wrap{display:inline-flex;margin-bottom:10px;}.example-wrap{position:relative;width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;padding:13px 8px;text-align:right;border-top-left-radius:5px;border-bottom-left-radius:5px;}.example-wrap>pre.rust a:hover{text-decoration:underline;}.rustdoc:not(.source) .example-wrap>pre:not(.line-number){width:100%;overflow-x:auto;}.rustdoc:not(.source) .example-wrap>pre.line-numbers{width:auto;overflow-x:visible;}.rustdoc .example-wrap>pre{margin:0;}#search{margin-left:230px;position:relative;}#results>table{width:100%;table-layout:fixed;}.content>.example-wrap pre.line-numbers{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:anywhere;}.docblock-short p{display:inline;}.docblock-short p{overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock>:not(pre)>code,.docblock-short>:not(pre)>code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.3em;}.top-doc .docblock h3{font-size:1.15em;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.1em;}.top-doc .docblock h6{font-size:1em;}.docblock h5{font-size:1em;}.docblock h6{font-size:0.95em;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.information){max-width:100%;overflow-x:auto;}.content .out-of-band{flex-grow:0;text-align:right;font-size:23px;margin:0px;padding:0 0 0 12px;font-weight:normal;}.method>.code-header,.trait-impl>.code-header,.invisible>.code-header{max-width:calc(100% - 41px);display:block;}.invisible{width:100%;display:inline-block;}.content .in-band{flex-grow:1;margin:0px;padding:0px;overflow-wrap:anywhere;}.in-band>code,.in-band>.code-header{display:inline-block;}#main{position:relative;}#main>.since{top:inherit;font-family:"Fira Sans",Arial,sans-serif;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.1em;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);overflow-x:auto;display:block;}.docblock table td{padding:.5em;border:1px dashed;}.docblock table th{padding:.5em;text-align:left;border:1px solid;}.fields+table{margin-bottom:1em;}.content .item-list{list-style-type:none;padding:0;}.content .multi-column{-moz-column-count:5;-moz-column-gap:2.5em;-webkit-column-count:5;-webkit-column-gap:2.5em;column-count:5;column-gap:2.5em;}.content .multi-column li{width:100%;display:inline-block;}.content>.methods>.method{font-size:1em;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.8em;}.content .methods>div:not(.notable-traits):not(.method){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.content .docblock>.impl-items .table-display,.impl-items table td{border:none;}.content .item-info code{font-size:90%;}.content .item-info{position:relative;margin-left:33px;}.sub-variant>div>.item-info{margin-top:initial;}.content .item-info::before{content:'⬑';font-size:25px;position:absolute;top:-6px;left:-19px;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main>.item-info{margin-top:0;}nav:not(.sidebar){border-bottom:1px solid;padding-bottom:10px;margin-bottom:10px;}nav.main{padding:20px 0;text-align:center;}nav.main .current{border-top:1px solid;border-bottom:1px solid;}nav.main .separator{border:1px solid;display:inline-block;height:23px;margin:0 20px;}nav.sum{text-align:right;}nav.sub form{display:inline;}nav.sub,.content{margin-left:230px;}a{text-decoration:none;background:transparent;}.small-section-header{display:flex;justify-content:space-between;position:relative;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor,.method.trait-impl:hover>.anchor,.type.trait-impl:hover>.anchor,.associatedconstant.trait-impl:hover>.anchor,.associatedtype.trait-impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.anchor::before{content:'§';}.docblock a:not(.srclink):not(.test-arrow):hover,.docblock-short a:not(.srclink):not(.test-arrow):hover,.item-info a{text-decoration:underline;}.invisible>.srclink,.method>.code-header+.srclink{position:absolute;top:0;right:0;font-size:17px;font-weight:normal;}.block a.current.crate{font-weight:500;}.item-table{display:table;}.item-row{display:table-row;}.item-left,.item-right{display:table-cell;}.item-left{padding-right:1.2rem;}.search-container{position:relative;}.search-container>div{display:inline-flex;width:calc(100% - 63px);}#crate-search{min-width:115px;margin-top:5px;padding:6px;padding-right:19px;flex:none;border:0;border-right:0;border-radius:4px 0 0 4px;outline:none;cursor:pointer;border-right:1px solid;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;text-overflow:"";background-repeat:no-repeat;background-color:transparent;background-size:20px;background-position:calc(100% - 1px) 56%;}.search-container>.top-button{position:absolute;right:0;top:10px;}.search-input{-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:none;border-radius:1px;margin-top:5px;padding:10px 16px;font-size:17px;transition:border-color 300ms ease;transition:border-radius 300ms ease-in-out;transition:box-shadow 300ms ease-in-out;width:100%;}#crate-search+.search-input{border-radius:0 1px 1px 0;width:calc(100% - 32px);}.search-input:focus{border-radius:2px;border:0;outline:0;}.search-results{display:none;padding-bottom:2em;}.search-results.active{display:block;clear:both;}.search-results .desc>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results>a{display:block;width:100%;margin-left:2px;margin-right:2px;border-bottom:1px solid #aaa3;}.search-results>a>div{display:flex;flex-flow:row wrap;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:50%;}.search-results .result-name{padding-right:1em;}.search-results .result-name>span{display:inline-block;margin:0;font-weight:normal;}body.blur>:not(#help){filter:blur(8px);-webkit-filter:blur(8px);opacity:.7;}#help{width:100%;height:100vh;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;}#help>div{flex:0 0 auto;box-shadow:0 0 6px rgba(0,0,0,.2);width:550px;height:auto;border:1px solid;}#help dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:18px;}#help span.top{text-align:center;display:block;margin:10px 0;border-bottom:1px solid;padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid;}#help dd{margin:5px 35px;}#help .infos{padding-left:0;}#help h1,#help h2{margin-top:0;}#help>div div{width:50%;float:left;padding:0 20px 20px 17px;;}.item-info .stab{display:table;}.stab{padding:3px;margin-bottom:5px;font-size:90%;font-weight:normal;}.stab p{display:inline;}.stab .emoji{font-size:1.2em;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.module-item .stab,.import-item .stab{border-radius:3px;display:inline-block;font-size:80%;line-height:1.2;margin-bottom:0;margin-left:.3em;padding:2px;vertical-align:text-bottom;}.module-item.unstable,.import-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;}.impl-items .since,.impl .since,.methods .since{padding-left:12px;padding-right:2px;position:initial;}.impl-items .srclink,.impl .srclink,.methods .srclink{font-size:17px;font-weight:normal;}.rightside{float:right;}.has-srclink{font-size:16px;margin-bottom:12px;justify-content:space-between;}.variants_table{width:100%;}.variants_table tbody tr td:first-child{width:1%;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:130%;top:5px;right:5px;z-index:1;}a.test-arrow:hover{text-decoration:none;}.section-header:hover a:before{position:absolute;left:-25px;padding-right:10px;content:'\2002\00a7\2002';}.section-header:hover a{text-decoration:none;}.code-attribute{font-weight:300;}.since+.srclink{padding-left:10px;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:20px;margin-right:5px;}h3.variant{font-weight:600;font-size:1.1em;margin-bottom:10px;border-bottom:none;}.sub-variant h4{font-size:1em;font-weight:400;border-bottom:none;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}.top-doc .docblock>.section-header:first-child{margin-left:15px;}.top-doc .docblock>.section-header:first-child:hover>a:before{left:-10px;}.docblock>.section-header:first-child{margin-top:0;}:target>code,:target>.code-header{opacity:1;}:target{padding-right:3px;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:16px;}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:20px;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:16px;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .notable{margin:0;margin-bottom:13px;font-size:19px;font-weight:600;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:20px;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:18px;cursor:pointer;border:0;border-top:2px solid;}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:16px;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}#all-types{text-align:center;border:1px solid;margin:0 10px;margin-bottom:10px;display:block;border-radius:7px;}#all-types>p{margin:5px 0;}#sidebar-toggle{position:fixed;top:30px;left:300px;z-index:10;padding:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;transition:left .5s;font-size:1.2em;border:1px solid;border-left:0;}#source-sidebar{position:fixed;top:0;bottom:0;left:0;width:300px;z-index:1;overflow:auto;transition:left .5s;border-right:1px solid;}#source-sidebar>.title{font-size:1.5em;text-align:center;border-bottom:1px solid;margin-bottom:6px;}.theme-picker{position:absolute;left:211px;top:19px;}.theme-picker button{outline:none;}#settings-menu,#help-button{position:absolute;top:10px;}#settings-menu{right:0;outline:none;}#theme-picker,#settings-menu,#help-button,#copy-path{padding:4px;width:27px;height:29px;border:1px solid;border-radius:3px;cursor:pointer;}#help-button{right:30px;font-family:"Fira Sans",Arial,sans-serif;text-align:center;font-size:17px;padding-top:2px;}#copy-path{background:initial;margin-left:10px;padding:0;padding-left:2px;border:0;}#theme-choices{display:none;position:absolute;left:0;top:28px;border:1px solid;border-radius:3px;z-index:1;cursor:pointer;}#theme-choices>button{border:none;width:100%;padding:4px 8px;text-align:center;background:rgba(0,0,0,0);}#theme-choices>button:not(:first-child){border-top:1px solid;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px;border-radius:3px;box-shadow:inset 0 -1px 0;cursor:default;}.hidden-by-impl-hider,.hidden-by-usual-hider{display:none !important;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:16px;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:19px;display:block;}#implementors-list>.impl-items .table-display .out-of-band{font-size:17px;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main>ul{padding-left:10px;}#main>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}div.children{padding-left:27px;display:none;}div.name{cursor:pointer;position:relative;margin-left:16px;}div.files>a{display:block;padding:0 3px;}div.files>a:hover,div.name:hover{background-color:#a14b4b;}div.name.expand+.children{display:block;}div.name::before{content:"\25B6";padding-left:4px;font-size:0.7em;position:absolute;left:-16px;top:4px;}div.name.expand::before{transform:rotate(90deg);left:-15px;top:2px;}details.rustdoc-toggle>summary.hideme{cursor:pointer;}details.rustdoc-toggle>summary{list-style:none;}details.rustdoc-toggle>summary::-webkit-details-marker,details.rustdoc-toggle>summary::marker{display:none;}details.rustdoc-toggle>summary.hideme>span{margin-left:9px;}details.rustdoc-toggle>summary::before{content:"";cursor:pointer;width:17px;height:max(17px,1.1em);background-repeat:no-repeat;background-position:top left;display:inline-block;vertical-align:middle;opacity:.5;}details.rustdoc-toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.rustdoc-toggle>summary.hideme::after{content:"";}details.rustdoc-toggle>summary:focus::before,details.rustdoc-toggle>summary:hover::before{opacity:1;}details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before{font-family:'Fira Sans';font-size:16px;}details.non-exhaustive{margin-bottom:8px;}details.rustdoc-toggle>summary.hideme::before{position:relative;}details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:3px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.rustdoc-toggle[open] >summary.hideme{position:absolute;}details.rustdoc-toggle{position:relative;}details.rustdoc-toggle[open] >summary.hideme>span{display:none;}details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{width:17px;height:max(17px,1.1em);background-repeat:no-repeat;background-position:top left;display:inline-block;content:"";}details.rustdoc-toggle[open] >summary::after,details.rustdoc-toggle[open] >summary.hideme::after{content:"Collapse";}@media (min-width:701px){.docblock>.information:first-child>.tooltip{margin-top:16px;}}@media (max-width:700px){body{padding-top:0px;}.rustdoc>.sidebar{height:45px;min-height:40px;margin:0;margin-left:-15px;padding:0 15px;position:static;z-index:11;}.sidebar>.location{float:right;margin:0px;margin-top:2px;padding:3px 10px 1px 10px;min-height:39px;background:inherit;text-align:left;font-size:24px;}.sidebar .location:empty{padding:0;}.sidebar .logo-container{width:35px;height:35px;margin-top:5px;margin-bottom:5px;float:left;margin-left:50px;}.sidebar .logo-container>img{max-width:35px;max-height:35px;}.sidebar-menu{position:fixed;z-index:10;font-size:2rem;cursor:pointer;width:45px;left:0;text-align:center;display:block;border-bottom:1px solid;border-right:1px solid;height:45px;}.rustdoc.source>.sidebar>.sidebar-menu{display:none;}.sidebar-elems{position:fixed;z-index:1;top:45px;bottom:0;width:246px;left:-246px;overflow-y:auto;border-right:1px solid;}.sidebar>.block.version{overflow:hidden;border-bottom:none;margin-bottom:0;height:100%;padding-left:12px;}.sidebar>.block.version>div.narrow-helper{float:left;width:1px;height:100%;}.sidebar>.block.version>p{margin:0;min-width:55px;display:flex;align-items:center;height:100%;}nav.sub{width:calc(100% - 32px);float:right;}.content{margin-left:0px;}#main,#search{margin-top:45px;padding:0;}#search{margin-left:0;}.anchor{display:none !important;}.theme-picker{left:10px;top:54px;z-index:1;}.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}.sidebar.mobile{position:fixed;width:100%;margin-left:0;background-color:rgba(0,0,0,0);height:100%;}.sidebar.mobile>div.version{overflow:hidden;max-height:33px;}.sidebar{width:calc(100% + 30px);}.show-it,.sidebar-elems:focus-within{z-index:2;left:0;}.show-it>.block.items{margin:8px 0;}.show-it>.block.items>ul{margin:0;}.show-it>.block.items>ul>li{text-align:center;margin:2px 0;}.show-it>.block.items>ul>li>a{font-size:21px;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}#main>details.rustdoc-toggle>summary::before,#main>div>details.rustdoc-toggle>summary::before{left:-11px;}#all-types{margin:10px;}#sidebar-toggle{top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;}#source-sidebar{z-index:11;}#main>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}#help-button{display:none;}.item-table{display:block;}.item-row{display:flex;flex-flow:column wrap;}.item-left,.item-right{width:100%;}.search-container>div{width:calc(100% - 32px);}.search-results>a{border-bottom:1px solid #aaa9;padding:5px 0px;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:100%;}.search-results div.desc,.search-results .result-description,.item-right{padding-left:2em;}}@media print{nav.sub,.content .out-of-band{display:none;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main,#search{margin-top:100px;}#main>table:not(.table-display) td{word-break:break-word;width:50%;}.search-container>div{display:block;width:calc(100% - 37px);}#crate-search{width:100%;border-radius:4px;border:0;}#crate-search+.search-input{width:calc(100% + 71px);margin-left:-36px;}#theme-picker,#settings-menu{padding:5px;width:31px;height:31px;}#theme-picker{margin-top:-2px;}#settings-menu{top:7px;}.docblock{margin-left:12px;}.docblock code{overflow-wrap:anywhere;}}.scraped-example-title{font-family:'Fira Sans';}.scraped-example:not(.expanded) .code-wrapper pre.line-numbers{overflow:hidden;max-height:240px;}.scraped-example:not(.expanded) .code-wrapper .example-wrap pre.rust{overflow-y:hidden;max-height:240px;padding-bottom:0;}.scraped-example .code-wrapper .prev{position:absolute;top:0.25em;right:2.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .next{position:absolute;top:0.25em;right:1.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .expand{position:absolute;top:0.25em;right:0.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper:before{content:" ";width:100%;height:5px;position:absolute;z-index:100;top:0;background:linear-gradient(to bottom,rgba(255,255,255,1),rgba(255,255,255,0));}.scraped-example:not(.expanded) .code-wrapper:after{content:" ";width:100%;height:5px;position:absolute;z-index:100;bottom:0;background:linear-gradient(to top,rgba(255,255,255,1),rgba(255,255,255,0));}.scraped-example:not(.expanded) .code-wrapper{overflow:hidden;max-height:240px;}.scraped-example .code-wrapper .line-numbers{margin:0;padding:14px 0;}.scraped-example .code-wrapper .line-numbers span{padding:0 14px;}.scraped-example .code-wrapper .example-wrap{flex:1;overflow-x:auto;overflow-y:hidden;margin-bottom:0;}.scraped-example .code-wrapper .example-wrap pre.rust{overflow-x:inherit;width:inherit;overflow-y:hidden;}.scraped-example .example-wrap .rust span.highlight{background:#fcffd6;}.scraped-example .example-wrap .rust span.highlight.focus{background:#f6fdb0;}.more-examples-toggle{margin-top:10px;}.more-examples-toggle summary{color:#999;font-family:'Fira Sans';}.more-scraped-examples{margin-left:25px;display:flex;flex-direction:row;width:calc(100% - 25px);}.more-scraped-examples-inner{width:calc(100% - 20px);}.toggle-line{align-self:stretch;margin-right:10px;margin-top:5px;padding:0 4px;cursor:pointer;}.toggle-line:hover .toggle-line-inner{background:#aaa;}.toggle-line-inner{min-width:2px;background:#ddd;height:100%;}.more-scraped-examples .scraped-example{margin-bottom:20px;}.more-scraped-examples .scraped-example:last-child{margin-bottom:0;}.example-links a{margin-top:20px;font-family:'Fira Sans';}.example-links ul{margin-bottom:0;}details.undocumented[open] >summary::before,details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{background-image:url(toggle-minus.svg);}details.undocumented>summary::before,details.rustdoc-toggle>summary::before{background-image:url(toggle-plus.svg);}
\ No newline at end of file
+ @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2"),url("FiraSans-Regular.woff") format('woff');font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2"),url("FiraSans-Medium.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular.ttf.woff2") format("woff2"),url("SourceSerif4-Regular.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It.ttf.woff2") format("woff2"),url("SourceSerif4-It.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold.ttf.woff2") format("woff2"),url("SourceSerif4-Bold.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.ttf.woff2") format("woff2"),url("SourceCodePro-Regular.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It.ttf.woff2") format("woff2"),url("SourceCodePro-It.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.ttf.woff2") format("woff2"),url("SourceCodePro-Semibold.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic.ttf.woff2") format("woff2"),url("NanumBarunGothic.ttf.woff") format("woff");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:1rem/1.4 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";}h1{font-size:1.5rem;}h2{font-size:1.4rem;}h3{font-size:1.3rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:20px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}h1.fqn{display:flex;border-bottom:1px dashed;margin-top:0;padding-left:1px;}h1.fqn>.in-band>a:hover{text-decoration:underline;}h2,.top-doc h3,.top-doc h4,.sidebar .others h3{border-bottom:1px solid;}h3.code-header{font-size:1.1rem;}h4.code-header{font-size:1rem;}h3.code-header,h4.code-header{font-weight:600;border-bottom-style:none;padding:0;margin:0;}.impl,.impl-items .method,.methods .method,.impl-items .type,.methods .type,.impl-items .associatedconstant,.methods .associatedconstant,.impl-items .associatedtype,.methods .associatedtype{flex-basis:100%;font-weight:600;margin-top:16px;margin-bottom:10px;position:relative;}div.impl-items>div{padding-left:0;}h1,h2,h3,h4,h5,h6,.sidebar,a.source,.search-input,.search-results .result-name,.content table td:first-child>a,.item-left>a,div.item-list .out-of-band,span.since,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,div.impl-items>div:not(.docblock):not(.item-info),.content ul.crate a.crate,a.srclink,#main-content>ul.docblock>li>a{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}.content ul.crate a.crate{font-size:1rem/1.6;}ol,ul{padding-left:25px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.6em;}p{margin:0 0 .6em 0;}summary{outline:none;}td,th{padding:0;}table{border-collapse:collapse;}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.source main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}.source .width-limiter{max-width:unset;}details:not(.rustdoc-toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.1em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;}.docblock.item-decl{margin-left:0;}.item-decl pre{overflow-x:auto;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{max-width:none;overflow:visible;margin-left:0px;}nav.sub{position:relative;font-size:1rem;text-transform:uppercase;}.sub-container{display:flex;flex-direction:row;flex-wrap:nowrap;}.sub-logo-container{display:none;margin-right:20px;}.source .sub-logo-container{display:block;}.source .sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.sidebar{width:200px;overflow-y:scroll;position:sticky;min-width:200px;height:100vh;top:0;left:0;}.rustdoc.source .sidebar{width:50px;min-width:0px;max-width:300px;flex-grow:0;flex-shrink:0;flex-basis:auto;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.source .sidebar>*:not(:first-child){transition:opacity 0.5s,visibility 0.2s;opacity:0;visibility:hidden;}.source .sidebar.expanded{overflow-y:auto;}.source .sidebar.expanded>*{opacity:1;visibility:visible;}*{scrollbar-width:initial;}.sidebar{scrollbar-width:thin;}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;}.sidebar .block>ul>li{margin-right:-10px;}.hidden{display:none !important;}.logo-container{display:flex;margin-top:10px;margin-bottom:10px;justify-content:center;}.logo-container>img{height:100px;width:100px;}.sidebar .location{border:1px solid;font-size:1.0625rem;margin:30px 10px 20px 10px;text-align:center;word-wrap:break-word;font-weight:inherit;padding:0;}.sidebar .version{font-size:0.9375rem;text-align:center;border-bottom:1px solid;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;}.location:empty{border:none;}.location a:first-of-type{font-weight:500;}.location a:hover{text-decoration:underline;}.block{padding:0;margin-bottom:14px;}.block h2,.block h3{text-align:center;}.block ul,.block li{margin:0 10px;padding:0;list-style:none;}.block a{display:block;text-overflow:ellipsis;overflow:hidden;line-height:15px;padding:7px 5px;font-size:0.875rem;font-weight:300;transition:border 500ms ease-out;}.sidebar-title{border-top:1px solid;border-bottom:1px solid;text-align:center;font-size:1.0625rem;margin-bottom:5px;font-weight:inherit;padding:0;}.sidebar-links{margin-bottom:15px;}.sidebar-links>a{padding-left:10px;width:100%;}.sidebar-menu{display:none;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc .example-wrap{display:inline-flex;margin-bottom:10px;}.example-wrap{position:relative;width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;padding:13px 8px;text-align:right;border-top-left-radius:5px;border-bottom-left-radius:5px;}.example-wrap>pre.rust a:hover{text-decoration:underline;}.rustdoc:not(.source) .example-wrap>pre:not(.line-number){width:100%;overflow-x:auto;}.rustdoc:not(.source) .example-wrap>pre.line-numbers{width:auto;overflow-x:visible;}.rustdoc .example-wrap>pre{margin:0;}#search{position:relative;}.search-loading{text-align:center;}#results>table{width:100%;table-layout:fixed;}.content>.example-wrap pre.line-numbers{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:anywhere;}.docblock-short p{display:inline;}.docblock-short p{overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock>:not(pre)>code,.docblock-short>:not(pre)>code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.3rem;}.top-doc .docblock h3{font-size:1.15rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.1rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.95rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.information){max-width:100%;overflow-x:auto;}.content .out-of-band{flex-grow:0;text-align:right;font-size:1.4375rem;margin:0px;padding:0 0 0 12px;font-weight:normal;}.method>.code-header,.trait-impl>.code-header,.invisible>.code-header{max-width:calc(100% - 41px);display:block;}.invisible{width:100%;display:inline-block;}.content .in-band{flex-grow:1;margin:0px;padding:0px;overflow-wrap:anywhere;}.in-band>code,.in-band>.code-header{display:inline-block;}#main-content{position:relative;}#main-content>.since{top:inherit;font-family:"Fira Sans",Arial,sans-serif;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.1rem;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);overflow-x:auto;display:block;}.docblock table td{padding:.5em;border:1px dashed;}.docblock table th{padding:.5em;text-align:left;border:1px solid;}.fields+table{margin-bottom:1em;}.content .item-list{list-style-type:none;padding:0;}.content .multi-column{-moz-column-count:5;-moz-column-gap:2.5em;-webkit-column-count:5;-webkit-column-gap:2.5em;column-count:5;column-gap:2.5em;}.content .multi-column li{width:100%;display:inline-block;}.content>.methods>.method{font-size:1rem;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.8rem;}.content .methods>div:not(.notable-traits):not(.method){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.content .docblock>.impl-items .table-display,.impl-items table td{border:none;}.content .item-info code{font-size:0.81rem;}.content .item-info{position:relative;margin-left:33px;}.sub-variant>div>.item-info{margin-top:initial;}.content .item-info::before{content:'⬑';font-size:1.5625rem;position:absolute;top:-6px;left:-19px;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main-content>.item-info{margin-top:0;}nav:not(.sidebar){flex-grow:1;border-bottom:1px solid;padding-bottom:10px;margin-bottom:25px;}.source nav:not(.sidebar).sub{margin-left:32px;}nav.main{padding:20px 0;text-align:center;}nav.main .current{border-top:1px solid;border-bottom:1px solid;}nav.main .separator{border:1px solid;display:inline-block;height:23px;margin:0 20px;}nav.sum{text-align:right;}nav.sub form{display:inline;}a{text-decoration:none;background:transparent;}.small-section-header{display:flex;justify-content:space-between;position:relative;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor,.method.trait-impl:hover>.anchor,.type.trait-impl:hover>.anchor,.associatedconstant.trait-impl:hover>.anchor,.associatedtype.trait-impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.anchor::before{content:'§';}.docblock a:not(.srclink):not(.test-arrow):hover,.docblock-short a:not(.srclink):not(.test-arrow):hover,.item-info a{text-decoration:underline;}.invisible>.srclink,.method>.code-header+.srclink{position:absolute;top:0;right:0;font-size:1.0625rem;font-weight:normal;}.block a.current.crate{font-weight:500;}.item-table{display:table;}.item-row{display:table-row;}.item-left,.item-right{display:table-cell;}.item-left{padding-right:1.2rem;}.search-container{position:relative;max-width:960px;}.search-container>div{display:inline-flex;width:calc(100% - 63px);}#crate-search{min-width:115px;margin-top:5px;padding:6px;padding-right:19px;flex:none;border:0;border-right:0;border-radius:4px 0 0 4px;outline:none;cursor:pointer;border-right:1px solid;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;text-overflow:"";background-repeat:no-repeat;background-color:transparent;background-size:20px;background-position:calc(100% - 1px) 56%;background-image:url("down-arrow.svg");}.search-container>.top-button{position:absolute;right:0;top:10px;}.search-input{-webkit-appearance:none;-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:none;border-radius:1px;margin-top:5px;padding:10px 16px;font-size:1.0625rem;transition:border-color 300ms ease;transition:border-radius 300ms ease-in-out;transition:box-shadow 300ms ease-in-out;width:100%;}#crate-search+.search-input{border-radius:0 1px 1px 0;width:calc(100% - 32px);}.search-input:focus{border-radius:2px;border:0;outline:0;}.search-results{display:none;padding-bottom:2em;}.search-results.active{display:block;clear:both;}.search-results .desc>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results>a{display:block;width:100%;margin-left:2px;margin-right:2px;border-bottom:1px solid #aaa3;}.search-results>a>div{display:flex;flex-flow:row wrap;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:50%;}.search-results .result-name{padding-right:1em;}.search-results .result-name>span{display:inline-block;margin:0;font-weight:normal;}body.blur>:not(#help){filter:blur(8px);-webkit-filter:blur(8px);opacity:.7;}#help{width:100%;height:100vh;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;}#help>div{flex:0 0 auto;box-shadow:0 0 6px rgba(0,0,0,.2);width:550px;height:auto;border:1px solid;}#help dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{text-align:center;display:block;margin:10px 0;border-bottom:1px solid;padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid;}#help dd{margin:5px 35px;}#help .infos{padding-left:0;}#help h1,#help h2{margin-top:0;}#help>div div{width:50%;float:left;padding:0 20px 20px 17px;;}.item-info .stab{display:table;}.stab{padding:3px;margin-bottom:5px;font-size:0.9rem;font-weight:normal;}.stab p{display:inline;}.stab .emoji{font-size:1.2rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.module-item .stab,.import-item .stab{border-radius:3px;display:inline-block;font-size:0.8rem;line-height:1.2;margin-bottom:0;margin-left:.3em;padding:2px;vertical-align:text-bottom;}.module-item.unstable,.import-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;}.impl-items .since,.impl .since,.methods .since{padding-left:12px;padding-right:2px;position:initial;}.impl-items .srclink,.impl .srclink,.methods .srclink{font-weight:normal;font-size:1rem;}.impl .srclink{font-size:1.0625rem;}.rightside{float:right;}.has-srclink{font-size:1rem;margin-bottom:12px;justify-content:space-between;}.variants_table{width:100%;}.variants_table tbody tr td:first-child{width:1%;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.3rem;top:5px;right:5px;z-index:1;}.example-wrap:hover .test-arrow{visibility:visible;}a.test-arrow:hover{text-decoration:none;}.section-header:hover a:before{position:absolute;left:-25px;padding-right:10px;content:'\2002\00a7\2002';}.section-header:hover a{text-decoration:none;}.code-attribute{font-weight:300;}.since+.srclink{padding-left:10px;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:1.25rem;margin-right:5px;}h3.variant{font-weight:600;font-size:1.1rem;margin-bottom:10px;border-bottom:none;}.sub-variant h4{font-size:1rem;font-weight:400;border-bottom:none;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}.top-doc .docblock>.section-header:first-child{margin-left:15px;}.top-doc .docblock>.section-header:first-child:hover>a:before{left:-10px;}.docblock>.section-header:first-child{margin-top:0;}:target>code,:target>.code-header{opacity:1;}:target{padding-right:3px;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:1rem;}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:1.25rem;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:1rem;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .notable{margin:0;margin-bottom:13px;font-size:1.1875rem;font-weight:600;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:1.25rem;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:1.125rem;cursor:pointer;border:0;border-top:2px solid;}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:1rem;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}#all-types{text-align:center;border:1px solid;margin:0 10px;margin-bottom:10px;display:block;border-radius:7px;}#all-types>p{margin:5px 0;}#sidebar-toggle{position:sticky;top:0;left:0;cursor:pointer;font-weight:bold;font-size:1.2rem;border-bottom:1px solid;display:flex;height:40px;justify-content:center;align-items:center;z-index:10;}#source-sidebar{width:100%;z-index:1;overflow:auto;}#source-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid;margin-bottom:6px;}.theme-picker{position:absolute;left:-34px;top:9px;}.theme-picker button{outline:none;}#settings-menu,#help-button{position:absolute;top:10px;}#settings-menu{right:0;outline:none;}#theme-picker,#settings-menu,#help-button,#copy-path{padding:4px;font-size:16px;width:27px;height:29px;border:1px solid;border-radius:3px;cursor:pointer;}#help-button{right:30px;font-family:"Fira Sans",Arial,sans-serif;text-align:center;font-size:16px;padding-top:2px;}#copy-path{background:initial;margin-left:10px;padding:0;padding-left:2px;border:0;}#theme-choices{display:none;position:absolute;left:0;top:28px;border:1px solid;border-radius:3px;z-index:1;cursor:pointer;}#theme-choices>button{border:none;width:100%;padding:4px 8px;text-align:center;background:rgba(0,0,0,0);}#theme-choices>button:not(:first-child){border-top:1px solid;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px;border-radius:3px;box-shadow:inset 0 -1px 0;cursor:default;}.hidden-by-impl-hider,.hidden-by-usual-hider{display:none !important;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:1rem;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:1.1875rem;display:block;}#implementors-list>.impl-items .table-display .out-of-band{font-size:1.0625rem;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main-content>ul{padding-left:10px;}#main-content>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}div.children{padding-left:27px;display:none;}div.name{cursor:pointer;position:relative;margin-left:16px;}div.files>a{display:block;padding:0 3px;}div.files>a:hover,div.name:hover{background-color:#a14b4b;}div.name.expand+.children{display:block;}div.name::before{content:"\25B6";padding-left:4px;font-size:0.7rem;position:absolute;left:-16px;top:4px;}div.name.expand::before{transform:rotate(90deg);left:-15px;top:2px;}details.rustdoc-toggle>summary.hideme{cursor:pointer;}details.rustdoc-toggle>summary{list-style:none;}details.rustdoc-toggle>summary::-webkit-details-marker,details.rustdoc-toggle>summary::marker{display:none;}details.rustdoc-toggle>summary.hideme>span{margin-left:9px;}details.rustdoc-toggle>summary::before{content:"";cursor:pointer;width:17px;height:max(17px,1.1em);background-repeat:no-repeat;background-position:top left;display:inline-block;vertical-align:middle;opacity:.5;}details.rustdoc-toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.rustdoc-toggle>summary.hideme::after{content:"";}details.rustdoc-toggle>summary:focus::before,details.rustdoc-toggle>summary:hover::before{opacity:1;}details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before{font-family:'Fira Sans';font-size:1rem;}details.non-exhaustive{margin-bottom:8px;}details.rustdoc-toggle>summary.hideme::before{position:relative;}details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:3px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.rustdoc-toggle[open] >summary.hideme{position:absolute;}details.rustdoc-toggle{position:relative;}details.rustdoc-toggle[open] >summary.hideme>span{display:none;}details.undocumented[open] >summary::before,details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{background-image:url("toggle-minus.svg");}details.undocumented>summary::before,details.rustdoc-toggle>summary::before{background-image:url("toggle-plus.svg");}details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{width:17px;height:max(17px,1.1em);background-repeat:no-repeat;background-position:top left;display:inline-block;content:"";}details.rustdoc-toggle[open] >summary::after,details.rustdoc-toggle[open] >summary.hideme::after{content:"Collapse";}@media (min-width:701px){.docblock>.information:first-child>.tooltip{margin-top:16px;}.sidebar.expanded+main .width-limiter .sub-logo-container.rust-logo{display:none;}.rustdoc.source .sidebar{transition:width .5s;}.source .sidebar.expanded{width:300px;}}@media (max-width:700px){body{padding-top:0px;}main{padding-left:15px;padding-top:0px;}.rustdoc{flex-direction:column;}.rustdoc:not(.source)>.sidebar{width:100%;height:45px;min-height:40px;max-height:45px;margin:0;padding:0 15px;position:static;z-index:11;overflow-y:hidden;}.rustdoc.source>.sidebar{position:fixed;top:0;left:0;margin:0;z-index:11;width:0;}.sidebar.mobile{position:sticky !important;top:0;left:0;width:100%;margin-left:0;background-color:rgba(0,0,0,0);}.sidebar>.location{float:right;margin:0px;margin-top:2px;padding:3px 10px 1px 10px;min-height:39px;background:inherit;text-align:left;font-size:1.5rem;}.sidebar .location:empty{padding:0;}.rustdoc:not(.source) .sidebar .logo-container{width:35px;height:35px;margin-top:5px;margin-bottom:5px;float:left;margin-left:50px;}.sidebar .logo-container>img{max-width:35px;max-height:35px;}.sidebar-menu{position:fixed;z-index:10;font-size:2rem;cursor:pointer;width:45px;left:0;top:0;text-align:center;display:block;border-bottom:1px solid;border-right:1px solid;height:45px;}.rustdoc.source>.sidebar>.sidebar-menu{display:none;}.sidebar-elems{position:fixed;z-index:1;top:45px;bottom:0;width:246px;left:-246px;overflow-y:auto;border-right:1px solid;}.sidebar>.block.version{overflow:hidden;border-bottom:none;margin-bottom:0;height:100%;padding-left:12px;}.sidebar>.block.version>div.narrow-helper{float:left;width:1px;height:100%;}.sidebar>.block.version>p{margin:0;min-width:55px;display:flex;align-items:center;height:100%;}nav.sub{width:calc(100% - 32px);margin-left:32px;margin-bottom:10px;}.source nav:not(.sidebar).sub{margin-left:32px;}.content{margin-left:0px;}.source .content{margin-top:10px;}#search{margin-left:0;padding:0;}.anchor{display:none !important;}.theme-picker{z-index:1;}.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}.show-it,.sidebar-elems:focus-within{z-index:2;left:0;}.show-it>.block.items{margin:8px 0;}.show-it>.block.items>ul{margin:0;}.show-it>.block.items>ul>li{text-align:center;margin:2px 0;}.show-it>.block.items>ul>li>a{font-size:1.3125rem;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}#main-content>details.rustdoc-toggle>summary::before,#main-content>div>details.rustdoc-toggle>summary::before{left:-11px;}#all-types{margin:10px;}.sidebar.expanded #sidebar-toggle{font-size:1.5rem;}.sidebar:not(.expanded) #sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;border:1px solid;border-left:0;}#source-sidebar{z-index:11;}#main-content>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}#help-button{display:none;}.item-table{display:block;}.item-row{display:flex;flex-flow:column wrap;}.item-left,.item-right{width:100%;}.search-container>div{width:calc(100% - 32px);}.search-results>a{border-bottom:1px solid #aaa9;padding:5px 0px;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:100%;}.search-results div.desc,.search-results .result-description,.item-right{padding-left:2em;}.source .sidebar.expanded{max-width:100vw;width:100vw;}details.rustdoc-toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before,#main-content>details.rustdoc-toggle:not(.top-doc)>summary::before,#main-content>div>details.rustdoc-toggle>summary::before{left:-11px;}}@media print{nav.sub,.content .out-of-band{display:none;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main-content>table:not(.table-display) td{word-break:break-word;width:50%;}.search-container>div{display:block;width:calc(100% - 37px);}#crate-search{width:100%;border-radius:4px;border:0;}#crate-search+.search-input{width:calc(100% + 71px);margin-left:-36px;}#theme-picker,#settings-menu{padding:5px;width:31px;height:31px;}#theme-picker{margin-top:-2px;}#settings-menu{top:7px;}.docblock{margin-left:12px;}.docblock code{overflow-wrap:anywhere;}.sub-container{flex-direction:column;}.sub-logo-container{align-self:center;}.source .sub-logo-container>img{height:35px;width:35px;}.sidebar:not(.expanded) #sidebar-toggle{top:10px;}}.scraped-example-title{font-family:'Fira Sans';}.scraped-example:not(.expanded) .code-wrapper pre.line-numbers{overflow:hidden;max-height:240px;}.scraped-example:not(.expanded) .code-wrapper .example-wrap pre.rust{overflow-y:hidden;max-height:240px;padding-bottom:0;}.scraped-example .code-wrapper .prev{position:absolute;top:0.25em;right:2.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .next{position:absolute;top:0.25em;right:1.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .expand{position:absolute;top:0.25em;right:0.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper:before{content:" ";width:100%;height:5px;position:absolute;z-index:100;top:0;background:linear-gradient(to bottom,rgba(255,255,255,1),rgba(255,255,255,0));}.scraped-example:not(.expanded) .code-wrapper:after{content:" ";width:100%;height:5px;position:absolute;z-index:100;bottom:0;background:linear-gradient(to top,rgba(255,255,255,1),rgba(255,255,255,0));}.scraped-example:not(.expanded) .code-wrapper{overflow:hidden;max-height:240px;}.scraped-example .code-wrapper .line-numbers{margin:0;padding:14px 0;}.scraped-example .code-wrapper .line-numbers span{padding:0 14px;}.scraped-example .code-wrapper .example-wrap{flex:1;overflow-x:auto;overflow-y:hidden;margin-bottom:0;}.scraped-example .code-wrapper .example-wrap pre.rust{overflow-x:inherit;width:inherit;overflow-y:hidden;}.scraped-example .example-wrap .rust span.highlight{background:#fcffd6;}.scraped-example .example-wrap .rust span.highlight.focus{background:#f6fdb0;}.more-examples-toggle{margin-top:10px;}.more-examples-toggle summary{color:#999;font-family:'Fira Sans';}.more-scraped-examples{margin-left:25px;display:flex;flex-direction:row;width:calc(100% - 25px);}.more-scraped-examples-inner{width:calc(100% - 20px);}.toggle-line{align-self:stretch;margin-right:10px;margin-top:5px;padding:0 4px;cursor:pointer;}.toggle-line:hover .toggle-line-inner{background:#aaa;}.toggle-line-inner{min-width:2px;background:#ddd;height:100%;}.more-scraped-examples .scraped-example{margin-bottom:20px;}.more-scraped-examples .scraped-example:last-child{margin-bottom:0;}.example-links a{margin-top:20px;font-family:'Fira Sans';}.example-links ul{margin-bottom:0;}
\ No newline at end of file
diff --git a/search-index.js b/search-index.js
index 9ec9cdc..6e50902 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,12,11,11,5,0,12,0,0,12,0,12,11,11,11,11,6,3,17,3,3,3,3,17,6,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,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,12,12,11,11,11,11,11,11,11,11,11,11,0,11,0,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,12,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,11,11,11,11,11,11,6,6,3,3,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,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,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,11,11,11,11,11,12,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,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,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,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,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,6,6,3,3,6,6,17,17,3,3,17,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,11,12,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,12,12,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,11,11,3,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,3,11,11,11,11,11,11,11,11,11,11,3,12,12,11,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,11,11,11,11,3,12,11,11,12,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","gists","init","into","main","meta","posts","proxy","routes","server","settings","source_code","try_from","try_into","type_id","vzip","AppData","Data","GIST_CACHE_VERSION","GetPost","GetPostLight","GistContent","GistFile","POST_CACHE_VERSION","PostResp","PostUrl","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_query","build_query","cache","client","clone","clone","clone","clone_into","clone_into","clone_into","content","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","drop","drop","file_name","files","fmt","from","from","from","from","from","from","get_gist","get_gist_id","get_html_content","get_post","get_post","get_post_light","get_post_light","gists","html_url","init","init","init","init","init","init","into","into","into","into","into","into","language","migrate","new","posts","raw_url","serialize","serialize","slug","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","username","vzip","vzip","vzip","vzip","vzip","vzip","Boolean","Float","GetPostPost","GetPostPostContent","GetPostPostContentBodyModel","GetPostPostContentBodyModelParagraphs","GetPostPostContentBodyModelParagraphsIframe","GetPostPostContentBodyModelParagraphsIframeMediaResource","GetPostPostContentBodyModelParagraphsMarkups","GetPostPostContentBodyModelParagraphsMetadata","GetPostPostCreator","GetPostPostPreviewContent","GetPostPostPreviewImage","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","borrow","borrow_mut","borrow_mut","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","clone","clone_into","clone_into","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","deref","deref_mut","deref_mut","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","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","end","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","get_subtitle","href","href","href","id","id","id","id","iframe","iframe_height","iframe_src","iframe_width","image_id","init","init","init","init","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into","into","into","into","layout","markups","media_resource","metadata","name","original_height","original_width","paragraphs","post","preview_content","preview_image","reading_time","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","start","subtitle","text","title","title","to_owned","to_owned","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_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","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","type_id","type_id","unique_slug","user_id","username","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Boolean","Float","GetPostLightPost","GetPostLightPostCreator","ID","Int","OPERATION_NAME","QUERY","ResponseData","Variables","__QUERY_WORKAROUND","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","creator","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","drop","drop","drop","drop","fmt","fmt","fmt","from","from","from","from","id","init","init","init","init","into","into","into","into","post","serialize","serialize","serialize","serialize","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","unique_slug","username","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","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","by_post_id","data","date","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","from","from","from","from","from","gists","id","index","init","init","init","init","init","into","into","into","into","into","page","preview_img","reading_time","register","register","register","register","render_once","render_once_to","routes","services","slice","substring","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","Proxy","asset","borrow","borrow_mut","by_post_id","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::data::get_post_light","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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,2,1,1,0,0,2,0,0,3,0,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,2,4,5,6,7,8,2,4,5,6,7,8,4,7,2,2,2,6,8,2,6,8,6,2,4,5,6,7,8,2,4,5,6,7,8,5,6,2,4,5,6,7,8,6,5,8,2,4,5,6,7,8,2,2,6,0,2,0,2,2,5,2,4,5,6,7,8,2,4,5,6,7,8,6,2,2,2,6,5,6,8,2,6,8,2,4,5,6,7,8,2,4,5,6,7,8,2,4,5,6,7,8,8,2,4,5,6,7,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,10,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,19,19,19,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,21,9,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,21,19,12,9,14,11,17,18,21,14,12,12,12,18,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,14,14,13,14,18,11,11,15,20,19,19,19,11,12,13,9,14,15,10,16,17,18,19,20,21,9,16,14,9,19,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,9,14,11,12,13,9,14,15,10,16,17,18,19,20,21,19,9,18,11,12,13,9,14,15,10,16,17,18,19,20,21,0,0,0,0,0,0,0,0,0,0,0,22,23,24,25,22,23,24,25,22,23,24,22,23,24,23,22,23,24,25,22,23,24,25,22,23,24,22,23,24,25,22,23,24,22,23,24,25,25,22,23,24,25,22,23,24,25,24,22,23,24,25,22,23,24,22,23,24,25,22,23,24,25,22,23,24,25,23,22,22,23,24,25,0,26,27,26,27,0,26,26,26,27,26,27,26,26,27,26,26,27,26,26,27,26,27,27,0,26,0,26,26,27,26,27,26,27,26,26,27,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,0,0,0,0,0,29,30,31,32,33,29,30,31,32,33,0,29,29,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,29,29,0,29,30,31,32,33,29,30,31,32,33,0,29,29,30,31,32,33,29,29,0,0,34,34,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,0,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,0,0,36,36,36,36,36,36,36,36,36,36,36,0,36,36,36,36,0,0,37,3,37,3,3,0,37,3,37,3,3,37,3,37,3,37,3,37,37,3,37,3,37,3,37,37,3,37,3,37,3,37,37,3,3,37,3,37,3,37,3,37,3,37,3,37],"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]],null,[[],["usize",15]],[[]],[[],["result",6]],null,null,null,null,null,null,null,[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["querybody",3]],[[],["querybody",3]],null,null,[[],["data",3]],[[],["gistfile",3]],[[],["posturl",3]],[[]],[[]],[[]],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]]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,null,[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[["string",3]]],[[["str",15]],["str",15]],[[],["string",3]],null,[[["str",15]]],null,[[["str",15]]],null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[]],[[],["appdata",6]],null,null,[[],["result",4]],[[],["result",4]],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]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,[[]],[[]],[[]],[[]],[[]],[[]],null,null,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]],[[],["getpostpostpreviewcontent",3]],[[],["getpostpostpreviewimage",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]]],[[["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]],[[],["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]]],[[["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]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["str",15]],null,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]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,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]],[[],["result",4]],[[],["result",4]],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]],[[],["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]],[[],["typeid",3]],[[],["typeid",3]],null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["getpostlightpostcreator",3]],[[],["getpostlightpost",3]],[[],["responsedata",3]],[[]],[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],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]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,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,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]]],[[]],[[]],[[]],[[]],[[]],null,null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],null,null,null,[[["appservice",3]]],[[["appservice",3]]],[[["appservice",3]]],[[["appservice",3]]],[[],["renderresult",6]],[[["buffer",3]],["result",4,[["rendererror",4]]]],null,[[["serviceconfig",3]]],[[],["str",15]],[[["usize",15],["usize",15]],["str",15]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],null,null,[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["str",15]],["string",3]],[[["str",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,[[],["result",4,[["configerror",4]]]],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,"GistContent"],[3,"GistFile"],[3,"GetPostLight"],[3,"PostUrl"],[3,"GetPostPostContentBodyModelParagraphsMarkups"],[3,"GetPostPostContent"],[3,"GetPostPostContentBodyModelParagraphsMetadata"],[3,"GetPostPostContentBodyModelParagraphsIframeMediaResource"],[3,"GetPostPostContentBodyModelParagraphsIframe"],[3,"GetPostPostContentBodyModelParagraphs"],[3,"GetPostPostContentBodyModel"],[3,"GetPostPostPreviewContent"],[3,"GetPostPostPreviewImage"],[3,"GetPostPostCreator"],[3,"GetPostPost"],[3,"ResponseData"],[3,"Variables"],[3,"GetPostLightPostCreator"],[3,"GetPostLightPost"],[3,"ResponseData"],[3,"Variables"],[3,"BuildDetails"],[3,"build_details"],[3,"Meta"],[3,"Post"],[3,"index"],[3,"assets"],[3,"by_post_id"],[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,12,11,11,5,0,12,0,0,0,12,0,12,11,11,11,11,6,3,17,3,3,3,3,17,6,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,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,12,12,11,11,11,11,11,11,11,11,11,11,0,11,0,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,12,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,11,11,11,11,11,11,6,6,3,3,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,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,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,11,11,11,11,11,12,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,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,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,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,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,6,6,3,3,6,6,17,17,3,3,17,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,11,12,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,12,12,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,11,11,3,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,3,11,11,11,11,11,11,11,11,11,11,3,12,12,11,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,11,11,11,11,3,12,11,11,12,11,11,11,11,11,11,12,11,11,11,12,11,11,11,11,8,17,17,3,11,11,12,11,11,11,11,12,11,10,11,11,11,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","gists","init","into","main","meta","posts","proxy","render_html","routes","server","settings","source_code","try_from","try_into","type_id","vzip","AppData","Data","GIST_CACHE_VERSION","GetPost","GetPostLight","GistContent","GistFile","POST_CACHE_VERSION","PostResp","PostUrl","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_query","build_query","cache","client","clone","clone","clone","clone_into","clone_into","clone_into","content","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","drop","drop","file_name","files","fmt","from","from","from","from","from","from","get_gist","get_gist_id","get_html_content","get_post","get_post","get_post_light","get_post_light","gists","html_url","init","init","init","init","init","init","into","into","into","into","into","into","language","migrate","new","posts","raw_url","serialize","serialize","slug","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","username","vzip","vzip","vzip","vzip","vzip","vzip","Boolean","Float","GetPostPost","GetPostPostContent","GetPostPostContentBodyModel","GetPostPostContentBodyModelParagraphs","GetPostPostContentBodyModelParagraphsIframe","GetPostPostContentBodyModelParagraphsIframeMediaResource","GetPostPostContentBodyModelParagraphsMarkups","GetPostPostContentBodyModelParagraphsMetadata","GetPostPostCreator","GetPostPostPreviewContent","GetPostPostPreviewImage","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","borrow","borrow_mut","borrow_mut","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","clone","clone_into","clone_into","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","deref","deref_mut","deref_mut","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","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","end","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","get_subtitle","href","href","href","id","id","id","id","iframe","iframe_height","iframe_src","iframe_width","image_id","init","init","init","init","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into","into","into","into","layout","markups","media_resource","metadata","name","original_height","original_width","paragraphs","post","preview_content","preview_image","reading_time","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","start","subtitle","text","title","title","to_owned","to_owned","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_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","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","type_id","type_id","unique_slug","user_id","username","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Boolean","Float","GetPostLightPost","GetPostLightPostCreator","ID","Int","OPERATION_NAME","QUERY","ResponseData","Variables","__QUERY_WORKAROUND","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","creator","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","drop","drop","drop","drop","fmt","fmt","fmt","from","from","from","from","id","init","init","init","init","into","into","into","into","post","serialize","serialize","serialize","serialize","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","unique_slug","username","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","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","by_post_id","data","date","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","from","from","from","from","from","gists","id","index","init","init","init","init","init","into","into","into","into","into","page","preview_img","reading_time","register","register","register","register","render_once","render_once_to","routes","services","slice","substring","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","Proxy","asset","borrow","borrow_mut","by_post_id","deref","deref_mut","drop","from","get_medium_asset","get_page","index","init","into","new","page","try_from","try_into","type_id","vzip","GenerateHTML","STYLE","SYNTAX_SET","SourcegraphQuery","borrow","borrow_mut","code","deref","deref_mut","determine_language","drop","filepath","from","generate","init","into","syntax_highlight","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::data::get_post_light","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::meta","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::meta::routes","","","","","","","","","","","","","","","","libmedium::proxy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::proxy::routes","","","","","","","","","","","","","","","","","","","","libmedium::render_html","","","","","","","","","","","","","","","","","","","","","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,2,1,1,0,0,2,0,0,0,3,0,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,2,4,5,6,7,8,2,4,5,6,7,8,4,7,2,2,2,6,8,2,6,8,6,2,4,5,6,7,8,2,4,5,6,7,8,5,6,2,4,5,6,7,8,6,5,8,2,4,5,6,7,8,2,2,6,0,2,0,2,2,5,2,4,5,6,7,8,2,4,5,6,7,8,6,2,2,2,6,5,6,8,2,6,8,2,4,5,6,7,8,2,4,5,6,7,8,2,4,5,6,7,8,8,2,4,5,6,7,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,10,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,19,19,19,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,21,9,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,21,19,12,9,14,11,17,18,21,14,12,12,12,18,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,14,14,13,14,18,11,11,15,20,19,19,19,11,12,13,9,14,15,10,16,17,18,19,20,21,9,16,14,9,19,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,9,14,11,12,13,9,14,15,10,16,17,18,19,20,21,19,9,18,11,12,13,9,14,15,10,16,17,18,19,20,21,0,0,0,0,0,0,0,0,0,0,0,22,23,24,25,22,23,24,25,22,23,24,22,23,24,23,22,23,24,25,22,23,24,25,22,23,24,22,23,24,25,22,23,24,22,23,24,25,25,22,23,24,25,22,23,24,25,24,22,23,24,25,22,23,24,22,23,24,25,22,23,24,25,22,23,24,25,23,22,22,23,24,25,0,26,27,26,27,0,26,26,26,27,26,27,26,26,27,26,26,27,26,26,27,26,27,27,0,26,0,26,26,27,26,27,26,27,26,26,27,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,0,0,0,0,0,29,30,31,32,33,29,30,31,32,33,0,29,29,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,29,29,0,29,30,31,32,33,29,30,31,32,33,0,29,29,30,31,32,33,29,29,0,0,34,34,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,0,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,0,0,0,0,36,36,36,36,36,36,36,36,36,37,36,36,36,36,36,36,36,0,0,38,38,38,38,38,38,38,38,38,38,38,0,38,38,38,38,0,0,39,3,39,3,3,0,39,3,39,3,3,39,3,39,3,39,3,39,39,3,39,3,39,3,39,39,3,39,3,39,3,39,39,3,3,39,3,39,3,39,3,39,3,39,3,39],"f":[null,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]],null,[[],["usize",15]],[[]],[[],["result",6]],null,null,null,null,null,null,null,null,[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["querybody",3]],[[],["querybody",3]],null,null,[[],["data",3]],[[],["gistfile",3]],[[],["posturl",3]],[[]],[[]],[[]],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]]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,null,[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[["string",3]]],[[["str",15]],["str",15]],[[],["string",3]],null,[[["str",15]]],null,[[["str",15]]],null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[]],[[],["appdata",6]],null,null,[[],["result",4]],[[],["result",4]],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]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,[[]],[[]],[[]],[[]],[[]],[[]],null,null,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]],[[],["getpostpostpreviewcontent",3]],[[],["getpostpostpreviewimage",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]]],[[["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]],[[],["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]]],[[["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]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["str",15]],null,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]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,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]],[[],["result",4]],[[],["result",4]],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]],[[],["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]],[[],["typeid",3]],[[],["typeid",3]],null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["getpostlightpostcreator",3]],[[],["getpostlightpost",3]],[[],["responsedata",3]],[[]],[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],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]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,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,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]]],[[]],[[]],[[]],[[]],[[]],null,null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],null,null,null,[[["appservice",3]]],[[["appservice",3]]],[[["appservice",3]]],[[["appservice",3]]],[[],["renderresult",6]],[[["buffer",3]],["result",4,[["rendererror",4]]]],null,[[["serviceconfig",3]]],[[],["str",15]],[[["usize",15],["usize",15]],["str",15]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],null,null,[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["str",15]],["string",3]],[[["str",15],["str",15]],["string",3]],null,[[],["usize",15]],[[]],[[]],null,[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["syntaxset",3]],["syntaxreference",3]],[[["usize",15]]],null,[[]],[[]],[[],["usize",15]],[[]],[[],["string",3]],[[],["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,[[],["result",4,[["configerror",4]]]],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,"GistContent"],[3,"GistFile"],[3,"GetPostLight"],[3,"PostUrl"],[3,"GetPostPostContentBodyModelParagraphsMarkups"],[3,"GetPostPostContent"],[3,"GetPostPostContentBodyModelParagraphsMetadata"],[3,"GetPostPostContentBodyModelParagraphsIframeMediaResource"],[3,"GetPostPostContentBodyModelParagraphsIframe"],[3,"GetPostPostContentBodyModelParagraphs"],[3,"GetPostPostContentBodyModel"],[3,"GetPostPostPreviewContent"],[3,"GetPostPostPreviewImage"],[3,"GetPostPostCreator"],[3,"GetPostPost"],[3,"ResponseData"],[3,"Variables"],[3,"GetPostLightPostCreator"],[3,"GetPostLightPost"],[3,"ResponseData"],[3,"Variables"],[3,"BuildDetails"],[3,"build_details"],[3,"Meta"],[3,"Post"],[3,"index"],[3,"assets"],[3,"by_post_id"],[3,"page"],[8,"StringUtils"],[3,"Proxy"],[3,"SourcegraphQuery"],[8,"GenerateHTML"],[3,"Routes"],[3,"Server"]]}\
}');
if (window.initSearch) {window.initSearch(searchIndex)};
\ No newline at end of file
diff --git a/search.js b/search.js
index 6f612fa..eb6d6f7 100644
--- a/search.js
+++ b/search.js
@@ -1 +1 @@
-(function(){var itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias"];var TY_PRIMITIVE=itemTypes.indexOf("primitive");var TY_KEYWORD=itemTypes.indexOf("keyword");function printTab(nb){if(nb===0||nb===1||nb===2){searchState.currentTab=nb}var nb_copy=nb;onEachLazy(document.getElementById("titles").childNodes,function(elem){if(nb_copy===0){addClass(elem,"selected")}else{removeClass(elem,"selected")}nb_copy-=1});onEachLazy(document.getElementById("results").childNodes,function(elem){if(nb===0){addClass(elem,"active")}else{removeClass(elem,"active")}nb-=1})}function removeEmptyStringsFromArray(x){for(var i=0,len=x.length;i-1){var obj=searchIndex[results[i].id];obj.lev=results[i].lev;var res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType){var ar=[];for(var entry in results){if(hasOwnPropertyRustdoc(results,entry)){ar.push(results[entry])}}results=ar;var i,len,result;for(i=0,len=results.length;ib?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});for(i=0,len=results.length;i"));return{name:val.substring(0,val.indexOf("<")),generics:values.split(/\s*,\s*/),}}return{name:val,generics:[],}}function checkGenerics(obj,val){var tmp_lev,elem_name;if(val.generics.length>0){if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>=val.generics.length){var elems=Object.create(null);var elength=obj[GENERICS_DATA].length;for(var x=0;xGENERICS_DATA&&obj[GENERICS_DATA].length>0){var elems=Object.create(null);len=obj[GENERICS_DATA].length;for(x=0;xGENERICS_DATA&&obj[GENERICS_DATA].length!==0){tmp_lev=checkGenerics(obj,val);if(tmp_lev<=MAX_LEV_DISTANCE){return tmp_lev}}}}else if(literalSearch){if((!val.generics||val.generics.length===0)&&obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>0){return obj[GENERICS_DATA].some(function(gen){return gen[NAME]===val.name})}return false}lev_distance=Math.min(levenshtein(obj[NAME],val.name),lev_distance);if(lev_distance<=MAX_LEV_DISTANCE){lev_distance=Math.ceil((checkGenerics(obj,val)+lev_distance)/2)}if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>0){var olength=obj[GENERICS_DATA].length;for(x=0;x0){var length=obj.type[INPUTS_DATA].length;for(var i=0;iOUTPUT_DATA){var ret=obj.type[OUTPUT_DATA];if(typeof ret[0]==="string"){ret=[ret]}for(var x=0,len=ret.length;xlength){return MAX_LEV_DISTANCE+1}for(var i=0;ilength){break}var lev_total=0;var aborted=false;for(var x=0;xMAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER)return true;if(filter===type)return true;var name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates){var aliases=[];var crateAliases=[];if(filterCrates!==undefined){if(ALIASES[filterCrates]&&ALIASES[filterCrates][query.search]){var query_aliases=ALIASES[filterCrates][query.search];var len=query_aliases.length;for(var i=0;iMAX_RESULTS){ret.others.pop()}};onEach(aliases,pushFunc);onEach(crateAliases,pushFunc)}var nSearchWords=searchWords.length;var i,it;var ty;var fullId;var returned;var in_args;var len;if((val.charAt(0)==="\""||val.charAt(0)==="'")&&val.charAt(val.length-1)===val.charAt(0)){val=extractGenerics(val.substr(1,val.length-2));for(i=0;i")>-1){var trimmer=function(s){return s.trim()};var parts=val.split("->").map(trimmer);var input=parts[0];var inputs=input.split(",").map(trimmer).sort();for(i=0,len=inputs.length;i1?paths.length-1:1);var lev,j;for(j=0;j1){lev=checkPath(contains,paths[paths.length-1],ty);if(lev>MAX_LEV_DISTANCE){continue}else if(lev>0){lev_add=lev/10}}returned=MAX_LEV_DISTANCE+1;in_args=MAX_LEV_DISTANCE+1;var index=-1;lev=MAX_LEV_DISTANCE+1;fullId=ty.id;if(searchWords[j].indexOf(split[i])>-1||searchWords[j].indexOf(val)>-1||ty.normalizedName.indexOf(val)>-1){if(typePassesFilter(typeFilter,ty.ty)&&results[fullId]===undefined){index=ty.normalizedName.indexOf(val)}}if((lev=levenshtein(searchWords[j],val))<=MAX_LEV_DISTANCE){if(typePassesFilter(typeFilter,ty.ty)){lev+=1}else{lev=MAX_LEV_DISTANCE+1}}in_args=findArg(ty,valGenerics,false,typeFilter);returned=checkReturned(ty,valGenerics,false,typeFilter);lev+=lev_add;if(lev>0&&val.length>3&&searchWords[j].indexOf(val)>-1){if(val.length<6){lev-=1}else{lev=0}}if(in_args<=MAX_LEV_DISTANCE){if(results_in_args[fullId]===undefined){results_in_args[fullId]={id:j,index:index,lev:in_args,}}results_in_args[fullId].lev=Math.min(results_in_args[fullId].lev,in_args)}if(returned<=MAX_LEV_DISTANCE){if(results_returned[fullId]===undefined){results_returned[fullId]={id:j,index:index,lev:returned,}}results_returned[fullId].lev=Math.min(results_returned[fullId].lev,returned)}if(typePassesFilter(typeFilter,ty.ty)&&(index!==-1||lev<=MAX_LEV_DISTANCE)){if(index!==-1&&paths.length<2){lev=0}if(results[fullId]===undefined){results[fullId]={id:j,index:index,lev:lev,}}results[fullId].lev=Math.min(results[fullId].lev,lev)}}}var ret={"in_args":sortResults(results_in_args,true),"returned":sortResults(results_returned,true),"others":sortResults(results,false),};handleAliases(ret,query,filterCrates);return ret}function validateResult(name,path,keys,parent){for(var i=0,len=keys.length;i-1||path.indexOf(keys[i])>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(keys[i])>-1)||levenshtein(name,keys[i])<=MAX_LEV_DISTANCE)){return false}}return true}function getQuery(raw){var matches,type,query;query=raw;matches=query.match(/^(fn|mod|struct|enum|trait|type|const|macro)\s*:\s*/i);if(matches){type=matches[1].replace(/^const$/,"constant");query=query.substring(matches[0].length)}return{raw:raw,query:query,type:type,id:query+type}}function nextTab(direction){var next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){var target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);if(target){target.focus()}}function buildHrefAndPath(item){var displayPath;var href;var type=itemTypes[item.ty];var name=item.name;var path=item.path;if(type==="mod"){displayPath=path+"::";href=window.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="primitive"||type==="keyword"){displayPath="";href=window.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=window.rootPath+name+"/index.html"}else if(item.parent!==undefined){var myparent=item.parent;var anchor="#"+type+"."+name;var parentType=itemTypes[myparent.ty];var pageType=parentType;var pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){var enumNameIdx=item.path.lastIndexOf("::");var enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=window.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=window.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function escape(content){var h1=document.createElement("h1");h1.textContent=content;return h1.innerHTML}function pathSplitter(path){var tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){var extraClass="";if(display===true){extraClass=" active"}var output=document.createElement("div");var duplicates={};var length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(function(item){if(item.is_alias!==true){if(duplicates[item.fullPath]){return}duplicates[item.fullPath]=true}var name=item.name;var type=itemTypes[item.ty];length+=1;var extra="";if(type==="primitive"){extra=" (primitive type)"}else if(type==="keyword"){extra=" (keyword)"}var link=document.createElement("a");link.className="result-"+type;link.href=item.href;var wrapper=document.createElement("div");var resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){var alias=document.createElement("span");alias.className="alias";var bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend"," - see ");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+""+name+extra+"");wrapper.appendChild(resultName);var description=document.createElement("div");description.className="desc";var spanDesc=document.createElement("span");spanDesc.insertAdjacentHTML("beforeend",item.desc);description.appendChild(spanDesc);wrapper.appendChild(description);link.appendChild(wrapper);output.appendChild(link)})}else{output.className="search-failed"+extraClass;output.innerHTML="No results :(
"+"Try on DuckDuckGo?
"+"Or try looking in one of these:- The Rust Reference "+" for technical details about the language.
- Rust By "+"Example for expository code examples.
- The Rust Book for "+"introductions to language features and the language itself.
- Docs.rs for documentation of crates released on"+" crates.io.
"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return""}return""}function showResults(results,go_to_first){var search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){var elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}var query=getQuery(searchState.input.value);currentResults=query.id;var ret_others=addTab(results.others,query);var ret_in_args=addTab(results.in_args,query,false);var ret_returned=addTab(results.returned,query,false);var currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}var output="Results for "+escape(query.query)+(query.type?" (type: "+escape(query.type)+")":"")+"
"+""+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"";var resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;search.appendChild(resultsElem);searchState.focusedByTab=[null,null,null];searchState.showResults(search);var elems=document.getElementById("titles").childNodes;elems[0].onclick=function(){printTab(0)};elems[1].onclick=function(){printTab(1)};elems[2].onclick=function(){printTab(2)};printTab(currentTab)}function execSearch(query,searchWords,filterCrates){function getSmallest(arrays,positions,notDuplicates){var start=null;for(var it=0,len=positions.length;itpositions[it]&&(start===null||start>arrays[it][positions[it]].lev)&&!notDuplicates[arrays[it][positions[it]].fullPath]){start=arrays[it][positions[it]].lev}}return start}function mergeArrays(arrays){var ret=[];var positions=[];var notDuplicates={};for(var x=0,arrays_len=arrays.length;xpositions[x]&&arrays[x][positions[x]].lev===smallest&&!notDuplicates[arrays[x][positions[x]].fullPath]){ret.push(arrays[x][positions[x]]);notDuplicates[arrays[x][positions[x]].fullPath]=true;positions[x]+=1}}}return ret}function tokenizeQuery(raw){var i,matched;var l=raw.length;var depth=0;var nextAngle=/(<|>)/g;var ret=[];var start=0;for(i=0;i'){depth+=1}break;case">":if(depth>0){depth-=1}break;case",":if(depth===0){ret.push(raw.substring(start,i));start=i+1}break}}if(start!==i){ret.push(raw.substring(start,i))}return ret}var queries=tokenizeQuery(query.raw);var results={"in_args":[],"returned":[],"others":[],};for(var i=0,len=queries.length;i1){return{"in_args":mergeArrays(results.in_args),"returned":mergeArrays(results.returned),"others":mergeArrays(results.others),}}return{"in_args":results.in_args[0],"returned":results.returned[0],"others":results.others[0],}}function getFilterCrates(){var elem=document.getElementById("crate-search");if(elem&&elem.value!=="All crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return undefined}function search(e,forced){var params=searchState.getQueryStringParams();var query=getQuery(searchState.input.value.trim());if(e){e.preventDefault()}if(query.query.length===0){return}if(!forced&&query.id===currentResults){if(query.query.length>0){searchState.putBackSearch(searchState.input)}return}searchState.title="Results for "+query.query+" - Rust";if(searchState.browserSupportsHistoryApi()){var newURL=getNakedUrl()+"?search="+encodeURIComponent(query.raw)+window.location.hash;if(!history.state&&!params.search){history.pushState(query,"",newURL)}else{history.replaceState(query,"",newURL)}}var filterCrates=getFilterCrates();showResults(execSearch(query,index,filterCrates),params.go_to_first)}function buildIndex(rawSearchIndex){searchIndex=[];var searchWords=[];var i,word;var currentIndex=0;var id=0;for(var crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}var crateSize=0;searchWords.push(crate);var crateRow={crate:crate,ty:1,name:crate,path:"",desc:rawSearchIndex[crate].doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;var itemTypes=rawSearchIndex[crate].t;var itemNames=rawSearchIndex[crate].n;var itemPaths=rawSearchIndex[crate].q;var itemDescs=rawSearchIndex[crate].d;var itemParentIdxs=rawSearchIndex[crate].i;var itemFunctionSearchTypes=rawSearchIndex[crate].f;var paths=rawSearchIndex[crate].p;var aliases=rawSearchIndex[crate].a;var len=paths.length;for(i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:itemFunctionSearchTypes[i],id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]={};var j,local_aliases;for(var alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}local_aliases=aliases[alias_name];for(j=0,len=local_aliases.length;j0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=function(){var qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}index=buildIndex(rawSearchIndex);registerSearchEvents();if(searchState.getQueryStringParams().search){search()}};if(window.searchIndex!==undefined){initSearch(window.searchIndex)}})()
\ No newline at end of file
+(function(){var itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];var TY_PRIMITIVE=itemTypes.indexOf("primitive");var TY_KEYWORD=itemTypes.indexOf("keyword");function printTab(nb){if(nb===0||nb===1||nb===2){searchState.currentTab=nb}var nb_copy=nb;onEachLazy(document.getElementById("titles").childNodes,function(elem){if(nb_copy===0){addClass(elem,"selected")}else{removeClass(elem,"selected")}nb_copy-=1});onEachLazy(document.getElementById("results").childNodes,function(elem){if(nb===0){addClass(elem,"active")}else{removeClass(elem,"active")}nb-=1})}function removeEmptyStringsFromArray(x){for(var i=0,len=x.length;i-1){var obj=searchIndex[result.id];obj.lev=result.lev;var res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType){var ar=[];for(var entry in results){if(hasOwnPropertyRustdoc(results,entry)){var result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort(function(aaa,bbb){var a,b;a=(aaa.word!==val);b=(bbb.word!==val);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==window.currentCrate);b=(bbb.item.crate!==window.currentCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});for(var i=0,len=results.length;i"));return{name:val.substring(0,val.indexOf("<")),generics:values.split(/\s*,\s*/),}}return{name:val,generics:[],}}function checkGenerics(obj,val){var tmp_lev,elem_name;if(val.generics.length>0){if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>=val.generics.length){var elems=Object.create(null);var elength=obj[GENERICS_DATA].length;for(var x=0;xGENERICS_DATA&&obj[GENERICS_DATA].length>0){var elems=Object.create(null);len=obj[GENERICS_DATA].length;for(x=0;xGENERICS_DATA&&obj[GENERICS_DATA].length!==0){tmp_lev=checkGenerics(obj,val);if(tmp_lev<=MAX_LEV_DISTANCE){return tmp_lev}}}}else if(literalSearch){var found=false;if((!val.generics||val.generics.length===0)&&obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>0){found=obj[GENERICS_DATA].some(function(gen){return gen[NAME]===val.name})}return found?0:MAX_LEV_DISTANCE+1}lev_distance=Math.min(levenshtein(obj[NAME],val.name),lev_distance);if(lev_distance<=MAX_LEV_DISTANCE){lev_distance=Math.ceil((checkGenerics(obj,val)+lev_distance)/2)}if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>0){var olength=obj[GENERICS_DATA].length;for(x=0;x0){var length=obj.type[INPUTS_DATA].length;for(var i=0;iOUTPUT_DATA){var ret=obj.type[OUTPUT_DATA];if(typeof ret[0]==="string"){ret=[ret]}for(var x=0,len=ret.length;xlength){return MAX_LEV_DISTANCE+1}for(var i=0;ilength){break}var lev_total=0;var aborted=false;for(var x=0;xMAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER)return true;if(filter===type)return true;var name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates){var aliases=[];var crateAliases=[];if(filterCrates!==undefined){if(ALIASES[filterCrates]&&ALIASES[filterCrates][query.search]){var query_aliases=ALIASES[filterCrates][query.search];var len=query_aliases.length;for(var i=0;iMAX_RESULTS){ret.others.pop()}};onEach(aliases,pushFunc);onEach(crateAliases,pushFunc)}function addIntoResults(isExact,res,fullId,id,index,lev){if(lev===0||(!isExact&&lev<=MAX_LEV_DISTANCE)){if(res[fullId]!==undefined){var result=res[fullId];if(result.dontValidate||result.lev<=lev){return}}res[fullId]={id:id,index:index,dontValidate:isExact,lev:lev,}}}var nSearchWords=searchWords.length;var i,it;var ty;var fullId;var returned;var in_args;var len;if((val.charAt(0)==="\""||val.charAt(0)==="'")&&val.charAt(val.length-1)===val.charAt(0)){val=extractGenerics(val.substr(1,val.length-2));for(i=0;i")>-1){var trimmer=function(s){return s.trim()};var parts=val.split("->").map(trimmer);var input=parts[0];var inputs=input.split(",").map(trimmer).sort();for(i=0,len=inputs.length;i0){firstNonZeroDistance=distance;break}}in_args=firstNonZeroDistance}addIntoResults(true,results_in_args,fullId,i,-1,in_args);addIntoResults(true,results_returned,fullId,i,-1,returned);if(is_module){addIntoResults(true,results,fullId,i,-1,0)}}}query.inputs=inputs.map(function(input){return input.name});query.output=output.name}else{query.inputs=[val];query.output=val;query.search=val;val=val.replace(/_/g,"");var valGenerics=extractGenerics(val);var paths=valLower.split("::");removeEmptyStringsFromArray(paths);val=paths[paths.length-1];var contains=paths.slice(0,paths.length>1?paths.length-1:1);var lev,j;for(j=0;j1){lev=checkPath(contains,paths[paths.length-1],ty);if(lev>MAX_LEV_DISTANCE){continue}else if(lev>0){lev_add=lev/10}}returned=MAX_LEV_DISTANCE+1;in_args=MAX_LEV_DISTANCE+1;var index=-1;lev=MAX_LEV_DISTANCE+1;fullId=ty.id;if(searchWords[j].indexOf(split[i])>-1||searchWords[j].indexOf(val)>-1||ty.normalizedName.indexOf(val)>-1){if(typePassesFilter(typeFilter,ty.ty)&&results[fullId]===undefined){index=ty.normalizedName.indexOf(val)}}if((lev=levenshtein(searchWords[j],val))<=MAX_LEV_DISTANCE){if(typePassesFilter(typeFilter,ty.ty)){lev+=1}else{lev=MAX_LEV_DISTANCE+1}}in_args=findArg(ty,valGenerics,false,typeFilter);returned=checkReturned(ty,valGenerics,false,typeFilter);lev+=lev_add;if(lev>0&&val.length>3&&searchWords[j].indexOf(val)>-1){if(val.length<6){lev-=1}else{lev=0}}addIntoResults(false,results_in_args,fullId,j,index,in_args);addIntoResults(false,results_returned,fullId,j,index,returned);if(typePassesFilter(typeFilter,ty.ty)&&(index!==-1||lev<=MAX_LEV_DISTANCE)){if(index!==-1&&paths.length<2){lev=0}addIntoResults(false,results,fullId,j,index,lev)}}}var ret={"in_args":sortResults(results_in_args,true),"returned":sortResults(results_returned,true),"others":sortResults(results,false),};handleAliases(ret,query,filterCrates);return ret}function validateResult(name,path,keys,parent){for(var i=0,len=keys.length;i-1||path.indexOf(keys[i])>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(keys[i])>-1)||levenshtein(name,keys[i])<=MAX_LEV_DISTANCE)){return false}}return true}function getQuery(raw){var matches,type="",query;query=raw;matches=query.match(/^(fn|mod|struct|enum|trait|type|const|macro)\s*:\s*/i);if(matches){type=matches[1].replace(/^const$/,"constant");query=query.substring(matches[0].length)}return{raw:raw,query:query,type:type,id:query+type}}function nextTab(direction){var next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){var target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);if(target){target.focus()}}function buildHrefAndPath(item){var displayPath;var href;var type=itemTypes[item.ty];var name=item.name;var path=item.path;if(type==="mod"){displayPath=path+"::";href=window.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="primitive"||type==="keyword"){displayPath="";href=window.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=window.rootPath+name+"/index.html"}else if(item.parent!==undefined){var myparent=item.parent;var anchor="#"+type+"."+name;var parentType=itemTypes[myparent.ty];var pageType=parentType;var pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){var enumNameIdx=item.path.lastIndexOf("::");var enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=window.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=window.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function escape(content){var h1=document.createElement("h1");h1.textContent=content;return h1.innerHTML}function pathSplitter(path){var tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){var extraClass="";if(display===true){extraClass=" active"}var output=document.createElement("div");var length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(function(item){var name=item.name;var type=itemTypes[item.ty];length+=1;var extra="";if(type==="primitive"){extra=" (primitive type)"}else if(type==="keyword"){extra=" (keyword)"}var link=document.createElement("a");link.className="result-"+type;link.href=item.href;var wrapper=document.createElement("div");var resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){var alias=document.createElement("span");alias.className="alias";var bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend"," - see ");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+""+name+extra+"");wrapper.appendChild(resultName);var description=document.createElement("div");description.className="desc";var spanDesc=document.createElement("span");spanDesc.insertAdjacentHTML("beforeend",item.desc);description.appendChild(spanDesc);wrapper.appendChild(description);link.appendChild(wrapper);output.appendChild(link)})}else{output.className="search-failed"+extraClass;output.innerHTML="No results :(
"+"Try on DuckDuckGo?
"+"Or try looking in one of these:- The Rust Reference "+" for technical details about the language.
- Rust By "+"Example for expository code examples.
- The Rust Book for "+"introductions to language features and the language itself.
- Docs.rs for documentation of crates released on"+" crates.io.
"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return""}return""}function showResults(results,go_to_first){var search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){var elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}var query=getQuery(searchState.input.value);currentResults=query.id;var ret_others=addTab(results.others,query,true);var ret_in_args=addTab(results.in_args,query,false);var ret_returned=addTab(results.returned,query,false);var currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}var output="Results for "+escape(query.query)+(query.type?" (type: "+escape(query.type)+")":"")+"
"+""+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"";var resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;search.appendChild(resultsElem);searchState.focusedByTab=[null,null,null];searchState.showResults(search);var elems=document.getElementById("titles").childNodes;elems[0].onclick=function(){printTab(0)};elems[1].onclick=function(){printTab(1)};elems[2].onclick=function(){printTab(2)};printTab(currentTab)}function execSearch(query,searchWords,filterCrates){function getSmallest(arrays,positions,notDuplicates){var start=null;for(var it=0,len=positions.length;itpositions[it]&&(start===null||start>arrays[it][positions[it]].lev)&&!notDuplicates[arrays[it][positions[it]].fullPath]){start=arrays[it][positions[it]].lev}}return start}function mergeArrays(arrays){var ret=[];var positions=[];var notDuplicates={};for(var x=0,arrays_len=arrays.length;xpositions[x]&&arrays[x][positions[x]].lev===smallest&&!notDuplicates[arrays[x][positions[x]].fullPath]){ret.push(arrays[x][positions[x]]);notDuplicates[arrays[x][positions[x]].fullPath]=true;positions[x]+=1}}}return ret}function tokenizeQuery(raw){var i,matched;var l=raw.length;var depth=0;var nextAngle=/(<|>)/g;var ret=[];var start=0;for(i=0;i'){depth+=1}break;case">":if(depth>0){depth-=1}break;case",":if(depth===0){ret.push(raw.substring(start,i));start=i+1}break}}if(start!==i){ret.push(raw.substring(start,i))}return ret}var queries=tokenizeQuery(query.raw);var results={"in_args":[],"returned":[],"others":[],};for(var i=0,len=queries.length;i1){return{"in_args":mergeArrays(results.in_args),"returned":mergeArrays(results.returned),"others":mergeArrays(results.others),}}return{"in_args":results.in_args[0],"returned":results.returned[0],"others":results.others[0],}}function getFilterCrates(){var elem=document.getElementById("crate-search");if(elem&&elem.value!=="All crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return undefined}function search(e,forced){var params=searchState.getQueryStringParams();var query=getQuery(searchState.input.value.trim());if(e){e.preventDefault()}if(query.query.length===0){return}if(!forced&&query.id===currentResults){if(query.query.length>0){searchState.putBackSearch(searchState.input)}return}searchState.title="Results for "+query.query+" - Rust";if(searchState.browserSupportsHistoryApi()){var newURL=getNakedUrl()+"?search="+encodeURIComponent(query.raw)+window.location.hash;if(!history.state&&!params.search){history.pushState(query,"",newURL)}else{history.replaceState(query,"",newURL)}}var filterCrates=getFilterCrates();showResults(execSearch(query,searchWords,filterCrates),params["go_to_first"])}function buildIndex(rawSearchIndex){searchIndex=[];var searchWords=[];var i,word;var currentIndex=0;var id=0;for(var crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}var crateSize=0;var crateCorpus=rawSearchIndex[crate];searchWords.push(crate);var crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;var itemTypes=crateCorpus.t;var itemNames=crateCorpus.n;var itemPaths=crateCorpus.q;var itemDescs=crateCorpus.d;var itemParentIdxs=crateCorpus.i;var itemFunctionSearchTypes=crateCorpus.f;var paths=crateCorpus.p;var aliases=crateCorpus.a;var len=paths.length;for(i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:itemFunctionSearchTypes[i],id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]={};var j,local_aliases;for(var alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}local_aliases=aliases[alias_name];for(j=0,len=local_aliases.length;j0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=function(){var qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}searchWords=buildIndex(rawSearchIndex);registerSearchEvents();if(searchState.getQueryStringParams().search){search()}};if(window.searchIndex!==undefined){initSearch(window.searchIndex)}})()
\ No newline at end of file
diff --git a/settings.html b/settings.html
index f353906..9ac088a 100644
--- a/settings.html
+++ b/settings.html
@@ -1,4 +1,5 @@
-Rustdoc settings
- Rustdoc settings
Theme preferencesUse system themePreferred dark themePreferred light theme
- Auto-hide item contents for large items.Auto-hide item methods' documentationAuto-hide trait implementation documentationDirectly go to item in search if there is only one resultShow line numbers on code examplesDisable keyboard shortcuts
+Rustdoc settings
+ Rustdoc settings
Theme preferencesUse system themePreferred dark themePreferred light theme
+ Auto-hide item contents for large items.Auto-hide item methods' documentationAuto-hide trait implementation documentationDirectly go to item in search if there is only one resultShow line numbers on code examplesDisable keyboard shortcuts
\ No newline at end of file
diff --git a/source-files.js b/source-files.js
index e042c38..c067361 100644
--- a/source-files.js
+++ b/source-files.js
@@ -1,3 +1,3 @@
var N = null;var sourcesIndex = {};
-sourcesIndex["libmedium"] = {"name":"","files":["data.rs","main.rs","meta.rs","proxy.rs","routes.rs","settings.rs"]};
+sourcesIndex["libmedium"] = {"name":"","files":["data.rs","main.rs","meta.rs","proxy.rs","render_html.rs","routes.rs","settings.rs"]};
createSourceSidebar();
diff --git a/source-script.js b/source-script.js
index 5dc8fee..09515e0 100644
--- a/source-script.js
+++ b/source-script.js
@@ -1 +1 @@
-(function(){function getCurrentFilePath(){var parts=window.location.pathname.split("/");var rootPathParts=window.rootPath.split("/");for(var i=0,len=rootPathParts.length;i"){sidebar.style.left="";this.style.left="";child.innerText="<";updateLocalStorage("rustdoc-source-sidebar-show","true")}else{sidebar.style.left="-300px";this.style.left="0";child.innerText=">";updateLocalStorage("rustdoc-source-sidebar-show","false")}}function createSidebarToggle(){var sidebarToggle=document.createElement("div");sidebarToggle.id="sidebar-toggle";sidebarToggle.onclick=toggleSidebar;var inner1=document.createElement("div");inner1.style.position="relative";var inner2=document.createElement("div");inner2.style.paddingTop="3px";if(getCurrentValue("rustdoc-source-sidebar-show")==="true"){inner2.innerText="<"}else{inner2.innerText=">";sidebarToggle.style.left="0"}inner1.appendChild(inner2);sidebarToggle.appendChild(inner1);return sidebarToggle}function createSourceSidebar(){if(!window.rootPath.endsWith("/")){window.rootPath+="/"}var main=document.getElementById("main");var sidebarToggle=createSidebarToggle();main.insertBefore(sidebarToggle,main.firstChild);var sidebar=document.createElement("div");sidebar.id="source-sidebar";if(getCurrentValue("rustdoc-source-sidebar-show")!=="true"){sidebar.style.left="-300px"}var currentFile=getCurrentFilePath();var hasFoundFile=false;var title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(function(key){sourcesIndex[key].name=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",currentFile,hasFoundFile)});main.insertBefore(sidebar,main.firstChild);var selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}var lineNumbersRegex=/^#?(\d+)(?:-(\d+))?$/;function highlightSourceLines(scrollTo,match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}var from=parseInt(match[1],10);var to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(tocur_line_id){var tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",function(){var match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(false,match)}});onEachLazy(document.getElementsByClassName("line-numbers"),function(el){el.addEventListener("click",handleSourceHighlight)});highlightSourceLines(true);window.createSourceSidebar=createSourceSidebar})()
\ No newline at end of file
+(function(){function getCurrentFilePath(){var parts=window.location.pathname.split("/");var rootPathParts=window.rootPath.split("/");for(var i=0,len=rootPathParts.length;i"){sidebar.classList.add("expanded");child.innerText="<";updateLocalStorage("rustdoc-source-sidebar-show","true")}else{sidebar.classList.remove("expanded");child.innerText=">";updateLocalStorage("rustdoc-source-sidebar-show","false")}}function createSidebarToggle(){var sidebarToggle=document.createElement("div");sidebarToggle.id="sidebar-toggle";sidebarToggle.onclick=toggleSidebar;var inner=document.createElement("div");if(getCurrentValue("rustdoc-source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}sidebarToggle.appendChild(inner);return sidebarToggle}function createSourceSidebar(){if(!window.rootPath.endsWith("/")){window.rootPath+="/"}var container=document.querySelector("nav.sidebar");var sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);var sidebar=document.createElement("div");sidebar.id="source-sidebar";if(getCurrentValue("rustdoc-source-sidebar-show")!=="true"){container.classList.remove("expanded")}else{container.classList.add("expanded")}var currentFile=getCurrentFilePath();var hasFoundFile=false;var title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(function(key){sourcesIndex[key].name=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",currentFile,hasFoundFile)});container.insertBefore(sidebar,document.querySelector(".sidebar-logo").nextSibling);var selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}var lineNumbersRegex=/^#?(\d+)(?:-(\d+))?$/;function highlightSourceLines(scrollTo,match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}var from=parseInt(match[1],10);var to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(tocur_line_id){var tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",function(){var match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(false,match)}});onEachLazy(document.getElementsByClassName("line-numbers"),function(el){el.addEventListener("click",handleSourceHighlight)});highlightSourceLines(true);window.createSourceSidebar=createSourceSidebar})()
\ No newline at end of file
diff --git a/src/libmedium/data.rs.html b/src/libmedium/data.rs.html
index 2717866..1368f94 100644
--- a/src/libmedium/data.rs.html
+++ b/src/libmedium/data.rs.html
@@ -1,5 +1,6 @@
-data.rs - source
- 1
+data.rs - source
+ 1
2
3
4
@@ -287,6 +288,19 @@
286
287
288
+289
+290
+291
+292
+293
+294
+295
+296
+297
+298
+299
+300
+301
/*
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
*
@@ -313,6 +327,7 @@
use sled::{Db, Tree};
use crate::proxy::StringUtils;
+use crate::render_html;
use crate::SETTINGS;
const POST_CACHE_VERSION: usize = 3;
@@ -493,7 +508,7 @@
None
};
- let gist = match self.gists.get(&id) {
+ let mut gist = match self.gists.get(&id) {
Ok(Some(v)) => bincode::deserialize(&v[..]).unwrap(),
_ => {
const URL: &str = "https://api.github.com/gists/";
@@ -557,18 +572,30 @@
let gist = if let Some(file_name) = file_name {
let mut files: Vec<GistFile> = Vec::with_capacity(1);
- let file = gist
+ let mut file = gist
.files
.iter()
.find(|f| f.file_name == file_name)
.unwrap()
.to_owned();
+ let highlight = render_html::SourcegraphQuery {
+ filepath: &file.file_name,
+ code: &file.content,
+ };
+ file.content = highlight.syntax_highlight();
files.push(file);
GistContent {
files,
html_url: gist_url,
}
} else {
+ gist.files.iter_mut().for_each(|f| {
+ let highlight = render_html::SourcegraphQuery {
+ filepath: &f.file_name,
+ code: &f.content,
+ };
+ f.content = highlight.syntax_highlight();
+ });
gist
};
@@ -576,5 +603,5 @@
}
}
-
+
\ No newline at end of file
diff --git a/src/libmedium/main.rs.html b/src/libmedium/main.rs.html
index 83d564e..0c921b5 100644
--- a/src/libmedium/main.rs.html
+++ b/src/libmedium/main.rs.html
@@ -1,5 +1,6 @@
-main.rs - source
- 1
+main.rs - source
+ 1
2
3
4
@@ -92,6 +93,7 @@
91
92
93
+94
/*
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
*
@@ -120,6 +122,7 @@
mod data;
mod meta;
mod proxy;
+mod render_html;
mod routes;
mod settings;
@@ -163,7 +166,7 @@
.app_data(get_json_err())
.wrap(
actix_middleware::DefaultHeaders::new()
- .header("Permissions-Policy", "interest-cohort=()"),
+ .add(("Permissions-Policy", "interest-cohort=()")),
)
.wrap(actix_middleware::NormalizePath::new(
actix_middleware::TrailingSlash::Trim,
@@ -186,5 +189,5 @@
})
}
-
+
\ No newline at end of file
diff --git a/src/libmedium/meta.rs.html b/src/libmedium/meta.rs.html
index 741b0b1..d4d602c 100644
--- a/src/libmedium/meta.rs.html
+++ b/src/libmedium/meta.rs.html
@@ -1,5 +1,6 @@
-meta.rs - source
- 1
+meta.rs - source
+
\ No newline at end of file
diff --git a/src/libmedium/proxy.rs.html b/src/libmedium/proxy.rs.html
index 2322384..5ce95fd 100644
--- a/src/libmedium/proxy.rs.html
+++ b/src/libmedium/proxy.rs.html
@@ -1,5 +1,6 @@
-proxy.rs - source
- 1
+proxy.rs - source
+
\ No newline at end of file
diff --git a/src/libmedium/render_html.rs.html b/src/libmedium/render_html.rs.html
new file mode 100644
index 0000000..945631c
--- /dev/null
+++ b/src/libmedium/render_html.rs.html
@@ -0,0 +1,345 @@
+render_html.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
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+
/*
+ * Copyright (C) 2022 Aravinth Manivannan <realaravinth@batsense.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * 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 syntect::highlighting::{Color, ThemeSet};
+use syntect::html::highlighted_html_for_string;
+use syntect::parsing::{SyntaxReference, SyntaxSet};
+
+pub trait GenerateHTML {
+ fn generate(&mut self);
+}
+
+#[allow(dead_code)]
+pub const STYLE: &str = "
+ ";
+
+thread_local! {
+ pub(crate) static SYNTAX_SET: SyntaxSet = SyntaxSet::load_defaults_newlines();
+}
+
+pub struct SourcegraphQuery<'a> {
+ pub filepath: &'a str,
+ pub code: &'a str,
+}
+
+impl<'a> SourcegraphQuery<'a> {
+ pub fn syntax_highlight(&self) -> String {
+ // let ss = SYNTAX_SET;
+ let ts = ThemeSet::load_defaults();
+
+ let theme = &ts.themes["InspiredGitHub"];
+ let c = theme.settings.background.unwrap_or(Color::WHITE);
+ let mut num = 1;
+ let mut output = format!(
+ "<style>
+ .gist_file {{
+ background-color:#{:02x}{:02x}{:02x};
+ }}</style>",
+ c.r, c.g, c.b
+ );
+
+ // highlighted_html_for_string(&q.code, syntax_set, syntax_def, theme),
+ let html = SYNTAX_SET.with(|ss| {
+ let language = self.determine_language(ss);
+ highlighted_html_for_string(self.code, ss, &language, theme)
+ });
+ for (line_num, line) in html.lines().enumerate() {
+ if !line.trim().is_empty() {
+ if line_num == 0 {
+ //|| line_num == total_lines - 1 {
+ output.push_str(line);
+ } else {
+ output.push_str(&format!("<div id=\"line-{num}\"class=\"line\"><a href=\"#line-{num}\"<span class=\"line-number\">{num}</span></a>{line}</div>"
+ ));
+ num += 1;
+ }
+ }
+ }
+ output
+ }
+
+ // adopted from
+ // https://github.com/sourcegraph/sourcegraph/blob/9fe138ae75fd64dce06b621572b252a9c9c8da70/docker-images/syntax-highlighter/crates/sg-syntax/src/lib.rs#L81
+ // with minimum modifications. Crate was MIT licensed at the time(2022-03-12 11:11)
+ fn determine_language(&self, syntax_set: &SyntaxSet) -> SyntaxReference {
+ if self.filepath.is_empty() {
+ // Legacy codepath, kept for backwards-compatability with old clients.
+ match syntax_set.find_syntax_by_first_line(self.code) {
+ Some(v) => {
+ return v.to_owned();
+ }
+ None => unimplemented!(), //Err(json!({"error": "invalid extension"})),
+ };
+ }
+
+ // Split the input path ("foo/myfile.go") into file name
+ // ("myfile.go") and extension ("go").
+ let path = Path::new(&self.filepath);
+ let file_name = path.file_name().and_then(|n| n.to_str()).unwrap_or("");
+ let extension = path.extension().and_then(|x| x.to_str()).unwrap_or("");
+
+ // Override syntect's language detection for conflicting file extensions because
+ // it's impossible to express this logic in a syntax definition.
+ struct Override {
+ extension: &'static str,
+ prefix_langs: Vec<(&'static str, &'static str)>,
+ default: &'static str,
+ }
+ let overrides = vec![Override {
+ extension: "cls",
+ prefix_langs: vec![("%", "TeX"), ("\\", "TeX")],
+ default: "Apex",
+ }];
+
+ if let Some(Override {
+ prefix_langs,
+ default,
+ ..
+ }) = overrides.iter().find(|o| o.extension == extension)
+ {
+ let name = match prefix_langs
+ .iter()
+ .find(|(prefix, _)| self.code.starts_with(prefix))
+ {
+ Some((_, lang)) => lang,
+ None => default,
+ };
+ return syntax_set
+ .find_syntax_by_name(name)
+ .unwrap_or_else(|| syntax_set.find_syntax_plain_text())
+ .to_owned();
+ }
+
+ syntax_set
+ // First try to find a syntax whose "extension" matches our file
+ // name. This is done due to some syntaxes matching an "extension"
+ // that is actually a whole file name (e.g. "Dockerfile" or "CMakeLists.txt")
+ // see https://github.com/trishume/syntect/pull/170
+ .find_syntax_by_extension(file_name)
+ .or_else(|| syntax_set.find_syntax_by_extension(extension))
+ .or_else(|| syntax_set.find_syntax_by_first_line(self.code))
+ .unwrap_or_else(|| syntax_set.find_syntax_plain_text())
+ .to_owned()
+ }
+}
+
+#[cfg(test)]
+mod tests {
+ use super::SourcegraphQuery;
+
+ use syntect::parsing::SyntaxSet;
+
+ #[test]
+ fn cls_tex() {
+ let syntax_set = SyntaxSet::load_defaults_newlines();
+ let query = SourcegraphQuery {
+ filepath: "foo.cls",
+ code: "%",
+ };
+ let result = query.determine_language(&syntax_set);
+ assert_eq!(result.name, "TeX");
+ let _result = query.syntax_highlight();
+ }
+
+ //#[test]
+ //fn cls_apex() {
+ // let syntax_set = SyntaxSet::load_defaults_newlines();
+ // let query = SourcegraphQuery {
+ // filepath: "foo.cls".to_string(),
+ // code: "/**".to_string(),
+ // extension: String::new(),
+ // };
+ // let result = determine_language(&query, &syntax_set);
+ // assert_eq!(result.unwrap().name, "Apex");
+ //}
+}
+
+
+
\ No newline at end of file
diff --git a/src/libmedium/routes.rs.html b/src/libmedium/routes.rs.html
index 3670819..3e5f748 100644
--- a/src/libmedium/routes.rs.html
+++ b/src/libmedium/routes.rs.html
@@ -1,5 +1,6 @@
-routes.rs - source
- 1
+routes.rs - source
+
\ No newline at end of file
diff --git a/src/libmedium/settings.rs.html b/src/libmedium/settings.rs.html
index 24f1ae8..4a931d0 100644
--- a/src/libmedium/settings.rs.html
+++ b/src/libmedium/settings.rs.html
@@ -1,5 +1,6 @@
-settings.rs - source
- 1
+settings.rs - source
+
\ No newline at end of file
diff --git a/storage.js b/storage.js
index 6b16cbd..dd18db8 100644
--- a/storage.js
+++ b/storage.js
@@ -1 +1 @@
-var resourcesSuffix="";var darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");var settingsDataset=(function(){var settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}var dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){var current=getCurrentValue('rustdoc-'+settingName);if(current!==null){return current}if(settingsDataset!==null){var def=settingsDataset[settingName.replace(/-/g,'_')];if(def!==undefined){return def}}return null}var localStoredTheme=getSettingValue("theme");var savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){var length=arr.length;var i;if(reversed){for(i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(i=0;i=0){updateLocalStorage("rustdoc-preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}
\ No newline at end of file
+var darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");var settingsDataset=(function(){var settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}var dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){var current=getCurrentValue('rustdoc-'+settingName);if(current!==null){return current}if(settingsDataset!==null){var def=settingsDataset[settingName.replace(/-/g,'_')];if(def!==undefined){return def}}return null}var localStoredTheme=getSettingValue("theme");var savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){var length=arr.length;var i;if(reversed){for(i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(i=0;i=0){updateLocalStorage("rustdoc-preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}
\ No newline at end of file
List of all items[−] -
Structs
- Data
- SETTINGS
- Settings
- data::Data
- data::GetPost
- data::GetPostLight
- data::GistContent
- data::GistFile
- data::PostUrl
- data::get_post::GetPostPost
- data::get_post::GetPostPostContent
- data::get_post::GetPostPostContentBodyModel
- data::get_post::GetPostPostContentBodyModelParagraphs
- data::get_post::GetPostPostContentBodyModelParagraphsIframe
- data::get_post::GetPostPostContentBodyModelParagraphsIframeMediaResource
- data::get_post::GetPostPostContentBodyModelParagraphsMarkups
- data::get_post::GetPostPostContentBodyModelParagraphsMetadata
- data::get_post::GetPostPostCreator
- data::get_post::GetPostPostPreviewContent
- data::get_post::GetPostPostPreviewImage
- data::get_post::ResponseData
- data::get_post::Variables
- data::get_post_light::GetPostLightPost
- data::get_post_light::GetPostLightPostCreator
- data::get_post_light::ResponseData
- data::get_post_light::Variables
- meta::BuildDetails
- meta::build_details
- meta::routes::Meta
- proxy::Post
- proxy::assets
- proxy::by_post_id
- proxy::index
- proxy::page
- proxy::routes::Proxy
- routes::Routes
- settings::Server
- settings::Settings
Traits
Functions
Typedefs
- AppData
- data::AppData
- data::PostResp
- data::get_post::Boolean
- data::get_post::Float
- data::get_post::ID
- data::get_post::Int
- data::get_post_light::Boolean
- data::get_post_light::Float
- data::get_post_light::ID
- data::get_post_light::Int
Constants
- CACHE_AGE
- GIT_COMMIT_HASH
- PKG_DESCRIPTION
- PKG_HOMEPAGE
- PKG_NAME
- V1_API_ROUTES
- VERSION
- data::GIST_CACHE_VERSION
- data::POST_CACHE_VERSION
- data::get_post::OPERATION_NAME
- data::get_post::QUERY
- data::get_post::__QUERY_WORKAROUND
- data::get_post_light::OPERATION_NAME
- data::get_post_light::QUERY
- data::get_post_light::__QUERY_WORKAROUND
- proxy::CACHE_AGE
- proxy::INDEX
- routes::ROUTES
Structs
- Data
- SETTINGS
- Settings
- data::Data
- data::GetPost
- data::GetPostLight
- data::GistContent
- data::GistFile
- data::PostUrl
- data::get_post::GetPostPost
- data::get_post::GetPostPostContent
- data::get_post::GetPostPostContentBodyModel
- data::get_post::GetPostPostContentBodyModelParagraphs
- data::get_post::GetPostPostContentBodyModelParagraphsIframe
- data::get_post::GetPostPostContentBodyModelParagraphsIframeMediaResource
- data::get_post::GetPostPostContentBodyModelParagraphsMarkups
- data::get_post::GetPostPostContentBodyModelParagraphsMetadata
- data::get_post::GetPostPostCreator
- data::get_post::GetPostPostPreviewContent
- data::get_post::GetPostPostPreviewImage
- data::get_post::ResponseData
- data::get_post::Variables
- data::get_post_light::GetPostLightPost
- data::get_post_light::GetPostLightPostCreator
- data::get_post_light::ResponseData
- data::get_post_light::Variables
- meta::BuildDetails
- meta::build_details
- meta::routes::Meta
- proxy::Post
- proxy::assets
- proxy::by_post_id
- proxy::index
- proxy::page
- proxy::routes::Proxy
- render_html::SourcegraphQuery
- routes::Routes
- settings::Server
- settings::Settings
Traits
Functions
Typedefs
- AppData
- data::AppData
- data::PostResp
- data::get_post::Boolean
- data::get_post::Float
- data::get_post::ID
- data::get_post::Int
- data::get_post_light::Boolean
- data::get_post_light::Float
- data::get_post_light::ID
- data::get_post_light::Int
Constants
- CACHE_AGE
- GIT_COMMIT_HASH
- PKG_DESCRIPTION
- PKG_HOMEPAGE
- PKG_NAME
- V1_API_ROUTES
- VERSION
- data::GIST_CACHE_VERSION
- data::POST_CACHE_VERSION
- data::get_post::OPERATION_NAME
- data::get_post::QUERY
- data::get_post::__QUERY_WORKAROUND
- data::get_post_light::OPERATION_NAME
- data::get_post_light::QUERY
- data::get_post_light::__QUERY_WORKAROUND
- proxy::CACHE_AGE
- proxy::INDEX
- render_html::STYLE
- render_html::SYNTAX_SET
- routes::ROUTES
Constant libmedium::CACHE_AGE [−][src]
pub const CACHE_AGE: u32 = 604800;
Constant libmedium::GIT_COMMIT_HASH [−][src]
pub const GIT_COMMIT_HASH: &str = "8e6fd2bfaea2c882b8f943ab714bcc7ab8969f4a";
Constant libmedium::GIT_COMMIT_HASH [−][src]
pub const GIT_COMMIT_HASH: &str = "46940309462d6939db1974e3923ff4d7a3903c0c";
Constant libmedium::PKG_DESCRIPTION [−][src]
pub const PKG_DESCRIPTION: &str = "";
Constant libmedium::PKG_DESCRIPTION [−][src]
pub const PKG_DESCRIPTION: &str = "";
Constant libmedium::PKG_HOMEPAGE [−][src]
pub const PKG_HOMEPAGE: &str = "https://github.com/realaravinth/libmedium";
Constant libmedium::PKG_HOMEPAGE [−][src]
pub const PKG_HOMEPAGE: &str = "https://github.com/realaravinth/libmedium";
Constant libmedium::PKG_NAME [−][src]
pub const PKG_NAME: &str = "libmedium";
Constant libmedium::V1_API_ROUTES [−][src]
pub const V1_API_ROUTES: Routes;
Constant libmedium::V1_API_ROUTES [−][src]
pub const V1_API_ROUTES: Routes;
Constant libmedium::VERSION [−][src]
pub const VERSION: &str = "0.1.0";
Constant libmedium::data::GIST_CACHE_VERSION [−][src]
const GIST_CACHE_VERSION: usize = 1;
Constant libmedium::data::POST_CACHE_VERSION [−][src]
const POST_CACHE_VERSION: usize = 3;
Constant libmedium::data::get_post::OPERATION_NAME [−][src]
pub const OPERATION_NAME: &str = "GetPost";
Constant libmedium::data::get_post::QUERY [−][src]
pub const QUERY: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\n }\n }\n}\n";
Constant libmedium::data::get_post::QUERY [−][src]
pub const QUERY: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\n }\n }\n}\n";
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 readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\n }\n }\n}\n";
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 readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\n }\n }\n}\n";
Module libmedium::data::get_post [−][src]
Structs
+Struct libmedium::data::get_post::GetPostPost [−][src]
pub struct GetPostPost {
- pub title: String,
- pub created_at: i64,
- pub reading_time: f64,
- pub unique_slug: String,
+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 reading_time: f64,
+ pub unique_slug: String,
pub creator: GetPostPostCreator,
- pub preview_image: Option<GetPostPostPreviewImage>,
- pub preview_content: Option<GetPostPostPreviewContent>,
+ pub preview_image: Option<GetPostPostPreviewImage>,
+ pub preview_content: Option<GetPostPostPreviewContent>,
pub content: GetPostPostContent,
-}
Fields
title: String
created_at: i64
reading_time: f64
unique_slug: String
creator: GetPostPostCreator
preview_image: Option<GetPostPostPreviewImage>
preview_content: Option<GetPostPostPreviewContent>
content: GetPostPostContent
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
-
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
-
Performs the conversion.
+}Fields
title: String
created_at: i64
reading_time: f64
unique_slug: String
creator: GetPostPostCreator
preview_image: Option<GetPostPostPreviewImage>
preview_content: Option<GetPostPostPreviewContent>
content: GetPostPostContent
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
+
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
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
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
-
Performs the conversion.
+}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
+
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
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
Struct libmedium::data::get_post::GetPostPostContentBodyModel [−][src]
pub struct GetPostPostContentBodyModel {
- pub paragraphs: Vec<GetPostPostContentBodyModelParagraphs>,
-}
Fields
paragraphs: Vec<GetPostPostContentBodyModelParagraphs>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
-Performs the conversion.
+Struct libmedium::data::get_post::GetPostPostContentBodyModel [−][src]
pub struct GetPostPostContentBodyModel {
+ pub paragraphs: Vec<GetPostPostContentBodyModelParagraphs>,
+}
Fields
paragraphs: Vec<GetPostPostContentBodyModelParagraphs>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphs [−][src]
pub struct GetPostPostContentBodyModelParagraphs {
- pub text: String,
- pub type_: String,
- pub href: Option<String>,
- pub layout: Option<String>,
- 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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
-Performs the conversion.
+Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphs [−][src]
pub struct GetPostPostContentBodyModelParagraphs {
+ pub text: String,
+ pub type_: String,
+ pub href: Option<String>,
+ pub layout: Option<String>,
+ 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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphsIframe [−][src]
pub struct GetPostPostContentBodyModelParagraphsIframe {
- pub media_resource: Option<GetPostPostContentBodyModelParagraphsIframeMediaResource>,
-}
Fields
media_resource: Option<GetPostPostContentBodyModelParagraphsIframeMediaResource>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
-Performs the conversion.
+Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphsIframe [−][src]
pub struct GetPostPostContentBodyModelParagraphsIframe {
+ pub media_resource: Option<GetPostPostContentBodyModelParagraphsIframeMediaResource>,
+}
Fields
media_resource: Option<GetPostPostContentBodyModelParagraphsIframeMediaResource>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
-Performs the conversion.
+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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphsMarkups [−][src]
pub struct GetPostPostContentBodyModelParagraphsMarkups {
- pub title: Option<String>,
- pub type_: String,
- pub href: Option<String>,
- pub user_id: Option<String>,
- 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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
-Performs the conversion.
+Struct libmedium::data::get_post::GetPostPostContentBodyModelParagraphsMarkups [−][src]
pub struct GetPostPostContentBodyModelParagraphsMarkups {
+ pub title: Option<String>,
+ pub type_: String,
+ pub href: Option<String>,
+ pub user_id: Option<String>,
+ 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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
-Performs the conversion.
+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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::get_post::GetPostPostCreator [−][src]
pub struct GetPostPostCreator {
- pub name: String,
- pub id: String,
- pub image_id: String,
- pub username: String,
-}
Fields
name: String
id: String
image_id: String
username: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
-Performs the conversion.
+Struct libmedium::data::get_post::GetPostPostCreator [−][src]
pub struct GetPostPostCreator {
+ pub name: String,
+ pub id: String,
+ pub image_id: String,
+ pub username: String,
+}
Fields
name: String
id: String
image_id: String
username: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::get_post::GetPostPostPreviewContent [−][src]
pub struct GetPostPostPreviewContent {
- pub subtitle: String,
-}
Fields
subtitle: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 GetPostPostPreviewContent
impl Send for GetPostPostPreviewContent
impl Sync for GetPostPostPreviewContent
impl Unpin for GetPostPostPreviewContent
impl UnwindSafe for GetPostPostPreviewContent
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::data::get_post::GetPostPostPreviewContent [−][src]
pub struct GetPostPostPreviewContent {
+ pub subtitle: String,
+}
Fields
subtitle: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 GetPostPostPreviewContent
impl Send for GetPostPostPreviewContent
impl Sync for GetPostPostPreviewContent
impl Unpin for GetPostPostPreviewContent
impl UnwindSafe for GetPostPostPreviewContent
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::get_post::GetPostPostPreviewImage [−][src]
Fields
id: Option<String>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 GetPostPostPreviewImage
impl Send for GetPostPostPreviewImage
impl Sync for GetPostPostPreviewImage
impl Unpin for GetPostPostPreviewImage
impl UnwindSafe for GetPostPostPreviewImage
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::data::get_post::GetPostPostPreviewImage [−][src]
Fields
id: Option<String>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 GetPostPostPreviewImage
impl Send for GetPostPostPreviewImage
impl Sync for GetPostPostPreviewImage
impl Unpin for GetPostPostPreviewImage
impl UnwindSafe for GetPostPostPreviewImage
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::get_post::ResponseData [−][src]
pub struct ResponseData {
- pub post: Option<GetPostPost>,
-}
Fields
post: Option<GetPostPost>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
-Performs the conversion.
+Struct libmedium::data::get_post::ResponseData [−][src]
pub struct ResponseData {
+ pub post: Option<GetPostPost>,
+}
Fields
post: Option<GetPostPost>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::get_post::Variables [−][src]
pub struct Variables {
- pub id: String,
-}
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
-Performs the conversion.
+Struct libmedium::data::get_post::Variables [−][src]
pub struct Variables {
+ pub id: String,
+}
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
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Type Definition libmedium::data::get_post::Boolean [−][src]
type Boolean = bool;
Type Definition libmedium::data::get_post::Float [−][src]
type Float = f64;
Type Definition libmedium::data::get_post::ID [−][src]
type ID = String;
Type Definition libmedium::data::get_post::Int [−][src]
type Int = i64;
Constant libmedium::data::get_post_light::OPERATION_NAME [−][src]
pub const OPERATION_NAME: &str = "GetPostLight";
Constant libmedium::data::get_post_light::OPERATION_NAME [−][src]
pub const OPERATION_NAME: &str = "GetPostLight";
Constant libmedium::data::get_post_light::QUERY [−][src]
pub const QUERY: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\n }\n }\n}\n";
Constant libmedium::data::get_post_light::QUERY [−][src]
pub const QUERY: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\n }\n }\n}\n";
Constant libmedium::data::get_post_light::__QUERY_WORKAROUND [−][src]
const __QUERY_WORKAROUND: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\n }\n }\n}\n";
Constant libmedium::data::get_post_light::__QUERY_WORKAROUND [−][src]
const __QUERY_WORKAROUND: &str = "query GetPost($id: ID!) {\n post(id: $id) {\n title\n createdAt\n readingTime\n uniqueSlug\n creator { \n name\n id\n\t\t\timageId\n username\n }\n previewImage {\n id\n }\n previewContent {\n subtitle\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\nquery GetPostLight($id: ID!) {\n post(id: $id) {\n uniqueSlug\n creator {\n username\n }\n }\n}\n";
Module libmedium::data::get_post_light [−][src]
Structs
+Struct libmedium::data::get_post_light::GetPostLightPost [−][src]
pub struct GetPostLightPost {
- pub unique_slug: String,
+GetPostLightPost in libmedium::data::get_post_light - Rust
+ Struct libmedium::data::get_post_light::GetPostLightPost [−][src]
pub struct GetPostLightPost {
+ pub unique_slug: String,
pub creator: GetPostLightPostCreator,
-}
Fields
unique_slug: String
creator: GetPostLightPostCreator
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
-
Auto Trait Implementations
impl RefUnwindSafe for GetPostLightPost
impl Send for GetPostLightPost
impl Sync for GetPostLightPost
impl Unpin for GetPostLightPost
impl UnwindSafe for GetPostLightPost
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+}Fields
unique_slug: String
creator: GetPostLightPostCreator
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
+
Auto Trait Implementations
impl RefUnwindSafe for GetPostLightPost
impl Send for GetPostLightPost
impl Sync for GetPostLightPost
impl Unpin for GetPostLightPost
impl UnwindSafe for GetPostLightPost
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
Struct libmedium::data::get_post_light::GetPostLightPostCreator [−][src]
pub struct GetPostLightPostCreator {
- pub username: String,
-}
Fields
username: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 GetPostLightPostCreator
impl Send for GetPostLightPostCreator
impl Sync for GetPostLightPostCreator
impl Unpin for GetPostLightPostCreator
impl UnwindSafe for GetPostLightPostCreator
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::data::get_post_light::GetPostLightPostCreator [−][src]
pub struct GetPostLightPostCreator {
+ pub username: String,
+}
Fields
username: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 GetPostLightPostCreator
impl Send for GetPostLightPostCreator
impl Sync for GetPostLightPostCreator
impl Unpin for GetPostLightPostCreator
impl UnwindSafe for GetPostLightPostCreator
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::get_post_light::ResponseData [−][src]
pub struct ResponseData {
- pub post: Option<GetPostLightPost>,
-}
Fields
post: Option<GetPostLightPost>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
-Performs the conversion.
+Struct libmedium::data::get_post_light::ResponseData [−][src]
pub struct ResponseData {
+ pub post: Option<GetPostLightPost>,
+}
Fields
post: Option<GetPostLightPost>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::get_post_light::Variables [−][src]
pub struct Variables {
- pub id: String,
-}
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
-Performs the conversion.
+Struct libmedium::data::get_post_light::Variables [−][src]
pub struct Variables {
+ pub id: String,
+}
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
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Type Definition libmedium::data::get_post_light::Boolean [−][src]
type Boolean = bool;
Type Definition libmedium::data::get_post_light::Float [−][src]
type Float = f64;
Type Definition libmedium::data::get_post_light::ID [−][src]
type ID = String;
Type Definition libmedium::data::get_post_light::Int [−][src]
type Int = i64;
Module libmedium::data [−][src]
Modules
+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,
pub gists: Tree,
-}
Fields
client: Client
cache: Db
posts: Tree
gists: Tree
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Data
impl !UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+}Fields
client: Client
cache: Db
posts: Tree
gists: Tree
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Data
impl !UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
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
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.
-Auto Trait Implementations
impl RefUnwindSafe for GetPost
impl UnwindSafe for GetPost
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+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
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.
+Auto Trait Implementations
impl RefUnwindSafe for GetPost
impl UnwindSafe for GetPost
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::GetPostLight [−][src]
pub struct GetPostLight;
Trait Implementations
The shape of the variables expected by the query. This should be a generated struct most of the time.
-type ResponseData = ResponseData
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.
-Auto Trait Implementations
impl RefUnwindSafe for GetPostLight
impl Send for GetPostLight
impl Sync for GetPostLight
impl Unpin for GetPostLight
impl UnwindSafe for GetPostLight
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::data::GetPostLight [−][src]
pub struct GetPostLight;
Trait Implementations
The shape of the variables expected by the query. This should be a generated struct most of the time.
+type ResponseData = ResponseData
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.
+Auto Trait Implementations
impl RefUnwindSafe for GetPostLight
impl Send for GetPostLight
impl Sync for GetPostLight
impl Unpin for GetPostLight
impl UnwindSafe for GetPostLight
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::GistContent [−][src]
Fields
files: Vec<GistFile>
html_url: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 GistContent
impl Send for GistContent
impl Sync for GistContent
impl Unpin for GistContent
impl UnwindSafe for GistContent
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::data::GistContent [−][src]
Fields
files: Vec<GistFile>
html_url: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 GistContent
impl Send for GistContent
impl Sync for GistContent
impl Unpin for GistContent
impl UnwindSafe for GistContent
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::GistFile [−][src]
pub struct GistFile {
- pub file_name: String,
- pub content: String,
- pub language: String,
- pub raw_url: String,
-}
Fields
file_name: String
content: String
language: String
raw_url: String
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 GistFile
impl UnwindSafe for GistFile
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::data::GistFile [−][src]
pub struct GistFile {
+ pub file_name: String,
+ pub content: String,
+ pub language: String,
+ pub raw_url: String,
+}
Fields
file_name: String
content: String
language: String
raw_url: String
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 GistFile
impl UnwindSafe for GistFile
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::data::PostUrl [−][src]
Fields
slug: String
username: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PostUrl
impl UnwindSafe for PostUrl
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::data::PostUrl [−][src]
Fields
slug: String
username: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PostUrl
impl UnwindSafe for PostUrl
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Type Definition libmedium::data::AppData [−][src]
pub type AppData = Data<Data>;
Type Definition libmedium::data::PostResp [−][src]
pub type PostResp = GetPostPost;
Function libmedium::get_json_err [−][src]
pub fn get_json_err() -> JsonConfig
Function libmedium::get_json_err [−][src]
pub fn get_json_err() -> JsonConfig
Function libmedium::main [−][src]
Crate libmedium[−][src]
Modules
-Structs
+Function libmedium::meta::services [−][src]
pub fn services(cfg: &mut ServiceConfig)
Module libmedium::meta [−][src]
Modules
+Module libmedium::meta::routes [−][src]
Structs
-Struct libmedium::meta::routes::Meta [−][src]
Fields
build_details: &'static str
health: &'static str
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Meta
impl UnwindSafe for Meta
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::meta::routes::Meta [−][src]
Fields
build_details: &'static str
health: &'static str
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Meta
impl UnwindSafe for Meta
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::meta::BuildDetails [−][src]
Fields
version: &'static str
git_commit_hash: &'static str
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
-Auto Trait Implementations
impl RefUnwindSafe for BuildDetails
impl Send for BuildDetails
impl Sync for BuildDetails
impl Unpin for BuildDetails
impl UnwindSafe for BuildDetails
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::meta::BuildDetails [−][src]
Fields
version: &'static str
git_commit_hash: &'static str
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
+Auto Trait Implementations
impl RefUnwindSafe for BuildDetails
impl Send for BuildDetails
impl Sync for BuildDetails
impl Unpin for BuildDetails
impl UnwindSafe for BuildDetails
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::meta::build_details [−][src]
pub struct build_details;
Expand description
emmits build details of the bninary
-Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for build_details
impl Send for build_details
impl Sync for build_details
impl Unpin for build_details
impl UnwindSafe for build_details
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::meta::build_details [−][src]
pub struct build_details;
Expand description
emmits build details of the bninary
+Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for build_details
impl Send for build_details
impl Sync for build_details
impl Unpin for build_details
impl UnwindSafe for build_details
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Constant libmedium::proxy::CACHE_AGE [−][src]
const CACHE_AGE: u32 = 60 * 60 * 24; // 0x0001_5180u32
Constant libmedium::proxy::INDEX [−][src]
const INDEX: &str = "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>LibMedium</title>\n </head>\n <body>\n <main>\n <div class=\"center\">\n <h1>LibMedium</h1>\n <p>A free and privacy-respecting medium proxy</p>\n <p>\n <a\n href=\"/@tylerneely/fear-and-loathing-in-lock-free-programming-7158b1cdd50c\"\n >Demo Article</a\n >\n | <a href=\"https://github.com/realaravinth/libmedium\">Source Code</a>\n </p>\n </div>\n </main>\n </body>\n <style>\n * {\n padding: 0;\n margin: 0;\n }\n body {\n width: 100%;\n min-height: 100vh;\n display: block;\n }\n main {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 80%;\n height: 100vh;\n margin: auto;\n justify-content: space-between;\n }\n\n .center {\n margin: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n h1 {\n font-size: 3rem;\n }\n\n @media screen and (max-width: 1200px) {\n main {\n width: 90%;\n }\n\n img {\n display: block;\n }\n }\n </style>\n</html>\n";
Constant libmedium::proxy::INDEX [−][src]
const INDEX: &str = "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>LibMedium</title>\n </head>\n <body>\n <main>\n <div class=\"center\">\n <h1>LibMedium</h1>\n <p>A free and privacy-respecting medium proxy</p>\n <p>\n <a\n href=\"/@tylerneely/fear-and-loathing-in-lock-free-programming-7158b1cdd50c\"\n >Demo Article</a\n >\n | <a href=\"https://github.com/realaravinth/libmedium\">Source Code</a>\n </p>\n </div>\n </main>\n </body>\n <style>\n * {\n padding: 0;\n margin: 0;\n }\n body {\n width: 100%;\n min-height: 100vh;\n display: block;\n }\n main {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 80%;\n height: 100vh;\n margin: auto;\n justify-content: space-between;\n }\n\n .center {\n margin: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n h1 {\n font-size: 3rem;\n }\n\n @media screen and (max-width: 1200px) {\n main {\n width: 90%;\n }\n\n img {\n display: block;\n }\n }\n </style>\n</html>\n";
Function libmedium::proxy::services [−][src]
pub fn services(cfg: &mut ServiceConfig)
Module libmedium::proxy [−][src]
Modules
+Module libmedium::proxy::routes [−][src]
Structs
-Struct libmedium::proxy::routes::Proxy [−][src]
pub struct Proxy {
- pub index: &'static str,
- pub by_post_id: &'static str,
- pub page: &'static str,
- pub asset: &'static str,
-}
Fields
index: &'static str
by_post_id: &'static str
page: &'static str
asset: &'static str
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Proxy
impl UnwindSafe for Proxy
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::proxy::routes::Proxy [−][src]
pub struct Proxy {
+ pub index: &'static str,
+ pub by_post_id: &'static str,
+ pub page: &'static str,
+ pub asset: &'static str,
+}
Fields
index: &'static str
by_post_id: &'static str
page: &'static str
asset: &'static str
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Proxy
impl UnwindSafe for Proxy
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::proxy::Post [−][src]
pub struct Post {
+Post in libmedium::proxy - Rust
+ Struct libmedium::proxy::Post [−][src]
pub struct Post {
pub data: GetPostPost,
- pub date: String,
- pub preview_img: String,
- pub reading_time: usize,
- pub id: String,
- pub gists: Option<Vec<(String, GistContent)>>,
-}
Fields
data: GetPostPost
date: String
preview_img: String
reading_time: usize
id: String
gists: Option<Vec<(String, GistContent)>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Post
impl UnwindSafe for Post
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+ pub date: String,
+ pub preview_img: String,
+ pub reading_time: usize,
+ pub id: String,
+ pub gists: Option<Vec<(String, GistContent)>>,
+}Fields
data: GetPostPost
date: String
preview_img: String
reading_time: usize
id: String
gists: Option<Vec<(String, GistContent)>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Post
impl UnwindSafe for Post
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
Struct libmedium::proxy::assets [−][src]
pub struct assets;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for assets
impl UnwindSafe for assets
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::proxy::assets [−][src]
pub struct assets;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for assets
impl UnwindSafe for assets
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::proxy::by_post_id [−][src]
pub struct by_post_id;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for by_post_id
impl Send for by_post_id
impl Sync for by_post_id
impl Unpin for by_post_id
impl UnwindSafe for by_post_id
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::proxy::by_post_id [−][src]
pub struct by_post_id;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for by_post_id
impl Send for by_post_id
impl Sync for by_post_id
impl Unpin for by_post_id
impl UnwindSafe for by_post_id
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::proxy::index [−][src]
pub struct index;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for index
impl UnwindSafe for index
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::proxy::index [−][src]
pub struct index;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for index
impl UnwindSafe for index
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::proxy::page [−][src]
pub struct page;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for page
impl UnwindSafe for page
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::proxy::page [−][src]
pub struct page;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for page
impl UnwindSafe for page
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Trait libmedium::proxy::StringUtils [−][src]
pub trait StringUtils {
- fn substring(&self, start: usize, len: usize) -> &str;
- fn slice(&self, range: impl RangeBounds<usize>) -> &str;
-}
Required methods
fn slice(&self, range: impl RangeBounds<usize>) -> &str
Implementations on Foreign Types
Implementors
Trait libmedium::proxy::StringUtils [−][src]
pub trait StringUtils {
+ fn substring(&self, start: usize, len: usize) -> &str;
+ fn slice(&self, range: impl RangeBounds<usize>) -> &str;
+}
Required methods
fn slice(&self, range: impl RangeBounds<usize>) -> &str
Implementations on Foreign Types
Implementors
Constant libmedium::render_html::SYNTAX_SET [−][src]
Struct libmedium::render_html::SourcegraphQuery [−][src]
Fields
filepath: &'a str
code: &'a str
Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for SourcegraphQuery<'a>
impl<'a> Send for SourcegraphQuery<'a>
impl<'a> Sync for SourcegraphQuery<'a>
impl<'a> Unpin for SourcegraphQuery<'a>
impl<'a> UnwindSafe for SourcegraphQuery<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
+WithDispatch
wrapper. Read more
Trait libmedium::render_html::GenerateHTML [−][src]
pub trait GenerateHTML {
+ fn generate(&mut self);
+}
Required methods
Implementors
Constant libmedium::routes::ROUTES [−][src]
pub const ROUTES: Routes;
Function libmedium::routes::services [−][src]
pub fn services(cfg: &mut ServiceConfig)
Module libmedium::routes [−][src]
Structs
+Struct libmedium::routes::Routes [−][src]
pub struct Routes {
+Routes in libmedium::routes - Rust
+ Struct libmedium::routes::Routes [−][src]
Fields
meta: Meta
proxy: Proxy
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Routes
impl UnwindSafe for Routes
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+}Fields
meta: Meta
proxy: Proxy
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Routes
impl UnwindSafe for Routes
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
Function libmedium::settings::check_url [−][src]
fn check_url(s: &Config)
Module libmedium::settings [−][src]
Structs
+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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
-Performs the conversion.
+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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::settings::Settings [−][src]
pub struct Settings {
- pub debug: bool,
- pub cache: Option<String>,
+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
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
-Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+ pub source_code: String,
+}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
+Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
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,
pub gists: Tree,
-}
Fields
client: Client
cache: Db
posts: Tree
gists: Tree
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Data
impl !UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+}Fields
client: Client
cache: Db
posts: Tree
gists: Tree
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Data
impl !UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
Struct libmedium::SETTINGS [−][src]
pub struct SETTINGS {
- pub(crate) __private_field: (),
-}
Fields
__private_field: ()
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SETTINGS
impl UnwindSafe for SETTINGS
Blanket Implementations
Mutably borrows from an owned value. Read more
-Performs the conversion.
+Struct libmedium::SETTINGS [−][src]
pub struct SETTINGS {
+ pub(crate) __private_field: (),
+}
Fields
__private_field: ()
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SETTINGS
impl UnwindSafe for SETTINGS
Blanket Implementations
Mutably borrows from an owned value. Read more
+pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Struct libmedium::Settings [−][src]
pub struct Settings {
- pub debug: bool,
- pub cache: Option<String>,
+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
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
-Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Performs the conversion.
+ pub source_code: String,
+}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
+Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
+
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
Type Definition libmedium::AppData [−][src]
pub type AppData = Data<Data>;
"+searchState.loadingText+"
";searchState.showResults(search);loadSearch()}},addCrateDropdown:function(crates){var elem=document.getElementById("crate-search");if(!elem){return}var savedCrate=getSettingValue("saved-filter-crate");for(var i=0,len=crates.length;i"+searchState.loadingText+"
";searchState.showResults(search);loadSearch()}},addCrateDropdown:function(crates){var elem=document.getElementById("crate-search");if(!elem){return}var savedCrate=getSettingValue("saved-filter-crate");for(var i=0,len=crates.length;iKeyboard Shortcuts
- "+shortcuts+"
fn:
) to \
restrict the search to a given item kind.","Accepted kinds are: fn
, mod
, struct
, \
enum
, trait
, type
, macro
, \
and const
.","Search functions by type signature (e.g., vec -> usize
or \
* -> vec
)","Search multiple things at once by splitting your query with comma (e.g., \
str,u8
or String,struct:Vec,test
)","You can look for items with an exact name by putting double quotes around \
- your request: \"string\"
","Look for items inside another one by searching for a path: vec::Vec
",].map(function(x){return""+x+"
"}).join("");var div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="Search Tricks
"+infos;container.appendChild(book_info);container.appendChild(div_shortcuts);container.appendChild(div_infos);var rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";var rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc 1.58.1 (db9d1b20b 2022-01-20)";rustdoc_version.appendChild(rustdoc_version_code);container.appendChild(rustdoc_version);popup.appendChild(container);insertAfter(popup,searchState.outputElement());buildHelperPopup=function(){}};onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){var reset_button_timeout=null;window.copy_path=function(but){var parent=but.parentElement;var path=[];onEach(parent.childNodes,function(child){if(child.tagName==='A'){path.push(child.textContent)}});var el=document.createElement('textarea');el.value=path.join('::');el.setAttribute('readonly','');el.style.position='absolute';el.style.left='-9999px';document.body.appendChild(el);el.select();document.execCommand('copy');document.body.removeChild(el);but.children[0].style.display='none';var tmp;if(but.childNodes.length<2){tmp=document.createTextNode('✓');but.appendChild(tmp)}else{onEachLazy(but.childNodes,function(e){if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent='✓'}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent='';reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}()) \ No newline at end of file + your request:\"string\"
","Look for items inside another one by searching for a path: vec::Vec
",].map(function(x){return""+x+"
"}).join("");var div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="Search Tricks
"+infos;container.appendChild(book_info);container.appendChild(div_shortcuts);container.appendChild(div_infos);var rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";var rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);container.appendChild(rustdoc_version);popup.appendChild(container);insertAfter(popup,document.querySelector("main"));buildHelperPopup=function(){}};onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){var reset_button_timeout=null;window.copy_path=function(but){var parent=but.parentElement;var path=[];onEach(parent.childNodes,function(child){if(child.tagName==='A'){path.push(child.textContent)}});var el=document.createElement('textarea');el.value=path.join('::');el.setAttribute('readonly','');el.style.position='absolute';el.style.left='-9999px';document.body.appendChild(el);el.select();document.execCommand('copy');document.body.removeChild(el);but.children[0].style.display='none';var tmp;if(but.childNodes.length<2){tmp=document.createTextNode('✓');but.appendChild(tmp)}else{onEachLazy(but.childNodes,function(e){if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent='✓'}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent='';reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}()) \ No newline at end of file diff --git a/noscript.css b/noscript.css index a4ce2bb..8ad8864 100644 --- a/noscript.css +++ b/noscript.css @@ -1 +1 @@ - #main .attributes{margin-left:0 !important;}#copy-path{display:none;}.sub{display:none;}#theme-picker{display:none;} \ No newline at end of file + #main-content .attributes{margin-left:0 !important;}#copy-path{display:none;}.sub{display:none;}#theme-picker{display:none;} \ No newline at end of file diff --git a/rustdoc.css b/rustdoc.css index e7788fd..4d3b1e9 100644 --- a/rustdoc.css +++ b/rustdoc.css @@ -1 +1 @@ - @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2"),url("FiraSans-Regular.woff") format('woff');font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2"),url("FiraSans-Medium.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular.ttf.woff2") format("woff2"),url("SourceSerif4-Regular.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It.ttf.woff2") format("woff2"),url("SourceSerif4-It.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold.ttf.woff2") format("woff2"),url("SourceSerif4-Bold.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.ttf.woff2") format("woff2"),url("SourceCodePro-Regular.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It.ttf.woff2") format("woff2"),url("SourceCodePro-It.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.ttf.woff2") format("woff2"),url("SourceCodePro-Semibold.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic.ttf.woff2") format("woff2"),url("NanumBarunGothic.ttf.woff") format("woff");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:16px/1.4 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;padding:10px 15px 20px 15px;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";}h1{font-size:1.5em;}h2{font-size:1.4em;}h3{font-size:1.3em;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:20px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}h1.fqn{display:flex;border-bottom:1px dashed;margin-top:0;padding-left:1px;}h1.fqn>.in-band>a:hover{text-decoration:underline;}h2,.top-doc h3,.top-doc h4,.sidebar .others h3{border-bottom:1px solid;}h3.code-header{font-size:1.1em;}h4.code-header{font-size:1em;}h3.code-header,h4.code-header{font-weight:600;border-bottom-style:none;padding:0;margin:0;}.impl,.impl-items .method,.methods .method,.impl-items .type,.methods .type,.impl-items .associatedconstant,.methods .associatedconstant,.impl-items .associatedtype,.methods .associatedtype{flex-basis:100%;font-weight:600;margin-top:16px;margin-bottom:10px;position:relative;}div.impl-items>div{padding-left:0;}h1,h2,h3,h4,h5,h6,.sidebar,a.source,.search-input,.search-results .result-name,.content table td:first-child>a,.item-left>a,div.item-list .out-of-band,span.since,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,div.impl-items>div:not(.docblock):not(.item-info),.content ul.crate a.crate,a.srclink,#main>ul.docblock>li>a{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}.content ul.crate a.crate{font-size:16px/1.6;}ol,ul{padding-left:25px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.6em;}p{margin:0 0 .6em 0;}summary{outline:none;}td,th{padding:0;}table{border-collapse:collapse;}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;}details:not(.rustdoc-toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.1em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;}.docblock.item-decl{margin-left:0;}.item-decl pre{overflow-x:auto;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{margin-top:50px;max-width:none;overflow:visible;margin-left:0px;}nav.sub{font-size:16px;text-transform:uppercase;}.sidebar{width:200px;position:fixed;left:0;top:0;bottom:0;overflow-y:scroll;}.rustdoc.source .sidebar{overflow-y:auto;}*{scrollbar-width:initial;}.sidebar{scrollbar-width:thin;}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;}.sidebar .block>ul>li{margin-right:-10px;}.content,nav{max-width:960px;}.hidden{display:none !important;}.logo-container{height:100px;width:100px;position:relative;margin:20px auto;display:block;margin-top:10px;}.logo-container>img{max-width:100px;max-height:100px;height:100%;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;}.sidebar .location{border:1px solid;font-size:17px;margin:30px 10px 20px 10px;text-align:center;word-wrap:break-word;font-weight:inherit;padding:0;}.sidebar .version{font-size:15px;text-align:center;border-bottom:1px solid;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;}.location:empty{border:none;}.location a:first-of-type{font-weight:500;}.location a:hover{text-decoration:underline;}.block{padding:0;margin-bottom:14px;}.block h2,.block h3{text-align:center;}.block ul,.block li{margin:0 10px;padding:0;list-style:none;}.block a{display:block;text-overflow:ellipsis;overflow:hidden;line-height:15px;padding:7px 5px;font-size:14px;font-weight:300;transition:border 500ms ease-out;}.sidebar-title{border-top:1px solid;border-bottom:1px solid;text-align:center;font-size:17px;margin-bottom:5px;font-weight:inherit;padding:0;}.sidebar-links{margin-bottom:15px;}.sidebar-links>a{padding-left:10px;width:100%;}.sidebar-menu{display:none;}.content{padding:15px 0;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc .example-wrap{display:inline-flex;margin-bottom:10px;}.example-wrap{position:relative;width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;padding:13px 8px;text-align:right;border-top-left-radius:5px;border-bottom-left-radius:5px;}.example-wrap>pre.rust a:hover{text-decoration:underline;}.rustdoc:not(.source) .example-wrap>pre:not(.line-number){width:100%;overflow-x:auto;}.rustdoc:not(.source) .example-wrap>pre.line-numbers{width:auto;overflow-x:visible;}.rustdoc .example-wrap>pre{margin:0;}#search{margin-left:230px;position:relative;}#results>table{width:100%;table-layout:fixed;}.content>.example-wrap pre.line-numbers{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:anywhere;}.docblock-short p{display:inline;}.docblock-short p{overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock>:not(pre)>code,.docblock-short>:not(pre)>code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.3em;}.top-doc .docblock h3{font-size:1.15em;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.1em;}.top-doc .docblock h6{font-size:1em;}.docblock h5{font-size:1em;}.docblock h6{font-size:0.95em;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.information){max-width:100%;overflow-x:auto;}.content .out-of-band{flex-grow:0;text-align:right;font-size:23px;margin:0px;padding:0 0 0 12px;font-weight:normal;}.method>.code-header,.trait-impl>.code-header,.invisible>.code-header{max-width:calc(100% - 41px);display:block;}.invisible{width:100%;display:inline-block;}.content .in-band{flex-grow:1;margin:0px;padding:0px;overflow-wrap:anywhere;}.in-band>code,.in-band>.code-header{display:inline-block;}#main{position:relative;}#main>.since{top:inherit;font-family:"Fira Sans",Arial,sans-serif;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.1em;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);overflow-x:auto;display:block;}.docblock table td{padding:.5em;border:1px dashed;}.docblock table th{padding:.5em;text-align:left;border:1px solid;}.fields+table{margin-bottom:1em;}.content .item-list{list-style-type:none;padding:0;}.content .multi-column{-moz-column-count:5;-moz-column-gap:2.5em;-webkit-column-count:5;-webkit-column-gap:2.5em;column-count:5;column-gap:2.5em;}.content .multi-column li{width:100%;display:inline-block;}.content>.methods>.method{font-size:1em;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.8em;}.content .methods>div:not(.notable-traits):not(.method){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.content .docblock>.impl-items .table-display,.impl-items table td{border:none;}.content .item-info code{font-size:90%;}.content .item-info{position:relative;margin-left:33px;}.sub-variant>div>.item-info{margin-top:initial;}.content .item-info::before{content:'⬑';font-size:25px;position:absolute;top:-6px;left:-19px;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main>.item-info{margin-top:0;}nav:not(.sidebar){border-bottom:1px solid;padding-bottom:10px;margin-bottom:10px;}nav.main{padding:20px 0;text-align:center;}nav.main .current{border-top:1px solid;border-bottom:1px solid;}nav.main .separator{border:1px solid;display:inline-block;height:23px;margin:0 20px;}nav.sum{text-align:right;}nav.sub form{display:inline;}nav.sub,.content{margin-left:230px;}a{text-decoration:none;background:transparent;}.small-section-header{display:flex;justify-content:space-between;position:relative;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor,.method.trait-impl:hover>.anchor,.type.trait-impl:hover>.anchor,.associatedconstant.trait-impl:hover>.anchor,.associatedtype.trait-impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.anchor::before{content:'§';}.docblock a:not(.srclink):not(.test-arrow):hover,.docblock-short a:not(.srclink):not(.test-arrow):hover,.item-info a{text-decoration:underline;}.invisible>.srclink,.method>.code-header+.srclink{position:absolute;top:0;right:0;font-size:17px;font-weight:normal;}.block a.current.crate{font-weight:500;}.item-table{display:table;}.item-row{display:table-row;}.item-left,.item-right{display:table-cell;}.item-left{padding-right:1.2rem;}.search-container{position:relative;}.search-container>div{display:inline-flex;width:calc(100% - 63px);}#crate-search{min-width:115px;margin-top:5px;padding:6px;padding-right:19px;flex:none;border:0;border-right:0;border-radius:4px 0 0 4px;outline:none;cursor:pointer;border-right:1px solid;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;text-overflow:"";background-repeat:no-repeat;background-color:transparent;background-size:20px;background-position:calc(100% - 1px) 56%;}.search-container>.top-button{position:absolute;right:0;top:10px;}.search-input{-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:none;border-radius:1px;margin-top:5px;padding:10px 16px;font-size:17px;transition:border-color 300ms ease;transition:border-radius 300ms ease-in-out;transition:box-shadow 300ms ease-in-out;width:100%;}#crate-search+.search-input{border-radius:0 1px 1px 0;width:calc(100% - 32px);}.search-input:focus{border-radius:2px;border:0;outline:0;}.search-results{display:none;padding-bottom:2em;}.search-results.active{display:block;clear:both;}.search-results .desc>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results>a{display:block;width:100%;margin-left:2px;margin-right:2px;border-bottom:1px solid #aaa3;}.search-results>a>div{display:flex;flex-flow:row wrap;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:50%;}.search-results .result-name{padding-right:1em;}.search-results .result-name>span{display:inline-block;margin:0;font-weight:normal;}body.blur>:not(#help){filter:blur(8px);-webkit-filter:blur(8px);opacity:.7;}#help{width:100%;height:100vh;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;}#help>div{flex:0 0 auto;box-shadow:0 0 6px rgba(0,0,0,.2);width:550px;height:auto;border:1px solid;}#help dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:18px;}#help span.top{text-align:center;display:block;margin:10px 0;border-bottom:1px solid;padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid;}#help dd{margin:5px 35px;}#help .infos{padding-left:0;}#help h1,#help h2{margin-top:0;}#help>div div{width:50%;float:left;padding:0 20px 20px 17px;;}.item-info .stab{display:table;}.stab{padding:3px;margin-bottom:5px;font-size:90%;font-weight:normal;}.stab p{display:inline;}.stab .emoji{font-size:1.2em;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.module-item .stab,.import-item .stab{border-radius:3px;display:inline-block;font-size:80%;line-height:1.2;margin-bottom:0;margin-left:.3em;padding:2px;vertical-align:text-bottom;}.module-item.unstable,.import-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;}.impl-items .since,.impl .since,.methods .since{padding-left:12px;padding-right:2px;position:initial;}.impl-items .srclink,.impl .srclink,.methods .srclink{font-size:17px;font-weight:normal;}.rightside{float:right;}.has-srclink{font-size:16px;margin-bottom:12px;justify-content:space-between;}.variants_table{width:100%;}.variants_table tbody tr td:first-child{width:1%;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:130%;top:5px;right:5px;z-index:1;}a.test-arrow:hover{text-decoration:none;}.section-header:hover a:before{position:absolute;left:-25px;padding-right:10px;content:'\2002\00a7\2002';}.section-header:hover a{text-decoration:none;}.code-attribute{font-weight:300;}.since+.srclink{padding-left:10px;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:20px;margin-right:5px;}h3.variant{font-weight:600;font-size:1.1em;margin-bottom:10px;border-bottom:none;}.sub-variant h4{font-size:1em;font-weight:400;border-bottom:none;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}.top-doc .docblock>.section-header:first-child{margin-left:15px;}.top-doc .docblock>.section-header:first-child:hover>a:before{left:-10px;}.docblock>.section-header:first-child{margin-top:0;}:target>code,:target>.code-header{opacity:1;}:target{padding-right:3px;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:16px;}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:20px;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:16px;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .notable{margin:0;margin-bottom:13px;font-size:19px;font-weight:600;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:20px;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:18px;cursor:pointer;border:0;border-top:2px solid;}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:16px;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}#all-types{text-align:center;border:1px solid;margin:0 10px;margin-bottom:10px;display:block;border-radius:7px;}#all-types>p{margin:5px 0;}#sidebar-toggle{position:fixed;top:30px;left:300px;z-index:10;padding:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;transition:left .5s;font-size:1.2em;border:1px solid;border-left:0;}#source-sidebar{position:fixed;top:0;bottom:0;left:0;width:300px;z-index:1;overflow:auto;transition:left .5s;border-right:1px solid;}#source-sidebar>.title{font-size:1.5em;text-align:center;border-bottom:1px solid;margin-bottom:6px;}.theme-picker{position:absolute;left:211px;top:19px;}.theme-picker button{outline:none;}#settings-menu,#help-button{position:absolute;top:10px;}#settings-menu{right:0;outline:none;}#theme-picker,#settings-menu,#help-button,#copy-path{padding:4px;width:27px;height:29px;border:1px solid;border-radius:3px;cursor:pointer;}#help-button{right:30px;font-family:"Fira Sans",Arial,sans-serif;text-align:center;font-size:17px;padding-top:2px;}#copy-path{background:initial;margin-left:10px;padding:0;padding-left:2px;border:0;}#theme-choices{display:none;position:absolute;left:0;top:28px;border:1px solid;border-radius:3px;z-index:1;cursor:pointer;}#theme-choices>button{border:none;width:100%;padding:4px 8px;text-align:center;background:rgba(0,0,0,0);}#theme-choices>button:not(:first-child){border-top:1px solid;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px;border-radius:3px;box-shadow:inset 0 -1px 0;cursor:default;}.hidden-by-impl-hider,.hidden-by-usual-hider{display:none !important;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:16px;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:19px;display:block;}#implementors-list>.impl-items .table-display .out-of-band{font-size:17px;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main>ul{padding-left:10px;}#main>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}div.children{padding-left:27px;display:none;}div.name{cursor:pointer;position:relative;margin-left:16px;}div.files>a{display:block;padding:0 3px;}div.files>a:hover,div.name:hover{background-color:#a14b4b;}div.name.expand+.children{display:block;}div.name::before{content:"\25B6";padding-left:4px;font-size:0.7em;position:absolute;left:-16px;top:4px;}div.name.expand::before{transform:rotate(90deg);left:-15px;top:2px;}details.rustdoc-toggle>summary.hideme{cursor:pointer;}details.rustdoc-toggle>summary{list-style:none;}details.rustdoc-toggle>summary::-webkit-details-marker,details.rustdoc-toggle>summary::marker{display:none;}details.rustdoc-toggle>summary.hideme>span{margin-left:9px;}details.rustdoc-toggle>summary::before{content:"";cursor:pointer;width:17px;height:max(17px,1.1em);background-repeat:no-repeat;background-position:top left;display:inline-block;vertical-align:middle;opacity:.5;}details.rustdoc-toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.rustdoc-toggle>summary.hideme::after{content:"";}details.rustdoc-toggle>summary:focus::before,details.rustdoc-toggle>summary:hover::before{opacity:1;}details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before{font-family:'Fira Sans';font-size:16px;}details.non-exhaustive{margin-bottom:8px;}details.rustdoc-toggle>summary.hideme::before{position:relative;}details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:3px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.rustdoc-toggle[open] >summary.hideme{position:absolute;}details.rustdoc-toggle{position:relative;}details.rustdoc-toggle[open] >summary.hideme>span{display:none;}details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{width:17px;height:max(17px,1.1em);background-repeat:no-repeat;background-position:top left;display:inline-block;content:"";}details.rustdoc-toggle[open] >summary::after,details.rustdoc-toggle[open] >summary.hideme::after{content:"Collapse";}@media (min-width:701px){.docblock>.information:first-child>.tooltip{margin-top:16px;}}@media (max-width:700px){body{padding-top:0px;}.rustdoc>.sidebar{height:45px;min-height:40px;margin:0;margin-left:-15px;padding:0 15px;position:static;z-index:11;}.sidebar>.location{float:right;margin:0px;margin-top:2px;padding:3px 10px 1px 10px;min-height:39px;background:inherit;text-align:left;font-size:24px;}.sidebar .location:empty{padding:0;}.sidebar .logo-container{width:35px;height:35px;margin-top:5px;margin-bottom:5px;float:left;margin-left:50px;}.sidebar .logo-container>img{max-width:35px;max-height:35px;}.sidebar-menu{position:fixed;z-index:10;font-size:2rem;cursor:pointer;width:45px;left:0;text-align:center;display:block;border-bottom:1px solid;border-right:1px solid;height:45px;}.rustdoc.source>.sidebar>.sidebar-menu{display:none;}.sidebar-elems{position:fixed;z-index:1;top:45px;bottom:0;width:246px;left:-246px;overflow-y:auto;border-right:1px solid;}.sidebar>.block.version{overflow:hidden;border-bottom:none;margin-bottom:0;height:100%;padding-left:12px;}.sidebar>.block.version>div.narrow-helper{float:left;width:1px;height:100%;}.sidebar>.block.version>p{margin:0;min-width:55px;display:flex;align-items:center;height:100%;}nav.sub{width:calc(100% - 32px);float:right;}.content{margin-left:0px;}#main,#search{margin-top:45px;padding:0;}#search{margin-left:0;}.anchor{display:none !important;}.theme-picker{left:10px;top:54px;z-index:1;}.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}.sidebar.mobile{position:fixed;width:100%;margin-left:0;background-color:rgba(0,0,0,0);height:100%;}.sidebar.mobile>div.version{overflow:hidden;max-height:33px;}.sidebar{width:calc(100% + 30px);}.show-it,.sidebar-elems:focus-within{z-index:2;left:0;}.show-it>.block.items{margin:8px 0;}.show-it>.block.items>ul{margin:0;}.show-it>.block.items>ul>li{text-align:center;margin:2px 0;}.show-it>.block.items>ul>li>a{font-size:21px;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}#main>details.rustdoc-toggle>summary::before,#main>div>details.rustdoc-toggle>summary::before{left:-11px;}#all-types{margin:10px;}#sidebar-toggle{top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;}#source-sidebar{z-index:11;}#main>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}#help-button{display:none;}.item-table{display:block;}.item-row{display:flex;flex-flow:column wrap;}.item-left,.item-right{width:100%;}.search-container>div{width:calc(100% - 32px);}.search-results>a{border-bottom:1px solid #aaa9;padding:5px 0px;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:100%;}.search-results div.desc,.search-results .result-description,.item-right{padding-left:2em;}}@media print{nav.sub,.content .out-of-band{display:none;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main,#search{margin-top:100px;}#main>table:not(.table-display) td{word-break:break-word;width:50%;}.search-container>div{display:block;width:calc(100% - 37px);}#crate-search{width:100%;border-radius:4px;border:0;}#crate-search+.search-input{width:calc(100% + 71px);margin-left:-36px;}#theme-picker,#settings-menu{padding:5px;width:31px;height:31px;}#theme-picker{margin-top:-2px;}#settings-menu{top:7px;}.docblock{margin-left:12px;}.docblock code{overflow-wrap:anywhere;}}.scraped-example-title{font-family:'Fira Sans';}.scraped-example:not(.expanded) .code-wrapper pre.line-numbers{overflow:hidden;max-height:240px;}.scraped-example:not(.expanded) .code-wrapper .example-wrap pre.rust{overflow-y:hidden;max-height:240px;padding-bottom:0;}.scraped-example .code-wrapper .prev{position:absolute;top:0.25em;right:2.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .next{position:absolute;top:0.25em;right:1.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .expand{position:absolute;top:0.25em;right:0.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper:before{content:" ";width:100%;height:5px;position:absolute;z-index:100;top:0;background:linear-gradient(to bottom,rgba(255,255,255,1),rgba(255,255,255,0));}.scraped-example:not(.expanded) .code-wrapper:after{content:" ";width:100%;height:5px;position:absolute;z-index:100;bottom:0;background:linear-gradient(to top,rgba(255,255,255,1),rgba(255,255,255,0));}.scraped-example:not(.expanded) .code-wrapper{overflow:hidden;max-height:240px;}.scraped-example .code-wrapper .line-numbers{margin:0;padding:14px 0;}.scraped-example .code-wrapper .line-numbers span{padding:0 14px;}.scraped-example .code-wrapper .example-wrap{flex:1;overflow-x:auto;overflow-y:hidden;margin-bottom:0;}.scraped-example .code-wrapper .example-wrap pre.rust{overflow-x:inherit;width:inherit;overflow-y:hidden;}.scraped-example .example-wrap .rust span.highlight{background:#fcffd6;}.scraped-example .example-wrap .rust span.highlight.focus{background:#f6fdb0;}.more-examples-toggle{margin-top:10px;}.more-examples-toggle summary{color:#999;font-family:'Fira Sans';}.more-scraped-examples{margin-left:25px;display:flex;flex-direction:row;width:calc(100% - 25px);}.more-scraped-examples-inner{width:calc(100% - 20px);}.toggle-line{align-self:stretch;margin-right:10px;margin-top:5px;padding:0 4px;cursor:pointer;}.toggle-line:hover .toggle-line-inner{background:#aaa;}.toggle-line-inner{min-width:2px;background:#ddd;height:100%;}.more-scraped-examples .scraped-example{margin-bottom:20px;}.more-scraped-examples .scraped-example:last-child{margin-bottom:0;}.example-links a{margin-top:20px;font-family:'Fira Sans';}.example-links ul{margin-bottom:0;}details.undocumented[open] >summary::before,details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{background-image:url(toggle-minus.svg);}details.undocumented>summary::before,details.rustdoc-toggle>summary::before{background-image:url(toggle-plus.svg);} \ No newline at end of file + @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2"),url("FiraSans-Regular.woff") format('woff');font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2"),url("FiraSans-Medium.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular.ttf.woff2") format("woff2"),url("SourceSerif4-Regular.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It.ttf.woff2") format("woff2"),url("SourceSerif4-It.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold.ttf.woff2") format("woff2"),url("SourceSerif4-Bold.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.ttf.woff2") format("woff2"),url("SourceCodePro-Regular.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It.ttf.woff2") format("woff2"),url("SourceCodePro-It.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.ttf.woff2") format("woff2"),url("SourceCodePro-Semibold.ttf.woff") format("woff");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic.ttf.woff2") format("woff2"),url("NanumBarunGothic.ttf.woff") format("woff");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:1rem/1.4 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";}h1{font-size:1.5rem;}h2{font-size:1.4rem;}h3{font-size:1.3rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:20px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}h1.fqn{display:flex;border-bottom:1px dashed;margin-top:0;padding-left:1px;}h1.fqn>.in-band>a:hover{text-decoration:underline;}h2,.top-doc h3,.top-doc h4,.sidebar .others h3{border-bottom:1px solid;}h3.code-header{font-size:1.1rem;}h4.code-header{font-size:1rem;}h3.code-header,h4.code-header{font-weight:600;border-bottom-style:none;padding:0;margin:0;}.impl,.impl-items .method,.methods .method,.impl-items .type,.methods .type,.impl-items .associatedconstant,.methods .associatedconstant,.impl-items .associatedtype,.methods .associatedtype{flex-basis:100%;font-weight:600;margin-top:16px;margin-bottom:10px;position:relative;}div.impl-items>div{padding-left:0;}h1,h2,h3,h4,h5,h6,.sidebar,a.source,.search-input,.search-results .result-name,.content table td:first-child>a,.item-left>a,div.item-list .out-of-band,span.since,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,div.impl-items>div:not(.docblock):not(.item-info),.content ul.crate a.crate,a.srclink,#main-content>ul.docblock>li>a{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}.content ul.crate a.crate{font-size:1rem/1.6;}ol,ul{padding-left:25px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.6em;}p{margin:0 0 .6em 0;}summary{outline:none;}td,th{padding:0;}table{border-collapse:collapse;}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.source main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}.source .width-limiter{max-width:unset;}details:not(.rustdoc-toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.1em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;}.docblock.item-decl{margin-left:0;}.item-decl pre{overflow-x:auto;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{max-width:none;overflow:visible;margin-left:0px;}nav.sub{position:relative;font-size:1rem;text-transform:uppercase;}.sub-container{display:flex;flex-direction:row;flex-wrap:nowrap;}.sub-logo-container{display:none;margin-right:20px;}.source .sub-logo-container{display:block;}.source .sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.sidebar{width:200px;overflow-y:scroll;position:sticky;min-width:200px;height:100vh;top:0;left:0;}.rustdoc.source .sidebar{width:50px;min-width:0px;max-width:300px;flex-grow:0;flex-shrink:0;flex-basis:auto;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.source .sidebar>*:not(:first-child){transition:opacity 0.5s,visibility 0.2s;opacity:0;visibility:hidden;}.source .sidebar.expanded{overflow-y:auto;}.source .sidebar.expanded>*{opacity:1;visibility:visible;}*{scrollbar-width:initial;}.sidebar{scrollbar-width:thin;}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;}.sidebar .block>ul>li{margin-right:-10px;}.hidden{display:none !important;}.logo-container{display:flex;margin-top:10px;margin-bottom:10px;justify-content:center;}.logo-container>img{height:100px;width:100px;}.sidebar .location{border:1px solid;font-size:1.0625rem;margin:30px 10px 20px 10px;text-align:center;word-wrap:break-word;font-weight:inherit;padding:0;}.sidebar .version{font-size:0.9375rem;text-align:center;border-bottom:1px solid;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;}.location:empty{border:none;}.location a:first-of-type{font-weight:500;}.location a:hover{text-decoration:underline;}.block{padding:0;margin-bottom:14px;}.block h2,.block h3{text-align:center;}.block ul,.block li{margin:0 10px;padding:0;list-style:none;}.block a{display:block;text-overflow:ellipsis;overflow:hidden;line-height:15px;padding:7px 5px;font-size:0.875rem;font-weight:300;transition:border 500ms ease-out;}.sidebar-title{border-top:1px solid;border-bottom:1px solid;text-align:center;font-size:1.0625rem;margin-bottom:5px;font-weight:inherit;padding:0;}.sidebar-links{margin-bottom:15px;}.sidebar-links>a{padding-left:10px;width:100%;}.sidebar-menu{display:none;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc .example-wrap{display:inline-flex;margin-bottom:10px;}.example-wrap{position:relative;width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;padding:13px 8px;text-align:right;border-top-left-radius:5px;border-bottom-left-radius:5px;}.example-wrap>pre.rust a:hover{text-decoration:underline;}.rustdoc:not(.source) .example-wrap>pre:not(.line-number){width:100%;overflow-x:auto;}.rustdoc:not(.source) .example-wrap>pre.line-numbers{width:auto;overflow-x:visible;}.rustdoc .example-wrap>pre{margin:0;}#search{position:relative;}.search-loading{text-align:center;}#results>table{width:100%;table-layout:fixed;}.content>.example-wrap pre.line-numbers{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:anywhere;}.docblock-short p{display:inline;}.docblock-short p{overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock>:not(pre)>code,.docblock-short>:not(pre)>code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.3rem;}.top-doc .docblock h3{font-size:1.15rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.1rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.95rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.information){max-width:100%;overflow-x:auto;}.content .out-of-band{flex-grow:0;text-align:right;font-size:1.4375rem;margin:0px;padding:0 0 0 12px;font-weight:normal;}.method>.code-header,.trait-impl>.code-header,.invisible>.code-header{max-width:calc(100% - 41px);display:block;}.invisible{width:100%;display:inline-block;}.content .in-band{flex-grow:1;margin:0px;padding:0px;overflow-wrap:anywhere;}.in-band>code,.in-band>.code-header{display:inline-block;}#main-content{position:relative;}#main-content>.since{top:inherit;font-family:"Fira Sans",Arial,sans-serif;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.1rem;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);overflow-x:auto;display:block;}.docblock table td{padding:.5em;border:1px dashed;}.docblock table th{padding:.5em;text-align:left;border:1px solid;}.fields+table{margin-bottom:1em;}.content .item-list{list-style-type:none;padding:0;}.content .multi-column{-moz-column-count:5;-moz-column-gap:2.5em;-webkit-column-count:5;-webkit-column-gap:2.5em;column-count:5;column-gap:2.5em;}.content .multi-column li{width:100%;display:inline-block;}.content>.methods>.method{font-size:1rem;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.8rem;}.content .methods>div:not(.notable-traits):not(.method){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.content .docblock>.impl-items .table-display,.impl-items table td{border:none;}.content .item-info code{font-size:0.81rem;}.content .item-info{position:relative;margin-left:33px;}.sub-variant>div>.item-info{margin-top:initial;}.content .item-info::before{content:'⬑';font-size:1.5625rem;position:absolute;top:-6px;left:-19px;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main-content>.item-info{margin-top:0;}nav:not(.sidebar){flex-grow:1;border-bottom:1px solid;padding-bottom:10px;margin-bottom:25px;}.source nav:not(.sidebar).sub{margin-left:32px;}nav.main{padding:20px 0;text-align:center;}nav.main .current{border-top:1px solid;border-bottom:1px solid;}nav.main .separator{border:1px solid;display:inline-block;height:23px;margin:0 20px;}nav.sum{text-align:right;}nav.sub form{display:inline;}a{text-decoration:none;background:transparent;}.small-section-header{display:flex;justify-content:space-between;position:relative;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor,.method.trait-impl:hover>.anchor,.type.trait-impl:hover>.anchor,.associatedconstant.trait-impl:hover>.anchor,.associatedtype.trait-impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.anchor::before{content:'§';}.docblock a:not(.srclink):not(.test-arrow):hover,.docblock-short a:not(.srclink):not(.test-arrow):hover,.item-info a{text-decoration:underline;}.invisible>.srclink,.method>.code-header+.srclink{position:absolute;top:0;right:0;font-size:1.0625rem;font-weight:normal;}.block a.current.crate{font-weight:500;}.item-table{display:table;}.item-row{display:table-row;}.item-left,.item-right{display:table-cell;}.item-left{padding-right:1.2rem;}.search-container{position:relative;max-width:960px;}.search-container>div{display:inline-flex;width:calc(100% - 63px);}#crate-search{min-width:115px;margin-top:5px;padding:6px;padding-right:19px;flex:none;border:0;border-right:0;border-radius:4px 0 0 4px;outline:none;cursor:pointer;border-right:1px solid;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;text-overflow:"";background-repeat:no-repeat;background-color:transparent;background-size:20px;background-position:calc(100% - 1px) 56%;background-image:url("down-arrow.svg");}.search-container>.top-button{position:absolute;right:0;top:10px;}.search-input{-webkit-appearance:none;-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:none;border-radius:1px;margin-top:5px;padding:10px 16px;font-size:1.0625rem;transition:border-color 300ms ease;transition:border-radius 300ms ease-in-out;transition:box-shadow 300ms ease-in-out;width:100%;}#crate-search+.search-input{border-radius:0 1px 1px 0;width:calc(100% - 32px);}.search-input:focus{border-radius:2px;border:0;outline:0;}.search-results{display:none;padding-bottom:2em;}.search-results.active{display:block;clear:both;}.search-results .desc>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results>a{display:block;width:100%;margin-left:2px;margin-right:2px;border-bottom:1px solid #aaa3;}.search-results>a>div{display:flex;flex-flow:row wrap;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:50%;}.search-results .result-name{padding-right:1em;}.search-results .result-name>span{display:inline-block;margin:0;font-weight:normal;}body.blur>:not(#help){filter:blur(8px);-webkit-filter:blur(8px);opacity:.7;}#help{width:100%;height:100vh;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;}#help>div{flex:0 0 auto;box-shadow:0 0 6px rgba(0,0,0,.2);width:550px;height:auto;border:1px solid;}#help dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{text-align:center;display:block;margin:10px 0;border-bottom:1px solid;padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid;}#help dd{margin:5px 35px;}#help .infos{padding-left:0;}#help h1,#help h2{margin-top:0;}#help>div div{width:50%;float:left;padding:0 20px 20px 17px;;}.item-info .stab{display:table;}.stab{padding:3px;margin-bottom:5px;font-size:0.9rem;font-weight:normal;}.stab p{display:inline;}.stab .emoji{font-size:1.2rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.module-item .stab,.import-item .stab{border-radius:3px;display:inline-block;font-size:0.8rem;line-height:1.2;margin-bottom:0;margin-left:.3em;padding:2px;vertical-align:text-bottom;}.module-item.unstable,.import-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;}.impl-items .since,.impl .since,.methods .since{padding-left:12px;padding-right:2px;position:initial;}.impl-items .srclink,.impl .srclink,.methods .srclink{font-weight:normal;font-size:1rem;}.impl .srclink{font-size:1.0625rem;}.rightside{float:right;}.has-srclink{font-size:1rem;margin-bottom:12px;justify-content:space-between;}.variants_table{width:100%;}.variants_table tbody tr td:first-child{width:1%;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.3rem;top:5px;right:5px;z-index:1;}.example-wrap:hover .test-arrow{visibility:visible;}a.test-arrow:hover{text-decoration:none;}.section-header:hover a:before{position:absolute;left:-25px;padding-right:10px;content:'\2002\00a7\2002';}.section-header:hover a{text-decoration:none;}.code-attribute{font-weight:300;}.since+.srclink{padding-left:10px;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:1.25rem;margin-right:5px;}h3.variant{font-weight:600;font-size:1.1rem;margin-bottom:10px;border-bottom:none;}.sub-variant h4{font-size:1rem;font-weight:400;border-bottom:none;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}.top-doc .docblock>.section-header:first-child{margin-left:15px;}.top-doc .docblock>.section-header:first-child:hover>a:before{left:-10px;}.docblock>.section-header:first-child{margin-top:0;}:target>code,:target>.code-header{opacity:1;}:target{padding-right:3px;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:1rem;}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:1.25rem;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:1rem;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .notable{margin:0;margin-bottom:13px;font-size:1.1875rem;font-weight:600;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:1.25rem;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:1.125rem;cursor:pointer;border:0;border-top:2px solid;}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:1rem;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}#all-types{text-align:center;border:1px solid;margin:0 10px;margin-bottom:10px;display:block;border-radius:7px;}#all-types>p{margin:5px 0;}#sidebar-toggle{position:sticky;top:0;left:0;cursor:pointer;font-weight:bold;font-size:1.2rem;border-bottom:1px solid;display:flex;height:40px;justify-content:center;align-items:center;z-index:10;}#source-sidebar{width:100%;z-index:1;overflow:auto;}#source-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid;margin-bottom:6px;}.theme-picker{position:absolute;left:-34px;top:9px;}.theme-picker button{outline:none;}#settings-menu,#help-button{position:absolute;top:10px;}#settings-menu{right:0;outline:none;}#theme-picker,#settings-menu,#help-button,#copy-path{padding:4px;font-size:16px;width:27px;height:29px;border:1px solid;border-radius:3px;cursor:pointer;}#help-button{right:30px;font-family:"Fira Sans",Arial,sans-serif;text-align:center;font-size:16px;padding-top:2px;}#copy-path{background:initial;margin-left:10px;padding:0;padding-left:2px;border:0;}#theme-choices{display:none;position:absolute;left:0;top:28px;border:1px solid;border-radius:3px;z-index:1;cursor:pointer;}#theme-choices>button{border:none;width:100%;padding:4px 8px;text-align:center;background:rgba(0,0,0,0);}#theme-choices>button:not(:first-child){border-top:1px solid;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px;border-radius:3px;box-shadow:inset 0 -1px 0;cursor:default;}.hidden-by-impl-hider,.hidden-by-usual-hider{display:none !important;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:1rem;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:1.1875rem;display:block;}#implementors-list>.impl-items .table-display .out-of-band{font-size:1.0625rem;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main-content>ul{padding-left:10px;}#main-content>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}div.children{padding-left:27px;display:none;}div.name{cursor:pointer;position:relative;margin-left:16px;}div.files>a{display:block;padding:0 3px;}div.files>a:hover,div.name:hover{background-color:#a14b4b;}div.name.expand+.children{display:block;}div.name::before{content:"\25B6";padding-left:4px;font-size:0.7rem;position:absolute;left:-16px;top:4px;}div.name.expand::before{transform:rotate(90deg);left:-15px;top:2px;}details.rustdoc-toggle>summary.hideme{cursor:pointer;}details.rustdoc-toggle>summary{list-style:none;}details.rustdoc-toggle>summary::-webkit-details-marker,details.rustdoc-toggle>summary::marker{display:none;}details.rustdoc-toggle>summary.hideme>span{margin-left:9px;}details.rustdoc-toggle>summary::before{content:"";cursor:pointer;width:17px;height:max(17px,1.1em);background-repeat:no-repeat;background-position:top left;display:inline-block;vertical-align:middle;opacity:.5;}details.rustdoc-toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.rustdoc-toggle>summary.hideme::after{content:"";}details.rustdoc-toggle>summary:focus::before,details.rustdoc-toggle>summary:hover::before{opacity:1;}details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before{font-family:'Fira Sans';font-size:1rem;}details.non-exhaustive{margin-bottom:8px;}details.rustdoc-toggle>summary.hideme::before{position:relative;}details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:3px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.rustdoc-toggle[open] >summary.hideme{position:absolute;}details.rustdoc-toggle{position:relative;}details.rustdoc-toggle[open] >summary.hideme>span{display:none;}details.undocumented[open] >summary::before,details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{background-image:url("toggle-minus.svg");}details.undocumented>summary::before,details.rustdoc-toggle>summary::before{background-image:url("toggle-plus.svg");}details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{width:17px;height:max(17px,1.1em);background-repeat:no-repeat;background-position:top left;display:inline-block;content:"";}details.rustdoc-toggle[open] >summary::after,details.rustdoc-toggle[open] >summary.hideme::after{content:"Collapse";}@media (min-width:701px){.docblock>.information:first-child>.tooltip{margin-top:16px;}.sidebar.expanded+main .width-limiter .sub-logo-container.rust-logo{display:none;}.rustdoc.source .sidebar{transition:width .5s;}.source .sidebar.expanded{width:300px;}}@media (max-width:700px){body{padding-top:0px;}main{padding-left:15px;padding-top:0px;}.rustdoc{flex-direction:column;}.rustdoc:not(.source)>.sidebar{width:100%;height:45px;min-height:40px;max-height:45px;margin:0;padding:0 15px;position:static;z-index:11;overflow-y:hidden;}.rustdoc.source>.sidebar{position:fixed;top:0;left:0;margin:0;z-index:11;width:0;}.sidebar.mobile{position:sticky !important;top:0;left:0;width:100%;margin-left:0;background-color:rgba(0,0,0,0);}.sidebar>.location{float:right;margin:0px;margin-top:2px;padding:3px 10px 1px 10px;min-height:39px;background:inherit;text-align:left;font-size:1.5rem;}.sidebar .location:empty{padding:0;}.rustdoc:not(.source) .sidebar .logo-container{width:35px;height:35px;margin-top:5px;margin-bottom:5px;float:left;margin-left:50px;}.sidebar .logo-container>img{max-width:35px;max-height:35px;}.sidebar-menu{position:fixed;z-index:10;font-size:2rem;cursor:pointer;width:45px;left:0;top:0;text-align:center;display:block;border-bottom:1px solid;border-right:1px solid;height:45px;}.rustdoc.source>.sidebar>.sidebar-menu{display:none;}.sidebar-elems{position:fixed;z-index:1;top:45px;bottom:0;width:246px;left:-246px;overflow-y:auto;border-right:1px solid;}.sidebar>.block.version{overflow:hidden;border-bottom:none;margin-bottom:0;height:100%;padding-left:12px;}.sidebar>.block.version>div.narrow-helper{float:left;width:1px;height:100%;}.sidebar>.block.version>p{margin:0;min-width:55px;display:flex;align-items:center;height:100%;}nav.sub{width:calc(100% - 32px);margin-left:32px;margin-bottom:10px;}.source nav:not(.sidebar).sub{margin-left:32px;}.content{margin-left:0px;}.source .content{margin-top:10px;}#search{margin-left:0;padding:0;}.anchor{display:none !important;}.theme-picker{z-index:1;}.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}.show-it,.sidebar-elems:focus-within{z-index:2;left:0;}.show-it>.block.items{margin:8px 0;}.show-it>.block.items>ul{margin:0;}.show-it>.block.items>ul>li{text-align:center;margin:2px 0;}.show-it>.block.items>ul>li>a{font-size:1.3125rem;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}#main-content>details.rustdoc-toggle>summary::before,#main-content>div>details.rustdoc-toggle>summary::before{left:-11px;}#all-types{margin:10px;}.sidebar.expanded #sidebar-toggle{font-size:1.5rem;}.sidebar:not(.expanded) #sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;border:1px solid;border-left:0;}#source-sidebar{z-index:11;}#main-content>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}#help-button{display:none;}.item-table{display:block;}.item-row{display:flex;flex-flow:column wrap;}.item-left,.item-right{width:100%;}.search-container>div{width:calc(100% - 32px);}.search-results>a{border-bottom:1px solid #aaa9;padding:5px 0px;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:100%;}.search-results div.desc,.search-results .result-description,.item-right{padding-left:2em;}.source .sidebar.expanded{max-width:100vw;width:100vw;}details.rustdoc-toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before,#main-content>details.rustdoc-toggle:not(.top-doc)>summary::before,#main-content>div>details.rustdoc-toggle>summary::before{left:-11px;}}@media print{nav.sub,.content .out-of-band{display:none;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main-content>table:not(.table-display) td{word-break:break-word;width:50%;}.search-container>div{display:block;width:calc(100% - 37px);}#crate-search{width:100%;border-radius:4px;border:0;}#crate-search+.search-input{width:calc(100% + 71px);margin-left:-36px;}#theme-picker,#settings-menu{padding:5px;width:31px;height:31px;}#theme-picker{margin-top:-2px;}#settings-menu{top:7px;}.docblock{margin-left:12px;}.docblock code{overflow-wrap:anywhere;}.sub-container{flex-direction:column;}.sub-logo-container{align-self:center;}.source .sub-logo-container>img{height:35px;width:35px;}.sidebar:not(.expanded) #sidebar-toggle{top:10px;}}.scraped-example-title{font-family:'Fira Sans';}.scraped-example:not(.expanded) .code-wrapper pre.line-numbers{overflow:hidden;max-height:240px;}.scraped-example:not(.expanded) .code-wrapper .example-wrap pre.rust{overflow-y:hidden;max-height:240px;padding-bottom:0;}.scraped-example .code-wrapper .prev{position:absolute;top:0.25em;right:2.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .next{position:absolute;top:0.25em;right:1.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .expand{position:absolute;top:0.25em;right:0.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper:before{content:" ";width:100%;height:5px;position:absolute;z-index:100;top:0;background:linear-gradient(to bottom,rgba(255,255,255,1),rgba(255,255,255,0));}.scraped-example:not(.expanded) .code-wrapper:after{content:" ";width:100%;height:5px;position:absolute;z-index:100;bottom:0;background:linear-gradient(to top,rgba(255,255,255,1),rgba(255,255,255,0));}.scraped-example:not(.expanded) .code-wrapper{overflow:hidden;max-height:240px;}.scraped-example .code-wrapper .line-numbers{margin:0;padding:14px 0;}.scraped-example .code-wrapper .line-numbers span{padding:0 14px;}.scraped-example .code-wrapper .example-wrap{flex:1;overflow-x:auto;overflow-y:hidden;margin-bottom:0;}.scraped-example .code-wrapper .example-wrap pre.rust{overflow-x:inherit;width:inherit;overflow-y:hidden;}.scraped-example .example-wrap .rust span.highlight{background:#fcffd6;}.scraped-example .example-wrap .rust span.highlight.focus{background:#f6fdb0;}.more-examples-toggle{margin-top:10px;}.more-examples-toggle summary{color:#999;font-family:'Fira Sans';}.more-scraped-examples{margin-left:25px;display:flex;flex-direction:row;width:calc(100% - 25px);}.more-scraped-examples-inner{width:calc(100% - 20px);}.toggle-line{align-self:stretch;margin-right:10px;margin-top:5px;padding:0 4px;cursor:pointer;}.toggle-line:hover .toggle-line-inner{background:#aaa;}.toggle-line-inner{min-width:2px;background:#ddd;height:100%;}.more-scraped-examples .scraped-example{margin-bottom:20px;}.more-scraped-examples .scraped-example:last-child{margin-bottom:0;}.example-links a{margin-top:20px;font-family:'Fira Sans';}.example-links ul{margin-bottom:0;} \ No newline at end of file diff --git a/search-index.js b/search-index.js index 9ec9cdc..6e50902 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,12,11,11,5,0,12,0,0,12,0,12,11,11,11,11,6,3,17,3,3,3,3,17,6,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,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,12,12,11,11,11,11,11,11,11,11,11,11,0,11,0,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,12,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,11,11,11,11,11,11,6,6,3,3,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,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,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,11,11,11,11,11,12,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,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,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,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,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,6,6,3,3,6,6,17,17,3,3,17,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,11,12,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,12,12,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,11,11,3,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,3,11,11,11,11,11,11,11,11,11,11,3,12,12,11,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,11,11,11,11,3,12,11,11,12,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","gists","init","into","main","meta","posts","proxy","routes","server","settings","source_code","try_from","try_into","type_id","vzip","AppData","Data","GIST_CACHE_VERSION","GetPost","GetPostLight","GistContent","GistFile","POST_CACHE_VERSION","PostResp","PostUrl","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_query","build_query","cache","client","clone","clone","clone","clone_into","clone_into","clone_into","content","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","drop","drop","file_name","files","fmt","from","from","from","from","from","from","get_gist","get_gist_id","get_html_content","get_post","get_post","get_post_light","get_post_light","gists","html_url","init","init","init","init","init","init","into","into","into","into","into","into","language","migrate","new","posts","raw_url","serialize","serialize","slug","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","username","vzip","vzip","vzip","vzip","vzip","vzip","Boolean","Float","GetPostPost","GetPostPostContent","GetPostPostContentBodyModel","GetPostPostContentBodyModelParagraphs","GetPostPostContentBodyModelParagraphsIframe","GetPostPostContentBodyModelParagraphsIframeMediaResource","GetPostPostContentBodyModelParagraphsMarkups","GetPostPostContentBodyModelParagraphsMetadata","GetPostPostCreator","GetPostPostPreviewContent","GetPostPostPreviewImage","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","borrow","borrow_mut","borrow_mut","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","clone","clone_into","clone_into","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","deref","deref_mut","deref_mut","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","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","end","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","get_subtitle","href","href","href","id","id","id","id","iframe","iframe_height","iframe_src","iframe_width","image_id","init","init","init","init","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into","into","into","into","layout","markups","media_resource","metadata","name","original_height","original_width","paragraphs","post","preview_content","preview_image","reading_time","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","start","subtitle","text","title","title","to_owned","to_owned","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_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","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","type_id","type_id","unique_slug","user_id","username","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Boolean","Float","GetPostLightPost","GetPostLightPostCreator","ID","Int","OPERATION_NAME","QUERY","ResponseData","Variables","__QUERY_WORKAROUND","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","creator","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","drop","drop","drop","drop","fmt","fmt","fmt","from","from","from","from","id","init","init","init","init","into","into","into","into","post","serialize","serialize","serialize","serialize","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","unique_slug","username","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","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","by_post_id","data","date","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","from","from","from","from","from","gists","id","index","init","init","init","init","init","into","into","into","into","into","page","preview_img","reading_time","register","register","register","register","render_once","render_once_to","routes","services","slice","substring","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","Proxy","asset","borrow","borrow_mut","by_post_id","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::data::get_post_light","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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,2,1,1,0,0,2,0,0,3,0,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,2,4,5,6,7,8,2,4,5,6,7,8,4,7,2,2,2,6,8,2,6,8,6,2,4,5,6,7,8,2,4,5,6,7,8,5,6,2,4,5,6,7,8,6,5,8,2,4,5,6,7,8,2,2,6,0,2,0,2,2,5,2,4,5,6,7,8,2,4,5,6,7,8,6,2,2,2,6,5,6,8,2,6,8,2,4,5,6,7,8,2,4,5,6,7,8,2,4,5,6,7,8,8,2,4,5,6,7,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,10,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,19,19,19,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,21,9,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,21,19,12,9,14,11,17,18,21,14,12,12,12,18,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,14,14,13,14,18,11,11,15,20,19,19,19,11,12,13,9,14,15,10,16,17,18,19,20,21,9,16,14,9,19,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,9,14,11,12,13,9,14,15,10,16,17,18,19,20,21,19,9,18,11,12,13,9,14,15,10,16,17,18,19,20,21,0,0,0,0,0,0,0,0,0,0,0,22,23,24,25,22,23,24,25,22,23,24,22,23,24,23,22,23,24,25,22,23,24,25,22,23,24,22,23,24,25,22,23,24,22,23,24,25,25,22,23,24,25,22,23,24,25,24,22,23,24,25,22,23,24,22,23,24,25,22,23,24,25,22,23,24,25,23,22,22,23,24,25,0,26,27,26,27,0,26,26,26,27,26,27,26,26,27,26,26,27,26,26,27,26,27,27,0,26,0,26,26,27,26,27,26,27,26,26,27,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,0,0,0,0,0,29,30,31,32,33,29,30,31,32,33,0,29,29,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,29,29,0,29,30,31,32,33,29,30,31,32,33,0,29,29,30,31,32,33,29,29,0,0,34,34,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,0,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,0,0,36,36,36,36,36,36,36,36,36,36,36,0,36,36,36,36,0,0,37,3,37,3,3,0,37,3,37,3,3,37,3,37,3,37,3,37,37,3,37,3,37,3,37,37,3,37,3,37,3,37,37,3,3,37,3,37,3,37,3,37,3,37,3,37],"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]],null,[[],["usize",15]],[[]],[[],["result",6]],null,null,null,null,null,null,null,[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["querybody",3]],[[],["querybody",3]],null,null,[[],["data",3]],[[],["gistfile",3]],[[],["posturl",3]],[[]],[[]],[[]],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]]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,null,[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[["string",3]]],[[["str",15]],["str",15]],[[],["string",3]],null,[[["str",15]]],null,[[["str",15]]],null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[]],[[],["appdata",6]],null,null,[[],["result",4]],[[],["result",4]],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]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,[[]],[[]],[[]],[[]],[[]],[[]],null,null,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]],[[],["getpostpostpreviewcontent",3]],[[],["getpostpostpreviewimage",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]]],[[["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]],[[],["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]]],[[["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]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["str",15]],null,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]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,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]],[[],["result",4]],[[],["result",4]],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]],[[],["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]],[[],["typeid",3]],[[],["typeid",3]],null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["getpostlightpostcreator",3]],[[],["getpostlightpost",3]],[[],["responsedata",3]],[[]],[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],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]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,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,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]]],[[]],[[]],[[]],[[]],[[]],null,null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],null,null,null,[[["appservice",3]]],[[["appservice",3]]],[[["appservice",3]]],[[["appservice",3]]],[[],["renderresult",6]],[[["buffer",3]],["result",4,[["rendererror",4]]]],null,[[["serviceconfig",3]]],[[],["str",15]],[[["usize",15],["usize",15]],["str",15]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],null,null,[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["str",15]],["string",3]],[[["str",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,[[],["result",4,[["configerror",4]]]],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,"GistContent"],[3,"GistFile"],[3,"GetPostLight"],[3,"PostUrl"],[3,"GetPostPostContentBodyModelParagraphsMarkups"],[3,"GetPostPostContent"],[3,"GetPostPostContentBodyModelParagraphsMetadata"],[3,"GetPostPostContentBodyModelParagraphsIframeMediaResource"],[3,"GetPostPostContentBodyModelParagraphsIframe"],[3,"GetPostPostContentBodyModelParagraphs"],[3,"GetPostPostContentBodyModel"],[3,"GetPostPostPreviewContent"],[3,"GetPostPostPreviewImage"],[3,"GetPostPostCreator"],[3,"GetPostPost"],[3,"ResponseData"],[3,"Variables"],[3,"GetPostLightPostCreator"],[3,"GetPostLightPost"],[3,"ResponseData"],[3,"Variables"],[3,"BuildDetails"],[3,"build_details"],[3,"Meta"],[3,"Post"],[3,"index"],[3,"assets"],[3,"by_post_id"],[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,12,11,11,5,0,12,0,0,0,12,0,12,11,11,11,11,6,3,17,3,3,3,3,17,6,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,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,12,12,11,11,11,11,11,11,11,11,11,11,0,11,0,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,12,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,11,11,11,11,11,11,6,6,3,3,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,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,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,11,11,11,11,11,12,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,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,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,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,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,6,6,3,3,6,6,17,17,3,3,17,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,11,12,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,12,12,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,11,11,3,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,3,11,11,11,11,11,11,11,11,11,11,3,12,12,11,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,11,11,11,11,3,12,11,11,12,11,11,11,11,11,11,12,11,11,11,12,11,11,11,11,8,17,17,3,11,11,12,11,11,11,11,12,11,10,11,11,11,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","gists","init","into","main","meta","posts","proxy","render_html","routes","server","settings","source_code","try_from","try_into","type_id","vzip","AppData","Data","GIST_CACHE_VERSION","GetPost","GetPostLight","GistContent","GistFile","POST_CACHE_VERSION","PostResp","PostUrl","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_query","build_query","cache","client","clone","clone","clone","clone_into","clone_into","clone_into","content","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","drop","drop","file_name","files","fmt","from","from","from","from","from","from","get_gist","get_gist_id","get_html_content","get_post","get_post","get_post_light","get_post_light","gists","html_url","init","init","init","init","init","init","into","into","into","into","into","into","language","migrate","new","posts","raw_url","serialize","serialize","slug","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","username","vzip","vzip","vzip","vzip","vzip","vzip","Boolean","Float","GetPostPost","GetPostPostContent","GetPostPostContentBodyModel","GetPostPostContentBodyModelParagraphs","GetPostPostContentBodyModelParagraphsIframe","GetPostPostContentBodyModelParagraphsIframeMediaResource","GetPostPostContentBodyModelParagraphsMarkups","GetPostPostContentBodyModelParagraphsMetadata","GetPostPostCreator","GetPostPostPreviewContent","GetPostPostPreviewImage","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","borrow","borrow_mut","borrow_mut","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","clone","clone_into","clone_into","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","deref","deref_mut","deref_mut","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","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","end","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","get_subtitle","href","href","href","id","id","id","id","iframe","iframe_height","iframe_src","iframe_width","image_id","init","init","init","init","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into","into","into","into","layout","markups","media_resource","metadata","name","original_height","original_width","paragraphs","post","preview_content","preview_image","reading_time","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","start","subtitle","text","title","title","to_owned","to_owned","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_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","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","type_id","type_id","unique_slug","user_id","username","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Boolean","Float","GetPostLightPost","GetPostLightPostCreator","ID","Int","OPERATION_NAME","QUERY","ResponseData","Variables","__QUERY_WORKAROUND","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","creator","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","drop","drop","drop","drop","fmt","fmt","fmt","from","from","from","from","id","init","init","init","init","into","into","into","into","post","serialize","serialize","serialize","serialize","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","unique_slug","username","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","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","by_post_id","data","date","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","from","from","from","from","from","gists","id","index","init","init","init","init","init","into","into","into","into","into","page","preview_img","reading_time","register","register","register","register","render_once","render_once_to","routes","services","slice","substring","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","Proxy","asset","borrow","borrow_mut","by_post_id","deref","deref_mut","drop","from","get_medium_asset","get_page","index","init","into","new","page","try_from","try_into","type_id","vzip","GenerateHTML","STYLE","SYNTAX_SET","SourcegraphQuery","borrow","borrow_mut","code","deref","deref_mut","determine_language","drop","filepath","from","generate","init","into","syntax_highlight","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::data::get_post_light","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::meta","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::meta::routes","","","","","","","","","","","","","","","","libmedium::proxy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","libmedium::proxy::routes","","","","","","","","","","","","","","","","","","","","libmedium::render_html","","","","","","","","","","","","","","","","","","","","","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,2,1,1,0,0,2,0,0,0,3,0,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,2,4,5,6,7,8,2,4,5,6,7,8,4,7,2,2,2,6,8,2,6,8,6,2,4,5,6,7,8,2,4,5,6,7,8,5,6,2,4,5,6,7,8,6,5,8,2,4,5,6,7,8,2,2,6,0,2,0,2,2,5,2,4,5,6,7,8,2,4,5,6,7,8,6,2,2,2,6,5,6,8,2,6,8,2,4,5,6,7,8,2,4,5,6,7,8,2,4,5,6,7,8,8,2,4,5,6,7,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,10,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,19,19,19,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,21,9,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,21,19,12,9,14,11,17,18,21,14,12,12,12,18,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,14,14,13,14,18,11,11,15,20,19,19,19,11,12,13,9,14,15,10,16,17,18,19,20,21,9,16,14,9,19,11,12,13,9,14,15,10,16,17,18,19,20,11,12,13,9,14,15,10,16,17,18,19,20,21,11,12,13,9,14,15,10,16,17,18,19,20,21,9,14,11,12,13,9,14,15,10,16,17,18,19,20,21,19,9,18,11,12,13,9,14,15,10,16,17,18,19,20,21,0,0,0,0,0,0,0,0,0,0,0,22,23,24,25,22,23,24,25,22,23,24,22,23,24,23,22,23,24,25,22,23,24,25,22,23,24,22,23,24,25,22,23,24,22,23,24,25,25,22,23,24,25,22,23,24,25,24,22,23,24,25,22,23,24,22,23,24,25,22,23,24,25,22,23,24,25,23,22,22,23,24,25,0,26,27,26,27,0,26,26,26,27,26,27,26,26,27,26,26,27,26,26,27,26,27,27,0,26,0,26,26,27,26,27,26,27,26,26,27,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,0,0,0,0,0,29,30,31,32,33,29,30,31,32,33,0,29,29,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,29,29,0,29,30,31,32,33,29,30,31,32,33,0,29,29,30,31,32,33,29,29,0,0,34,34,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,29,30,31,32,33,0,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,0,0,0,0,36,36,36,36,36,36,36,36,36,37,36,36,36,36,36,36,36,0,0,38,38,38,38,38,38,38,38,38,38,38,0,38,38,38,38,0,0,39,3,39,3,3,0,39,3,39,3,3,39,3,39,3,39,3,39,39,3,39,3,39,3,39,39,3,39,3,39,3,39,39,3,3,39,3,39,3,39,3,39,3,39,3,39],"f":[null,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]],null,[[],["usize",15]],[[]],[[],["result",6]],null,null,null,null,null,null,null,null,[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["querybody",3]],[[],["querybody",3]],null,null,[[],["data",3]],[[],["gistfile",3]],[[],["posturl",3]],[[]],[[]],[[]],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]]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,null,[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[["string",3]]],[[["str",15]],["str",15]],[[],["string",3]],null,[[["str",15]]],null,[[["str",15]]],null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[]],[[],["appdata",6]],null,null,[[],["result",4]],[[],["result",4]],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]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,[[]],[[]],[[]],[[]],[[]],[[]],null,null,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]],[[],["getpostpostpreviewcontent",3]],[[],["getpostpostpreviewimage",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]]],[[["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]],[[],["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]]],[[["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]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["str",15]],null,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]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,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]],[[],["result",4]],[[],["result",4]],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]],[[],["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]],[[],["typeid",3]],[[],["typeid",3]],null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["getpostlightpostcreator",3]],[[],["getpostlightpost",3]],[[],["responsedata",3]],[[]],[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],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]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,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,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]]],[[]],[[]],[[]],[[]],[[]],null,null,null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],null,null,null,[[["appservice",3]]],[[["appservice",3]]],[[["appservice",3]]],[[["appservice",3]]],[[],["renderresult",6]],[[["buffer",3]],["result",4,[["rendererror",4]]]],null,[[["serviceconfig",3]]],[[],["str",15]],[[["usize",15],["usize",15]],["str",15]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],null,null,[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["str",15]],["string",3]],[[["str",15],["str",15]],["string",3]],null,[[],["usize",15]],[[]],[[]],null,[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["syntaxset",3]],["syntaxreference",3]],[[["usize",15]]],null,[[]],[[]],[[],["usize",15]],[[]],[[],["string",3]],[[],["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,[[],["result",4,[["configerror",4]]]],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,"GistContent"],[3,"GistFile"],[3,"GetPostLight"],[3,"PostUrl"],[3,"GetPostPostContentBodyModelParagraphsMarkups"],[3,"GetPostPostContent"],[3,"GetPostPostContentBodyModelParagraphsMetadata"],[3,"GetPostPostContentBodyModelParagraphsIframeMediaResource"],[3,"GetPostPostContentBodyModelParagraphsIframe"],[3,"GetPostPostContentBodyModelParagraphs"],[3,"GetPostPostContentBodyModel"],[3,"GetPostPostPreviewContent"],[3,"GetPostPostPreviewImage"],[3,"GetPostPostCreator"],[3,"GetPostPost"],[3,"ResponseData"],[3,"Variables"],[3,"GetPostLightPostCreator"],[3,"GetPostLightPost"],[3,"ResponseData"],[3,"Variables"],[3,"BuildDetails"],[3,"build_details"],[3,"Meta"],[3,"Post"],[3,"index"],[3,"assets"],[3,"by_post_id"],[3,"page"],[8,"StringUtils"],[3,"Proxy"],[3,"SourcegraphQuery"],[8,"GenerateHTML"],[3,"Routes"],[3,"Server"]]}\ }'); if (window.initSearch) {window.initSearch(searchIndex)}; \ No newline at end of file diff --git a/search.js b/search.js index 6f612fa..eb6d6f7 100644 --- a/search.js +++ b/search.js @@ -1 +1 @@ -(function(){var itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias"];var TY_PRIMITIVE=itemTypes.indexOf("primitive");var TY_KEYWORD=itemTypes.indexOf("keyword");function printTab(nb){if(nb===0||nb===1||nb===2){searchState.currentTab=nb}var nb_copy=nb;onEachLazy(document.getElementById("titles").childNodes,function(elem){if(nb_copy===0){addClass(elem,"selected")}else{removeClass(elem,"selected")}nb_copy-=1});onEachLazy(document.getElementById("results").childNodes,function(elem){if(nb===0){addClass(elem,"active")}else{removeClass(elem,"active")}nb-=1})}function removeEmptyStringsFromArray(x){for(var i=0,len=x.length;i"+"Try on DuckDuckGo?
"+"Or try looking in one of these:
- The Rust Reference "+" for technical details about the language.
- Rust By "+"Example for expository code examples.
- The Rust Book for "+"introductions to language features and the language itself.
- Docs.rs for documentation of crates released on"+" crates.io.
Results for "+escape(query.query)+(query.type?" (type: "+escape(query.type)+")":"")+"
"+""+"Try on DuckDuckGo?
"+"Or try looking in one of these:
- The Rust Reference "+" for technical details about the language.
- Rust By "+"Example for expository code examples.
- The Rust Book for "+"introductions to language features and the language itself.
- Docs.rs for documentation of crates released on"+" crates.io.
Results for "+escape(query.query)+(query.type?" (type: "+escape(query.type)+")":"")+"
"+"Rustdoc settings
Rustdoc settings
1 +data.rs - source +\ No newline at end of file diff --git a/src/libmedium/main.rs.html b/src/libmedium/main.rs.html index 83d564e..0c921b5 100644 --- a/src/libmedium/main.rs.html +++ b/src/libmedium/main.rs.html @@ -1,5 +1,6 @@ - + -1 2 3 4 @@ -287,6 +288,19 @@ 286 287 288 +289 +290 +291 +292 +293 +294 +295 +296 +297 +298 +299 +300 +301/* * Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net> * @@ -313,6 +327,7 @@ use sled::{Db, Tree}; use crate::proxy::StringUtils; +use crate::render_html; use crate::SETTINGS; const POST_CACHE_VERSION: usize = 3; @@ -493,7 +508,7 @@ None }; - let gist = match self.gists.get(&id) { + let mut gist = match self.gists.get(&id) { Ok(Some(v)) => bincode::deserialize(&v[..]).unwrap(), _ => { const URL: &str = "https://api.github.com/gists/"; @@ -557,18 +572,30 @@ let gist = if let Some(file_name) = file_name { let mut files: Vec<GistFile> = Vec::with_capacity(1); - let file = gist + let mut file = gist .files .iter() .find(|f| f.file_name == file_name) .unwrap() .to_owned(); + let highlight = render_html::SourcegraphQuery { + filepath: &file.file_name, + code: &file.content, + }; + file.content = highlight.syntax_highlight(); files.push(file); GistContent { files, html_url: gist_url, } } else { + gist.files.iter_mut().for_each(|f| { + let highlight = render_html::SourcegraphQuery { + filepath: &f.file_name, + code: &f.content, + }; + f.content = highlight.syntax_highlight(); + }); gist }; @@ -576,5 +603,5 @@ } }
main.rs - source - 1 +main.rs - source +\ No newline at end of file diff --git a/src/libmedium/meta.rs.html b/src/libmedium/meta.rs.html index 741b0b1..d4d602c 100644 --- a/src/libmedium/meta.rs.html +++ b/src/libmedium/meta.rs.html @@ -1,5 +1,6 @@ - + -1 2 3 4 @@ -92,6 +93,7 @@ 91 92 93 +94/* * Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net> * @@ -120,6 +122,7 @@ mod data; mod meta; mod proxy; +mod render_html; mod routes; mod settings; @@ -163,7 +166,7 @@ .app_data(get_json_err()) .wrap( actix_middleware::DefaultHeaders::new() - .header("Permissions-Policy", "interest-cohort=()"), + .add(("Permissions-Policy", "interest-cohort=()")), ) .wrap(actix_middleware::NormalizePath::new( actix_middleware::TrailingSlash::Trim, @@ -186,5 +189,5 @@ }) }
meta.rs - source - 1 +meta.rs - source +\ No newline at end of file diff --git a/src/libmedium/proxy.rs.html b/src/libmedium/proxy.rs.html index 2322384..5ce95fd 100644 --- a/src/libmedium/proxy.rs.html +++ b/src/libmedium/proxy.rs.html @@ -1,5 +1,6 @@ - proxy.rs - source - 1 +proxy.rs - source +\ No newline at end of file diff --git a/src/libmedium/render_html.rs.html b/src/libmedium/render_html.rs.html new file mode 100644 index 0000000..945631c --- /dev/null +++ b/src/libmedium/render_html.rs.html @@ -0,0 +1,345 @@ + render_html.rs - source ++ \ No newline at end of file diff --git a/src/libmedium/routes.rs.html b/src/libmedium/routes.rs.html index 3670819..3e5f748 100644 --- a/src/libmedium/routes.rs.html +++ b/src/libmedium/routes.rs.html @@ -1,5 +1,6 @@ - +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 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +/* + * Copyright (C) 2022 Aravinth Manivannan <realaravinth@batsense.net> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * 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 syntect::highlighting::{Color, ThemeSet}; +use syntect::html::highlighted_html_for_string; +use syntect::parsing::{SyntaxReference, SyntaxSet}; + +pub trait GenerateHTML { + fn generate(&mut self); +} + +#[allow(dead_code)] +pub const STYLE: &str = " + "; + +thread_local! { + pub(crate) static SYNTAX_SET: SyntaxSet = SyntaxSet::load_defaults_newlines(); +} + +pub struct SourcegraphQuery<'a> { + pub filepath: &'a str, + pub code: &'a str, +} + +impl<'a> SourcegraphQuery<'a> { + pub fn syntax_highlight(&self) -> String { + // let ss = SYNTAX_SET; + let ts = ThemeSet::load_defaults(); + + let theme = &ts.themes["InspiredGitHub"]; + let c = theme.settings.background.unwrap_or(Color::WHITE); + let mut num = 1; + let mut output = format!( + "<style> + .gist_file {{ + background-color:#{:02x}{:02x}{:02x}; + }}</style>", + c.r, c.g, c.b + ); + + // highlighted_html_for_string(&q.code, syntax_set, syntax_def, theme), + let html = SYNTAX_SET.with(|ss| { + let language = self.determine_language(ss); + highlighted_html_for_string(self.code, ss, &language, theme) + }); + for (line_num, line) in html.lines().enumerate() { + if !line.trim().is_empty() { + if line_num == 0 { + //|| line_num == total_lines - 1 { + output.push_str(line); + } else { + output.push_str(&format!("<div id=\"line-{num}\"class=\"line\"><a href=\"#line-{num}\"<span class=\"line-number\">{num}</span></a>{line}</div>" + )); + num += 1; + } + } + } + output + } + + // adopted from + // https://github.com/sourcegraph/sourcegraph/blob/9fe138ae75fd64dce06b621572b252a9c9c8da70/docker-images/syntax-highlighter/crates/sg-syntax/src/lib.rs#L81 + // with minimum modifications. Crate was MIT licensed at the time(2022-03-12 11:11) + fn determine_language(&self, syntax_set: &SyntaxSet) -> SyntaxReference { + if self.filepath.is_empty() { + // Legacy codepath, kept for backwards-compatability with old clients. + match syntax_set.find_syntax_by_first_line(self.code) { + Some(v) => { + return v.to_owned(); + } + None => unimplemented!(), //Err(json!({"error": "invalid extension"})), + }; + } + + // Split the input path ("foo/myfile.go") into file name + // ("myfile.go") and extension ("go"). + let path = Path::new(&self.filepath); + let file_name = path.file_name().and_then(|n| n.to_str()).unwrap_or(""); + let extension = path.extension().and_then(|x| x.to_str()).unwrap_or(""); + + // Override syntect's language detection for conflicting file extensions because + // it's impossible to express this logic in a syntax definition. + struct Override { + extension: &'static str, + prefix_langs: Vec<(&'static str, &'static str)>, + default: &'static str, + } + let overrides = vec![Override { + extension: "cls", + prefix_langs: vec![("%", "TeX"), ("\\", "TeX")], + default: "Apex", + }]; + + if let Some(Override { + prefix_langs, + default, + .. + }) = overrides.iter().find(|o| o.extension == extension) + { + let name = match prefix_langs + .iter() + .find(|(prefix, _)| self.code.starts_with(prefix)) + { + Some((_, lang)) => lang, + None => default, + }; + return syntax_set + .find_syntax_by_name(name) + .unwrap_or_else(|| syntax_set.find_syntax_plain_text()) + .to_owned(); + } + + syntax_set + // First try to find a syntax whose "extension" matches our file + // name. This is done due to some syntaxes matching an "extension" + // that is actually a whole file name (e.g. "Dockerfile" or "CMakeLists.txt") + // see https://github.com/trishume/syntect/pull/170 + .find_syntax_by_extension(file_name) + .or_else(|| syntax_set.find_syntax_by_extension(extension)) + .or_else(|| syntax_set.find_syntax_by_first_line(self.code)) + .unwrap_or_else(|| syntax_set.find_syntax_plain_text()) + .to_owned() + } +} + +#[cfg(test)] +mod tests { + use super::SourcegraphQuery; + + use syntect::parsing::SyntaxSet; + + #[test] + fn cls_tex() { + let syntax_set = SyntaxSet::load_defaults_newlines(); + let query = SourcegraphQuery { + filepath: "foo.cls", + code: "%", + }; + let result = query.determine_language(&syntax_set); + assert_eq!(result.name, "TeX"); + let _result = query.syntax_highlight(); + } + + //#[test] + //fn cls_apex() { + // let syntax_set = SyntaxSet::load_defaults_newlines(); + // let query = SourcegraphQuery { + // filepath: "foo.cls".to_string(), + // code: "/**".to_string(), + // extension: String::new(), + // }; + // let result = determine_language(&query, &syntax_set); + // assert_eq!(result.unwrap().name, "Apex"); + //} +} +
routes.rs - source - 1 +routes.rs - source +\ No newline at end of file diff --git a/src/libmedium/settings.rs.html b/src/libmedium/settings.rs.html index 24f1ae8..4a931d0 100644 --- a/src/libmedium/settings.rs.html +++ b/src/libmedium/settings.rs.html @@ -1,5 +1,6 @@ - settings.rs - source - 1 +settings.rs - source +\ No newline at end of file diff --git a/storage.js b/storage.js index 6b16cbd..dd18db8 100644 --- a/storage.js +++ b/storage.js @@ -1 +1 @@ -var resourcesSuffix="";var darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");var settingsDataset=(function(){var settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}var dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){var current=getCurrentValue('rustdoc-'+settingName);if(current!==null){return current}if(settingsDataset!==null){var def=settingsDataset[settingName.replace(/-/g,'_')];if(def!==undefined){return def}}return null}var localStoredTheme=getSettingValue("theme");var savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){var length=arr.length;var i;if(reversed){for(i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(i=0;i =0){updateLocalStorage("rustdoc-preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)} \ No newline at end of file +var darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");var settingsDataset=(function(){var settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}var dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){var current=getCurrentValue('rustdoc-'+settingName);if(current!==null){return current}if(settingsDataset!==null){var def=settingsDataset[settingName.replace(/-/g,'_')];if(def!==undefined){return def}}return null}var localStoredTheme=getSettingValue("theme");var savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){var length=arr.length;var i;if(reversed){for(i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(i=0;i =0){updateLocalStorage("rustdoc-preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)} \ No newline at end of file