Skip to content

Commit ccf34e2

Browse files
committed
Docs for v0.2.10
1 parent 4aad4a4 commit ccf34e2

18 files changed

+416
-63
lines changed

doc/iron_cms/fn.routes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h1 class='fqn'><span class='in-band'>Function <a href='index.html'>iron_cms</a>
4747
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
4848
[<span class='inner'>&#x2212;</span>]
4949
</a>
50-
</span><a id='src-315' class='srclink' href='../src/iron_cms/src/lib.rs.html#51-69' title='goto source code'>[src]</a></span></h1>
50+
</span><a id='src-393' class='srclink' href='../src/iron_cms/src/lib.rs.html#51-69' title='goto source code'>[src]</a></span></h1>
5151
<pre class='rust fn'>pub fn routes() -&gt; Mount</pre><div class='docblock'><p>Routes aggregator.
5252
It accumulate all posible routes for CMS.</p>
5353

doc/iron_cms/middleware/fn.template_render.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h1 class='fqn'><span class='in-band'>Function <a href='../index.html'>iron_cms<
4747
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
4848
[<span class='inner'>&#x2212;</span>]
4949
</a>
50-
</span><a id='src-50' class='srclink' href='../../src/iron_cms/src/middleware/render.rs.html#47-71' title='goto source code'>[src]</a></span></h1>
50+
</span><a id='src-69' class='srclink' href='../../src/iron_cms/src/middleware/render.rs.html#77-101' title='goto source code'>[src]</a></span></h1>
5151
<pre class='rust fn'>pub fn template_render(paths: <a class='struct' href='https://doc.rust-lang.org/nightly/collections/vec/struct.Vec.html' title='collections::vec::Vec'>Vec</a>&lt;&amp;<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>&gt;) -&gt; HandlebarsEngine</pre><div class='docblock'><p>Init Template renderer and add Tempaltes path.
5252
It invoke to after middleware</p>
5353
</div></section>

doc/iron_cms/middleware/index.html

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ <h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>iron_cms</a
4949
</a>
5050
</span><a id='src-14' class='srclink' href='../../src/iron_cms/src/middleware/mod.rs.html#1-6' title='goto source code'>[src]</a></span></h1>
5151
<div class='docblock'><p>Base middleware for CMS</p>
52-
</div><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
52+
</div><h2 id='reexports' class='section-header'><a href="#reexports">Reexports</a></h2>
53+
<table><tr><td><code>pub use rustc_serialize::json::<a class='enum' href='../../iron_cms/middleware/json/enum.DecoderError.html' title='iron_cms::middleware::json::DecoderError'>DecoderError</a>::*;</code></td></tr></table><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
5354
<table>
5455
<tr class=' module-item'>
5556
<td><a class='mod' href='json/index.html'
@@ -98,7 +99,7 @@ <h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>iron_cms</a
9899
<td><a class='struct' href='struct.Validator.html'
99100
title='iron_cms::middleware::Validator'>Validator</a></td>
100101
<td class='docblock short'>
101-
102+
<p>Base Validator strict</p>
102103
</td>
103104
</tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
104105
<table>
@@ -110,6 +111,20 @@ <h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>iron_cms</a
110111
</td>
111112
</tr></table><h2 id='traits' class='section-header'><a href="#traits">Traits</a></h2>
112113
<table>
114+
<tr class=' module-item'>
115+
<td><a class='trait' href='trait.BaseDataMapDecoder.html'
116+
title='iron_cms::middleware::BaseDataMapDecoder'>BaseDataMapDecoder</a></td>
117+
<td class='docblock short'>
118+
<p>BaseDataMap Json decoder trait</p>
119+
</td>
120+
</tr>
121+
<tr class=' module-item'>
122+
<td><a class='trait' href='trait.Decodable.html'
123+
title='iron_cms::middleware::Decodable'>Decodable</a></td>
124+
<td class='docblock short'>
125+
126+
</td>
127+
</tr>
113128
<tr class=' module-item'>
114129
<td><a class='trait' href='trait.ToJson.html'
115130
title='iron_cms::middleware::ToJson'>ToJson</a></td>

doc/iron_cms/middleware/json/fn.decode.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h1 class='fqn'><span class='in-band'>Function <a href='../../index.html'>iron_c
4848
[<span class='inner'>&#x2212;</span>]
4949
</a>
5050
</span><a id='src-5516' class='srclink' href='https://doc.rust-lang.org/rustc-serialize/rustc_serialize/json/fn.decode.html?gotosrc=5516' title='goto source code'>[src]</a></span></h1>
51-
<pre class='rust fn'>pub fn decode&lt;T&gt;(s: &amp;<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>) -&gt; <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a>&lt;T,&nbsp;<a class='enum' href='../../../iron_cms/middleware/json/enum.DecoderError.html' title='iron_cms::middleware::json::DecoderError'>DecoderError</a>&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/rustc-serialize/rustc_serialize/serialize/trait.Decodable.html' title='rustc_serialize::serialize::Decodable'>Decodable</a></span></pre><div class='docblock'><p>Shortcut function to decode a JSON <code>&amp;str</code> into an object</p>
51+
<pre class='rust fn'>pub fn decode&lt;T&gt;(s: &amp;<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>) -&gt; <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a>&lt;T,&nbsp;<a class='enum' href='../../../iron_cms/middleware/json/enum.DecoderError.html' title='iron_cms::middleware::json::DecoderError'>DecoderError</a>&gt; <span class='where'>where T: <a class='trait' href='../../../iron_cms/middleware/trait.Decodable.html' title='iron_cms::middleware::Decodable'>Decodable</a></span></pre><div class='docblock'><p>Shortcut function to decode a JSON <code>&amp;str</code> into an object</p>
5252
</div></section>
5353
<section id='search' class="content hidden"></section>
5454

doc/iron_cms/middleware/sidebar-items.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/iron_cms/middleware/struct.ErrorValidator.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h1 class='fqn'><span class='in-band'>Struct <a href='../index.html'>iron_cms</a
4747
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
4848
[<span class='inner'>&#x2212;</span>]
4949
</a>
50-
</span><a id='src-235' class='srclink' href='../../src/iron_cms/src/middleware/validator.rs.html#84-88' title='goto source code'>[src]</a></span></h1>
50+
</span><a id='src-290' class='srclink' href='../../src/iron_cms/src/middleware/validator.rs.html#189-193' title='goto source code'>[src]</a></span></h1>
5151
<pre class='rust struct'>pub struct ErrorValidator {
5252
pub errors: <a class='struct' href='https://doc.rust-lang.org/nightly/collections/vec/struct.Vec.html' title='collections::vec::Vec'>Vec</a>&lt;<a class='struct' href='https://doc.rust-lang.org/nightly/collections/string/struct.String.html' title='collections::string::String'>String</a>&gt;,
5353
pub errors_count: <a class='enum' href='https://doc.rust-lang.org/nightly/core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.u32.html'>u32</a>&gt;,
@@ -56,16 +56,16 @@ <h1 class='fqn'><span class='in-band'>Struct <a href='../index.html'>iron_cms</a
5656
</div><h2 class='fields'>Fields</h2><span id='structfield.errors' class='structfield'><code>errors: <a class='struct' href='https://doc.rust-lang.org/nightly/collections/vec/struct.Vec.html' title='collections::vec::Vec'>Vec</a>&lt;<a class='struct' href='https://doc.rust-lang.org/nightly/collections/string/struct.String.html' title='collections::string::String'>String</a>&gt;</code>
5757
</span><span class='stab '></span><span id='structfield.errors_count' class='structfield'><code>errors_count: <a class='enum' href='https://doc.rust-lang.org/nightly/core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.u32.html'>u32</a>&gt;</code>
5858
</span><span class='stab '></span><span id='structfield.field' class='structfield'><code>field: <a class='struct' href='https://doc.rust-lang.org/nightly/collections/string/struct.String.html' title='collections::string::String'>String</a></code>
59-
</span><span class='stab '></span><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> for <a class='struct' href='../../iron_cms/middleware/struct.ErrorValidator.html' title='iron_cms::middleware::ErrorValidator'>ErrorValidator</a></code></span><span class='out-of-band'><div class='ghost'></div><a id='src-209' class='srclink' href='../../src/iron_cms/src/middleware/validator.rs.html#83' title='goto source code'>[src]</a></span></h3>
59+
</span><span class='stab '></span><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> for <a class='struct' href='../../iron_cms/middleware/struct.ErrorValidator.html' title='iron_cms::middleware::ErrorValidator'>ErrorValidator</a></code></span><span class='out-of-band'><div class='ghost'></div><a id='src-264' class='srclink' href='../../src/iron_cms/src/middleware/validator.rs.html#188' title='goto source code'>[src]</a></span></h3>
6060
<div class='impl-items'><h4 id='method.clone' class='method'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class='struct' href='../../iron_cms/middleware/struct.ErrorValidator.html' title='iron_cms::middleware::ErrorValidator'>ErrorValidator</a></code></h4>
6161
<div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
6262
</div><h4 id='method.clone_from' class='method'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: &amp;Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></h4>
6363
<div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
64-
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='../../iron_cms/middleware/struct.ErrorValidator.html' title='iron_cms::middleware::ErrorValidator'>ErrorValidator</a></code></span><span class='out-of-band'><div class='ghost'></div><a id='src-215' class='srclink' href='../../src/iron_cms/src/middleware/validator.rs.html#83' title='goto source code'>[src]</a></span></h3>
64+
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='../../iron_cms/middleware/struct.ErrorValidator.html' title='iron_cms::middleware::ErrorValidator'>ErrorValidator</a></code></span><span class='out-of-band'><div class='ghost'></div><a id='src-270' class='srclink' href='../../src/iron_cms/src/middleware/validator.rs.html#188' title='goto source code'>[src]</a></span></h3>
6565
<div class='impl-items'><h4 id='method.fmt' class='method'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, __arg_0: &amp;mut <a class='struct' href='https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html' title='core::fmt::Formatter'>Formatter</a>) -&gt; <a class='type' href='https://doc.rust-lang.org/nightly/core/fmt/type.Result.html' title='core::fmt::Result'>Result</a></code></h4>
6666
<div class='docblock'><p>Formats the value using the given formatter.</p>
67-
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class='trait' href='https://doc.rust-lang.org/rustc-serialize/rustc_serialize/serialize/trait.Decodable.html' title='rustc_serialize::serialize::Decodable'>Decodable</a> for <a class='struct' href='../../iron_cms/middleware/struct.ErrorValidator.html' title='iron_cms::middleware::ErrorValidator'>ErrorValidator</a></code></span><span class='out-of-band'><div class='ghost'></div><a id='src-223' class='srclink' href='../../src/iron_cms/src/middleware/validator.rs.html#83' title='goto source code'>[src]</a></span></h3>
68-
<div class='impl-items'><h4 id='method.decode' class='method'><code>fn <a href='https://doc.rust-lang.org/rustc-serialize/rustc_serialize/serialize/trait.Decodable.html#tymethod.decode' class='fnname'>decode</a>&lt;__D:&nbsp;<a class='trait' href='https://doc.rust-lang.org/rustc-serialize/rustc_serialize/serialize/trait.Decoder.html' title='rustc_serialize::serialize::Decoder'>Decoder</a>&gt;(__arg_0: &amp;mut __D) -&gt; <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a>&lt;<a class='struct' href='../../iron_cms/middleware/struct.ErrorValidator.html' title='iron_cms::middleware::ErrorValidator'>ErrorValidator</a>,&nbsp;__D::Error&gt;</code></h4>
67+
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class='trait' href='../../iron_cms/middleware/trait.Decodable.html' title='iron_cms::middleware::Decodable'>Decodable</a> for <a class='struct' href='../../iron_cms/middleware/struct.ErrorValidator.html' title='iron_cms::middleware::ErrorValidator'>ErrorValidator</a></code></span><span class='out-of-band'><div class='ghost'></div><a id='src-278' class='srclink' href='../../src/iron_cms/src/middleware/validator.rs.html#188' title='goto source code'>[src]</a></span></h3>
68+
<div class='impl-items'><h4 id='method.decode' class='method'><code>fn <a href='../../iron_cms/middleware/trait.Decodable.html#tymethod.decode' class='fnname'>decode</a>&lt;__D:&nbsp;<a class='trait' href='https://doc.rust-lang.org/rustc-serialize/rustc_serialize/serialize/trait.Decoder.html' title='rustc_serialize::serialize::Decoder'>Decoder</a>&gt;(__arg_0: &amp;mut __D) -&gt; <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a>&lt;<a class='struct' href='../../iron_cms/middleware/struct.ErrorValidator.html' title='iron_cms::middleware::ErrorValidator'>ErrorValidator</a>,&nbsp;__D::Error&gt;</code></h4>
6969
</div></section>
7070
<section id='search' class="content hidden"></section>
7171

doc/iron_cms/middleware/struct.Render.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ <h1 class='fqn'><span class='in-band'>Struct <a href='../index.html'>iron_cms</a
4747
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
4848
[<span class='inner'>&#x2212;</span>]
4949
</a>
50-
</span><a id='src-42' class='srclink' href='../../src/iron_cms/src/middleware/render.rs.html#30-32' title='goto source code'>[src]</a></span></h1>
50+
</span><a id='src-44' class='srclink' href='../../src/iron_cms/src/middleware/render.rs.html#32-34' title='goto source code'>[src]</a></span></h1>
5151
<pre class='rust struct'>pub struct Render {
5252
pub data: <a class='type' href='../../iron_cms/middleware/type.BaseDataMap.html' title='iron_cms::middleware::BaseDataMap'>BaseDataMap</a>,
5353
}</pre><div class='docblock'><p>Templфte Render strшct</p>
5454
</div><h2 class='fields'>Fields</h2><span id='structfield.data' class='structfield'><code>data: <a class='type' href='../../iron_cms/middleware/type.BaseDataMap.html' title='iron_cms::middleware::BaseDataMap'>BaseDataMap</a></code>
55-
</span><span class='stab '></span><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class='struct' href='../../iron_cms/middleware/struct.Render.html' title='iron_cms::middleware::Render'>Render</a></code></span><span class='out-of-band'><div class='ghost'></div><a id='src-44' class='srclink' href='../../src/iron_cms/src/middleware/render.rs.html#37-43' title='goto source code'>[src]</a></span></h3>
55+
</span><span class='stab '></span><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class='struct' href='../../iron_cms/middleware/struct.Render.html' title='iron_cms::middleware::Render'>Render</a></code></span><span class='out-of-band'><div class='ghost'></div><a id='src-63' class='srclink' href='../../src/iron_cms/src/middleware/render.rs.html#67-73' title='goto source code'>[src]</a></span></h3>
5656
<div class='docblock'><p>Basic render with StatusOK tempalte name and data
5757
basic usage:
5858
<code>Render::new(&quot;my/template/path&quot;, ())</code>`</p>

0 commit comments

Comments
 (0)