new deploy: 2023-01-03T08:32:54+00:00
This commit is contained in:
parent
ea73d247b0
commit
af6426ac11
27 changed files with 430 additions and 29 deletions
|
@ -3,5 +3,5 @@
|
|||
</a><h2 class="location"></h2>
|
||||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../f3_rs/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div>
|
||||
</a><h2 class="location">Crate f3_rs</h2></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../f3_rs/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><h1 class="fqn"><span class="in-band">List of all items</span></h1><h3 id="Structs">Structs</h3><ul class="structs docblock"><li><a href="comment/struct.Comment.html">comment::Comment</a></li><li><a href="identities/struct.Identities.html">identities::Identities</a></li><li><a href="issue/struct.Issue.html">issue::Issue</a></li><li><a href="label/struct.Label.html">label::Label</a></li><li><a href="milestone/struct.Milestone.html">milestone::Milestone</a></li><li><a href="project/struct.Project.html">project::Project</a></li><li><a href="pullrequest/struct.PullRequest.html">pullrequest::PullRequest</a></li><li><a href="pullrequest/struct.PullRequestRef.html">pullrequest::PullRequestRef</a></li><li><a href="reaction/struct.Reaction.html">reaction::Reaction</a></li><li><a href="release/struct.Release.html">release::Release</a></li><li><a href="release/struct.ReleaseAsset.html">release::ReleaseAsset</a></li><li><a href="repository/struct.Repository.html">repository::Repository</a></li><li><a href="topic/struct.Topic.html">topic::Topic</a></li><li><a href="user/struct.User.html">user::User</a></li></ul><h3 id="Enums">Enums</h3><ul class="enums docblock"><li><a href="enum.OpenCloseState.html">OpenCloseState</a></li></ul></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="f3_rs" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
</a><h2 class="location">Crate f3_rs</h2></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../f3_rs/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><h1 class="fqn"><span class="in-band">List of all items</span></h1><h3 id="Structs">Structs</h3><ul class="structs docblock"><li><a href="comment/struct.Comment.html">comment::Comment</a></li><li><a href="identities/struct.Identities.html">identities::Identities</a></li><li><a href="issue/struct.Issue.html">issue::Issue</a></li><li><a href="label/struct.Label.html">label::Label</a></li><li><a href="milestone/struct.Milestone.html">milestone::Milestone</a></li><li><a href="project/struct.Project.html">project::Project</a></li><li><a href="pullrequest/struct.PullRequest.html">pullrequest::PullRequest</a></li><li><a href="pullrequest/struct.PullRequestRef.html">pullrequest::PullRequestRef</a></li><li><a href="reaction/struct.Reaction.html">reaction::Reaction</a></li><li><a href="release/struct.Release.html">release::Release</a></li><li><a href="release/struct.ReleaseAsset.html">release::ReleaseAsset</a></li><li><a href="repository/struct.Repository.html">repository::Repository</a></li><li><a href="review/struct.Review.html">review::Review</a></li><li><a href="review/struct.ReviewComment.html">review::ReviewComment</a></li><li><a href="topic/struct.Topic.html">topic::Topic</a></li><li><a href="user/struct.User.html">user::User</a></li></ul><h3 id="Enums">Enums</h3><ul class="enums docblock"><li><a href="enum.OpenCloseState.html">OpenCloseState</a></li><li><a href="review/enum.ReviewState.html">review::ReviewState</a></li></ul></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="f3_rs" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
</body></html>
|
File diff suppressed because one or more lines are too long
|
@ -4,11 +4,11 @@
|
|||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../f3_rs/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div>
|
||||
</a><h2 class="location"><a href="#">Crate f3_rs</a></h2><div class="sidebar-elems"><div class="block"><ul><li class="version">Version 0.1.0</li><li><a id="all-types" href="all.html">All Items</a></li></div></ul><section><div class="block"><ul><li><a href="#modules">Modules</a></li><li><a href="#enums">Enums</a></li></ul></div></section><div id="sidebar-vars" data-name="f3_rs" data-ty="mod" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../f3_rs/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
|
||||
<h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">f3_rs</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/f3_rs/lib.rs.html#17-64">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><h2 id="welcome-to-f3-documentation"><a href="#welcome-to-f3-documentation">Welcome to F3 Documentation!</a></h2>
|
||||
<h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">f3_rs</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/f3_rs/lib.rs.html#17-66">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><h2 id="welcome-to-f3-documentation"><a href="#welcome-to-f3-documentation">Welcome to F3 Documentation!</a></h2>
|
||||
<p>Please refer to the <a href="https://f3.forgefriends.org/">main documentation</a> for a complete overview.
|
||||
This is an incomplete Rust port of the F3 library created by the ForgeFriends project.</p>
|
||||
</div></details><h2 id="reexports" class="small-section-header"><a href="#reexports">Re-exports</a></h2>
|
||||
<div class="item-table"><div class="item-row"><div class="item-left import-item"><code>pub use comment::<a class="struct" href="comment/struct.Comment.html" title="struct f3_rs::comment::Comment">Comment</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use identities::<a class="struct" href="identities/struct.Identities.html" title="struct f3_rs::identities::Identities">Identities</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use issue::<a class="struct" href="issue/struct.Issue.html" title="struct f3_rs::issue::Issue">Issue</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use label::<a class="struct" href="label/struct.Label.html" title="struct f3_rs::label::Label">Label</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use milestone::<a class="struct" href="milestone/struct.Milestone.html" title="struct f3_rs::milestone::Milestone">Milestone</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use project::<a class="struct" href="project/struct.Project.html" title="struct f3_rs::project::Project">Project</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use pullrequest::<a class="struct" href="pullrequest/struct.PullRequest.html" title="struct f3_rs::pullrequest::PullRequest">PullRequest</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use reaction::<a class="struct" href="reaction/struct.Reaction.html" title="struct f3_rs::reaction::Reaction">Reaction</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use release::<a class="struct" href="release/struct.ReleaseAsset.html" title="struct f3_rs::release::ReleaseAsset">ReleaseAsset</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use repository::<a class="struct" href="repository/struct.Repository.html" title="struct f3_rs::repository::Repository">Repository</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use topic::<a class="struct" href="topic/struct.Topic.html" title="struct f3_rs::topic::Topic">Topic</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use user::<a class="struct" href="user/struct.User.html" title="struct f3_rs::user::User">User</a>;</code></div><div class="item-right docblock-short"></div></div></div><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2>
|
||||
<div class="item-table"><div class="item-row"><div class="item-left import-item"><code>pub use comment::<a class="struct" href="comment/struct.Comment.html" title="struct f3_rs::comment::Comment">Comment</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use identities::<a class="struct" href="identities/struct.Identities.html" title="struct f3_rs::identities::Identities">Identities</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use issue::<a class="struct" href="issue/struct.Issue.html" title="struct f3_rs::issue::Issue">Issue</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use label::<a class="struct" href="label/struct.Label.html" title="struct f3_rs::label::Label">Label</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use milestone::<a class="struct" href="milestone/struct.Milestone.html" title="struct f3_rs::milestone::Milestone">Milestone</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use project::<a class="struct" href="project/struct.Project.html" title="struct f3_rs::project::Project">Project</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use pullrequest::<a class="struct" href="pullrequest/struct.PullRequest.html" title="struct f3_rs::pullrequest::PullRequest">PullRequest</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use reaction::<a class="struct" href="reaction/struct.Reaction.html" title="struct f3_rs::reaction::Reaction">Reaction</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use release::<a class="struct" href="release/struct.Release.html" title="struct f3_rs::release::Release">Release</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use release::<a class="struct" href="release/struct.ReleaseAsset.html" title="struct f3_rs::release::ReleaseAsset">ReleaseAsset</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use repository::<a class="struct" href="repository/struct.Repository.html" title="struct f3_rs::repository::Repository">Repository</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use review::<a class="struct" href="review/struct.Review.html" title="struct f3_rs::review::Review">Review</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use review::<a class="struct" href="review/struct.ReviewComment.html" title="struct f3_rs::review::ReviewComment">ReviewComment</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use review::<a class="enum" href="review/enum.ReviewState.html" title="enum f3_rs::review::ReviewState">ReviewState</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use topic::<a class="struct" href="topic/struct.Topic.html" title="struct f3_rs::topic::Topic">Topic</a>;</code></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left import-item"><code>pub use user::<a class="struct" href="user/struct.User.html" title="struct f3_rs::user::User">User</a>;</code></div><div class="item-right docblock-short"></div></div></div><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2>
|
||||
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="mod" href="comment/index.html" title="f3_rs::comment mod">comment</a></div><div class="item-right docblock-short"><p>Comments associated to an issue or a pull/merge request within the repository of a forge
|
||||
(Gitea, GitLab, etc.)</p>
|
||||
</div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="identities/index.html" title="f3_rs::identities mod">identities</a></div><div class="item-right docblock-short"><p>Pairs of identities mapping one forge to another.</p>
|
||||
|
@ -20,6 +20,7 @@ This is an incomplete Rust port of the F3 library created by the ForgeFriends pr
|
|||
</div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="reaction/index.html" title="f3_rs::reaction mod">reaction</a></div><div class="item-right docblock-short"><p>Reaction associated to an issue or a comment</p>
|
||||
</div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="release/index.html" title="f3_rs::release mod">release</a></div><div class="item-right docblock-short"><p>Assets that constitute a release for a given tag.</p>
|
||||
</div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="repository/index.html" title="f3_rs::repository mod">repository</a></div><div class="item-right docblock-short"><p>VCS repository relative to a project.</p>
|
||||
</div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="review/index.html" title="f3_rs::review mod">review</a></div><div class="item-right docblock-short"><p>A set of review comments on a pull/merge request.</p>
|
||||
</div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="topic/index.html" title="f3_rs::topic mod">topic</a></div><div class="item-right docblock-short"><p>A list of categories associated with a project.</p>
|
||||
</div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="user/index.html" title="f3_rs::user mod">user</a></div><div class="item-right docblock-short"><p>A forge user</p>
|
||||
</div></div></div><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2>
|
||||
|
|
36
f3_rs/review/enum.ReviewState.html
Normal file
36
f3_rs/review/enum.ReviewState.html
Normal file
File diff suppressed because one or more lines are too long
14
f3_rs/review/index.html
Normal file
14
f3_rs/review/index.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A set of review comments on a pull/merge request."><meta name="keywords" content="rust, rustlang, rust-lang, review"><title>f3_rs::review - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script src="../../crates.js"></script><script defer src="../../main.js"></script>
|
||||
<noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="sidebar-logo" href="../../f3_rs/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
|
||||
</a><h2 class="location"></h2>
|
||||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../../f3_rs/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
|
||||
</a><h2 class="location"><a href="#">Module review</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div></section><div id="sidebar-vars" data-name="review" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../f3_rs/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
|
||||
<h1 class="fqn"><span class="in-band">Module <a href="../index.html">f3_rs</a>::<wbr><a class="mod" href="#">review</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/f3_rs/review.rs.html#17-112">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A set of review comments on a pull/merge request.</p>
|
||||
</div></details><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
|
||||
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Review.html" title="f3_rs::review::Review struct">Review</a></div><div class="item-right docblock-short"><p>A set of review comments on a pull/merge request.</p>
|
||||
</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ReviewComment.html" title="f3_rs::review::ReviewComment struct">ReviewComment</a></div><div class="item-right docblock-short"><p>A comment in the context of a review.</p>
|
||||
</div></div></div><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2>
|
||||
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.ReviewState.html" title="f3_rs::review::ReviewState enum">ReviewState</a></div><div class="item-right docblock-short"><p>State of the review.</p>
|
||||
</div></div></div></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="f3_rs" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
</body></html>
|
1
f3_rs/review/sidebar-items.js
Normal file
1
f3_rs/review/sidebar-items.js
Normal file
|
@ -0,0 +1 @@
|
|||
initSidebarItems({"enum":[["ReviewState","State of the review."]],"struct":[["Review","A set of review comments on a pull/merge request."],["ReviewComment","A comment in the context of a review."]]});
|
50
f3_rs/review/struct.Review.html
Normal file
50
f3_rs/review/struct.Review.html
Normal file
File diff suppressed because one or more lines are too long
63
f3_rs/review/struct.ReviewComment.html
Normal file
63
f3_rs/review/struct.ReviewComment.html
Normal file
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
initSidebarItems({"enum":[["OpenCloseState","states of issue, milestone, etc with only “open” and “closed” states and “closed” states and “closed” states and “closed” states"]],"mod":[["comment","Comments associated to an issue or a pull/merge request within the repository of a forge (Gitea, GitLab, etc.)"],["identities","Pairs of identities mapping one forge to another."],["issue","Issues associated to a repository within a forge (Gitea, GitLab, etc.)."],["label","Label associated to an issue or a comment"],["milestone","Milestone associated to a repository within a forge"],["project","A software project that resides on a forge (Gitea, GitLab, etc.)."],["pullrequest","Pull requests associated to a repository within a forge (Gitea, GitLab, etc.)"],["reaction","Reaction associated to an issue or a comment"],["release","Assets that constitute a release for a given tag."],["repository","VCS repository relative to a project."],["topic","A list of categories associated with a project."],["user","A forge user"]]});
|
||||
initSidebarItems({"enum":[["OpenCloseState","states of issue, milestone, etc with only “open” and “closed” states and “closed” states and “closed” states and “closed” states"]],"mod":[["comment","Comments associated to an issue or a pull/merge request within the repository of a forge (Gitea, GitLab, etc.)"],["identities","Pairs of identities mapping one forge to another."],["issue","Issues associated to a repository within a forge (Gitea, GitLab, etc.)."],["label","Label associated to an issue or a comment"],["milestone","Milestone associated to a repository within a forge"],["project","A software project that resides on a forge (Gitea, GitLab, etc.)."],["pullrequest","Pull requests associated to a repository within a forge (Gitea, GitLab, etc.)"],["reaction","Reaction associated to an issue or a comment"],["release","Assets that constitute a release for a given tag."],["repository","VCS repository relative to a project."],["review","A set of review comments on a pull/merge request."],["topic","A list of categories associated with a project."],["user","A forge user"]]});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
(function() {var implementors = {};
|
||||
implementors["f3_rs"] = [{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/comment/struct.Comment.html\" title=\"struct f3_rs::comment::Comment\">Comment</a>","synthetic":true,"types":["f3_rs::comment::Comment"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/identities/struct.Identities.html\" title=\"struct f3_rs::identities::Identities\">Identities</a>","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/issue/struct.Issue.html\" title=\"struct f3_rs::issue::Issue\">Issue</a>","synthetic":true,"types":["f3_rs::issue::Issue"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/label/struct.Label.html\" title=\"struct f3_rs::label::Label\">Label</a>","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/milestone/struct.Milestone.html\" title=\"struct f3_rs::milestone::Milestone\">Milestone</a>","synthetic":true,"types":["f3_rs::milestone::Milestone"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/project/struct.Project.html\" title=\"struct f3_rs::project::Project\">Project</a>","synthetic":true,"types":["f3_rs::project::Project"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/pullrequest/struct.PullRequest.html\" title=\"struct f3_rs::pullrequest::PullRequest\">PullRequest</a>","synthetic":true,"types":["f3_rs::pullrequest::PullRequest"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/pullrequest/struct.PullRequestRef.html\" title=\"struct f3_rs::pullrequest::PullRequestRef\">PullRequestRef</a>","synthetic":true,"types":["f3_rs::pullrequest::PullRequestRef"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/reaction/struct.Reaction.html\" title=\"struct f3_rs::reaction::Reaction\">Reaction</a>","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/release/struct.Release.html\" title=\"struct f3_rs::release::Release\">Release</a>","synthetic":true,"types":["f3_rs::release::Release"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/release/struct.ReleaseAsset.html\" title=\"struct f3_rs::release::ReleaseAsset\">ReleaseAsset</a>","synthetic":true,"types":["f3_rs::release::ReleaseAsset"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/repository/struct.Repository.html\" title=\"struct f3_rs::repository::Repository\">Repository</a>","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/topic/struct.Topic.html\" title=\"struct f3_rs::topic::Topic\">Topic</a>","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/user/struct.User.html\" title=\"struct f3_rs::user::User\">User</a>","synthetic":true,"types":["f3_rs::user::User"]},{"text":"impl Freeze for <a class=\"enum\" href=\"f3_rs/enum.OpenCloseState.html\" title=\"enum f3_rs::OpenCloseState\">OpenCloseState</a>","synthetic":true,"types":["f3_rs::OpenCloseState"]}];
|
||||
implementors["f3_rs"] = [{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/comment/struct.Comment.html\" title=\"struct f3_rs::comment::Comment\">Comment</a>","synthetic":true,"types":["f3_rs::comment::Comment"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/identities/struct.Identities.html\" title=\"struct f3_rs::identities::Identities\">Identities</a>","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/issue/struct.Issue.html\" title=\"struct f3_rs::issue::Issue\">Issue</a>","synthetic":true,"types":["f3_rs::issue::Issue"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/label/struct.Label.html\" title=\"struct f3_rs::label::Label\">Label</a>","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/milestone/struct.Milestone.html\" title=\"struct f3_rs::milestone::Milestone\">Milestone</a>","synthetic":true,"types":["f3_rs::milestone::Milestone"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/project/struct.Project.html\" title=\"struct f3_rs::project::Project\">Project</a>","synthetic":true,"types":["f3_rs::project::Project"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/pullrequest/struct.PullRequest.html\" title=\"struct f3_rs::pullrequest::PullRequest\">PullRequest</a>","synthetic":true,"types":["f3_rs::pullrequest::PullRequest"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/pullrequest/struct.PullRequestRef.html\" title=\"struct f3_rs::pullrequest::PullRequestRef\">PullRequestRef</a>","synthetic":true,"types":["f3_rs::pullrequest::PullRequestRef"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/reaction/struct.Reaction.html\" title=\"struct f3_rs::reaction::Reaction\">Reaction</a>","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/release/struct.Release.html\" title=\"struct f3_rs::release::Release\">Release</a>","synthetic":true,"types":["f3_rs::release::Release"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/release/struct.ReleaseAsset.html\" title=\"struct f3_rs::release::ReleaseAsset\">ReleaseAsset</a>","synthetic":true,"types":["f3_rs::release::ReleaseAsset"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/repository/struct.Repository.html\" title=\"struct f3_rs::repository::Repository\">Repository</a>","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl Freeze for <a class=\"enum\" href=\"f3_rs/review/enum.ReviewState.html\" title=\"enum f3_rs::review::ReviewState\">ReviewState</a>","synthetic":true,"types":["f3_rs::review::ReviewState"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/review/struct.Review.html\" title=\"struct f3_rs::review::Review\">Review</a>","synthetic":true,"types":["f3_rs::review::Review"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/review/struct.ReviewComment.html\" title=\"struct f3_rs::review::ReviewComment\">ReviewComment</a>","synthetic":true,"types":["f3_rs::review::ReviewComment"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/topic/struct.Topic.html\" title=\"struct f3_rs::topic::Topic\">Topic</a>","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl Freeze for <a class=\"struct\" href=\"f3_rs/user/struct.User.html\" title=\"struct f3_rs::user::User\">User</a>","synthetic":true,"types":["f3_rs::user::User"]},{"text":"impl Freeze for <a class=\"enum\" href=\"f3_rs/enum.OpenCloseState.html\" title=\"enum f3_rs::OpenCloseState\">OpenCloseState</a>","synthetic":true,"types":["f3_rs::OpenCloseState"]}];
|
||||
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
var N = null;var sourcesIndex = {};
|
||||
sourcesIndex["f3_rs"] = {"name":"","files":["comment.rs","identities.rs","issue.rs","label.rs","lib.rs","milestone.rs","project.rs","pullrequest.rs","reaction.rs","release.rs","repository.rs","topic.rs","user.rs"]};
|
||||
sourcesIndex["f3_rs"] = {"name":"","files":["comment.rs","identities.rs","issue.rs","label.rs","lib.rs","milestone.rs","project.rs","pullrequest.rs","reaction.rs","release.rs","repository.rs","review.rs","topic.rs","user.rs"]};
|
||||
createSourceSidebar();
|
||||
|
|
|
@ -67,6 +67,8 @@
|
|||
<span id="62">62</span>
|
||||
<span id="63">63</span>
|
||||
<span id="64">64</span>
|
||||
<span id="65">65</span>
|
||||
<span id="66">66</span>
|
||||
</pre><pre class="rust"><code><span class="comment">/*
|
||||
* Copyright (C) 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
*
|
||||
|
@ -99,6 +101,7 @@
|
|||
<span class="kw">pub</span> <span class="kw">mod</span> <span class="ident">reaction</span>;
|
||||
<span class="kw">pub</span> <span class="kw">mod</span> <span class="ident">release</span>;
|
||||
<span class="kw">pub</span> <span class="kw">mod</span> <span class="ident">repository</span>;
|
||||
<span class="kw">pub</span> <span class="kw">mod</span> <span class="ident">review</span>;
|
||||
<span class="kw">pub</span> <span class="kw">mod</span> <span class="ident">topic</span>;
|
||||
<span class="kw">pub</span> <span class="kw">mod</span> <span class="ident">user</span>;
|
||||
|
||||
|
@ -110,8 +113,9 @@
|
|||
<span class="kw">pub</span> <span class="kw">use</span> <span class="ident">project::Project</span>;
|
||||
<span class="kw">pub</span> <span class="kw">use</span> <span class="ident">pullrequest::PullRequest</span>;
|
||||
<span class="kw">pub</span> <span class="kw">use</span> <span class="ident">reaction::Reaction</span>;
|
||||
<span class="kw">pub</span> <span class="kw">use</span> <span class="ident">release::ReleaseAsset</span>;
|
||||
<span class="kw">pub</span> <span class="kw">use</span> <span class="ident">release</span>::{<span class="ident">Release</span>, <span class="ident">ReleaseAsset</span>};
|
||||
<span class="kw">pub</span> <span class="kw">use</span> <span class="ident">repository::Repository</span>;
|
||||
<span class="kw">pub</span> <span class="kw">use</span> <span class="ident">review</span>::{<span class="ident">Review</span>, <span class="ident">ReviewComment</span>, <span class="ident">ReviewState</span>};
|
||||
<span class="kw">pub</span> <span class="kw">use</span> <span class="ident">topic::Topic</span>;
|
||||
<span class="kw">pub</span> <span class="kw">use</span> <span class="ident">user::User</span>;
|
||||
|
||||
|
|
232
src/f3_rs/review.rs.html
Normal file
232
src/f3_rs/review.rs.html
Normal file
|
@ -0,0 +1,232 @@
|
|||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Source of the Rust file `src/review.rs`."><meta name="keywords" content="rust, rustlang, rust-lang"><title>review.rs - source</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script src="../../crates.js"></script><script defer src="../../main.js"></script><script defer src="../../source-script.js"></script><script defer src="../../source-files.js"></script>
|
||||
<noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc source"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="sidebar-logo" href="../../f3_rs/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
|
||||
</a><h2 class="location"></h2>
|
||||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../../f3_rs/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
|
||||
</a></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../f3_rs/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="example-wrap"><pre class="line-numbers"><span id="1"> 1</span>
|
||||
<span id="2"> 2</span>
|
||||
<span id="3"> 3</span>
|
||||
<span id="4"> 4</span>
|
||||
<span id="5"> 5</span>
|
||||
<span id="6"> 6</span>
|
||||
<span id="7"> 7</span>
|
||||
<span id="8"> 8</span>
|
||||
<span id="9"> 9</span>
|
||||
<span id="10"> 10</span>
|
||||
<span id="11"> 11</span>
|
||||
<span id="12"> 12</span>
|
||||
<span id="13"> 13</span>
|
||||
<span id="14"> 14</span>
|
||||
<span id="15"> 15</span>
|
||||
<span id="16"> 16</span>
|
||||
<span id="17"> 17</span>
|
||||
<span id="18"> 18</span>
|
||||
<span id="19"> 19</span>
|
||||
<span id="20"> 20</span>
|
||||
<span id="21"> 21</span>
|
||||
<span id="22"> 22</span>
|
||||
<span id="23"> 23</span>
|
||||
<span id="24"> 24</span>
|
||||
<span id="25"> 25</span>
|
||||
<span id="26"> 26</span>
|
||||
<span id="27"> 27</span>
|
||||
<span id="28"> 28</span>
|
||||
<span id="29"> 29</span>
|
||||
<span id="30"> 30</span>
|
||||
<span id="31"> 31</span>
|
||||
<span id="32"> 32</span>
|
||||
<span id="33"> 33</span>
|
||||
<span id="34"> 34</span>
|
||||
<span id="35"> 35</span>
|
||||
<span id="36"> 36</span>
|
||||
<span id="37"> 37</span>
|
||||
<span id="38"> 38</span>
|
||||
<span id="39"> 39</span>
|
||||
<span id="40"> 40</span>
|
||||
<span id="41"> 41</span>
|
||||
<span id="42"> 42</span>
|
||||
<span id="43"> 43</span>
|
||||
<span id="44"> 44</span>
|
||||
<span id="45"> 45</span>
|
||||
<span id="46"> 46</span>
|
||||
<span id="47"> 47</span>
|
||||
<span id="48"> 48</span>
|
||||
<span id="49"> 49</span>
|
||||
<span id="50"> 50</span>
|
||||
<span id="51"> 51</span>
|
||||
<span id="52"> 52</span>
|
||||
<span id="53"> 53</span>
|
||||
<span id="54"> 54</span>
|
||||
<span id="55"> 55</span>
|
||||
<span id="56"> 56</span>
|
||||
<span id="57"> 57</span>
|
||||
<span id="58"> 58</span>
|
||||
<span id="59"> 59</span>
|
||||
<span id="60"> 60</span>
|
||||
<span id="61"> 61</span>
|
||||
<span id="62"> 62</span>
|
||||
<span id="63"> 63</span>
|
||||
<span id="64"> 64</span>
|
||||
<span id="65"> 65</span>
|
||||
<span id="66"> 66</span>
|
||||
<span id="67"> 67</span>
|
||||
<span id="68"> 68</span>
|
||||
<span id="69"> 69</span>
|
||||
<span id="70"> 70</span>
|
||||
<span id="71"> 71</span>
|
||||
<span id="72"> 72</span>
|
||||
<span id="73"> 73</span>
|
||||
<span id="74"> 74</span>
|
||||
<span id="75"> 75</span>
|
||||
<span id="76"> 76</span>
|
||||
<span id="77"> 77</span>
|
||||
<span id="78"> 78</span>
|
||||
<span id="79"> 79</span>
|
||||
<span id="80"> 80</span>
|
||||
<span id="81"> 81</span>
|
||||
<span id="82"> 82</span>
|
||||
<span id="83"> 83</span>
|
||||
<span id="84"> 84</span>
|
||||
<span id="85"> 85</span>
|
||||
<span id="86"> 86</span>
|
||||
<span id="87"> 87</span>
|
||||
<span id="88"> 88</span>
|
||||
<span id="89"> 89</span>
|
||||
<span id="90"> 90</span>
|
||||
<span id="91"> 91</span>
|
||||
<span id="92"> 92</span>
|
||||
<span id="93"> 93</span>
|
||||
<span id="94"> 94</span>
|
||||
<span id="95"> 95</span>
|
||||
<span id="96"> 96</span>
|
||||
<span id="97"> 97</span>
|
||||
<span id="98"> 98</span>
|
||||
<span id="99"> 99</span>
|
||||
<span id="100">100</span>
|
||||
<span id="101">101</span>
|
||||
<span id="102">102</span>
|
||||
<span id="103">103</span>
|
||||
<span id="104">104</span>
|
||||
<span id="105">105</span>
|
||||
<span id="106">106</span>
|
||||
<span id="107">107</span>
|
||||
<span id="108">108</span>
|
||||
<span id="109">109</span>
|
||||
<span id="110">110</span>
|
||||
<span id="111">111</span>
|
||||
<span id="112">112</span>
|
||||
</pre><pre class="rust"><code><span class="comment">/*
|
||||
* Copyright (C) 2023 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/>.
|
||||
*/</span>
|
||||
<span class="doccomment">//! A set of review comments on a pull/merge request.</span>
|
||||
<span class="kw">use</span> <span class="ident">serde</span>::{<span class="ident">Deserialize</span>, <span class="ident">Serialize</span>};
|
||||
|
||||
<span class="kw">use</span> <span class="ident"><span class="kw">crate</span>::Reaction</span>;
|
||||
|
||||
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Clone</span>, <span class="ident">Debug</span>, <span class="ident">Serialize</span>, <span class="ident">Deserialize</span>, <span class="ident">Eq</span>, <span class="ident">PartialEq</span>)]</span>
|
||||
<span class="attribute">#[<span class="ident">serde</span>(<span class="ident">rename_all</span> <span class="op">=</span> <span class="string">"UPPERCASE"</span>)]</span>
|
||||
<span class="doccomment">/// State of the review.</span>
|
||||
<span class="kw">pub</span> <span class="kw">enum</span> <span class="ident">ReviewState</span> {
|
||||
<span class="ident">Pending</span>,
|
||||
<span class="ident">Approved</span>,
|
||||
<span class="ident">ChangesRequested</span>,
|
||||
<span class="ident">Commented</span>,
|
||||
}
|
||||
|
||||
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Clone</span>, <span class="ident">Debug</span>, <span class="ident">Serialize</span>, <span class="ident">Deserialize</span>, <span class="ident">Eq</span>, <span class="ident">PartialEq</span>)]</span>
|
||||
<span class="doccomment">/// A set of review comments on a pull/merge request.</span>
|
||||
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">Review</span> {
|
||||
<span class="doccomment">/// Unique identifier of the review</span>
|
||||
<span class="kw">pub</span> <span class="ident">index</span>: <span class="ident">usize</span>,
|
||||
|
||||
<span class="doccomment">/// Unique identifier of the pull/merge request targeted by the review.</span>
|
||||
<span class="kw">pub</span> <span class="ident">issue_index</span>: <span class="ident">usize</span>,
|
||||
|
||||
<span class="doccomment">/// Unique identifer of review author.</span>
|
||||
<span class="kw">pub</span> <span class="ident">reviewer_id</span>: <span class="ident">usize</span>,
|
||||
|
||||
<span class="doccomment">/// True if a positive review counts to reach the required threshold.</span>
|
||||
<span class="kw">pub</span> <span class="ident">official</span>: <span class="prelude-ty">Option</span><span class="op"><</span><span class="ident">bool</span><span class="op">></span>,
|
||||
|
||||
<span class="doccomment">/// SHA of the commit targeted by the review.</span>
|
||||
<span class="kw">pub</span> <span class="ident">commit_id</span>: <span class="ident">String</span>,
|
||||
|
||||
<span class="doccomment">/// Cover message of the review.</span>
|
||||
<span class="kw">pub</span> <span class="ident">content</span>: <span class="ident">String</span>,
|
||||
|
||||
<span class="comment">// TODO: add validation for format "date-time"</span>
|
||||
<span class="doccomment">/// Creation time</span>
|
||||
<span class="kw">pub</span> <span class="ident">created_at</span>: <span class="ident">String</span>,
|
||||
|
||||
<span class="doccomment">/// State of the review.</span>
|
||||
<span class="kw">pub</span> <span class="ident">state</span>: <span class="ident">ReviewState</span>,
|
||||
|
||||
<span class="doccomment">/// Review comments inserted on a specific line of the commit.</span>
|
||||
<span class="kw">pub</span> <span class="ident">comments</span>: <span class="prelude-ty">Option</span><span class="op"><</span><span class="ident">Vec</span><span class="op"><</span><span class="ident">ReviewComment</span><span class="op">></span><span class="op">></span>,
|
||||
}
|
||||
|
||||
<span class="doccomment">/// A comment in the context of a review.</span>
|
||||
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Clone</span>, <span class="ident">Debug</span>, <span class="ident">Serialize</span>, <span class="ident">Deserialize</span>, <span class="ident">Eq</span>, <span class="ident">PartialEq</span>)]</span>
|
||||
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">ReviewComment</span> {
|
||||
<span class="doccomment">/// Unique identifier of the review comment.</span>
|
||||
<span class="kw">pub</span> <span class="ident">index</span>: <span class="ident">usize</span>,
|
||||
|
||||
<span class="doccomment">/// Unique identifier of the review comment replied to.</span>
|
||||
<span class="kw">pub</span> <span class="ident">in_reply_to</span>: <span class="ident">usize</span>,
|
||||
|
||||
<span class="doccomment">/// The text of the review comment</span>
|
||||
<span class="kw">pub</span> <span class="ident">content</span>: <span class="ident">String</span>,
|
||||
|
||||
<span class="doccomment">/// The relative path to the file that necessitates a comment.</span>
|
||||
<span class="kw">pub</span> <span class="ident">tree_path</span>: <span class="ident">String</span>,
|
||||
|
||||
<span class="doccomment">/// The hunk being commented on, which is the same as the patch only in a different format.</span>
|
||||
<span class="kw">pub</span> <span class="ident">diff_hunk</span>: <span class="ident">String</span>,
|
||||
|
||||
<span class="doccomment">/// The patch being commented on, which is the same as the diff_hunk only in a different</span>
|
||||
<span class="doccomment">/// format.</span>
|
||||
<span class="kw">pub</span> <span class="ident">patch</span>: <span class="ident">String</span>,
|
||||
|
||||
<span class="doccomment">/// Equals the number of lines down from the first '@@' hunk header in the file you want to add</span>
|
||||
<span class="doccomment">/// a comment. The line just below the '@@' line is position 1, the next line is position 2,</span>
|
||||
<span class="doccomment">/// and so on. The position in the diff continues to increase through lines of whitespace and</span>
|
||||
<span class="doccomment">/// additional hunks until the beginning of a new file.",</span>
|
||||
<span class="kw">pub</span> <span class="ident">position</span>: <span class="ident">usize</span>,
|
||||
|
||||
<span class="doccomment">/// The line number of the comment in the tree_path</span>
|
||||
<span class="kw">pub</span> <span class="ident">line</span>: <span class="ident">usize</span>,
|
||||
|
||||
<span class="doccomment">/// The SHA of the commit needing a comment. Not using the latest commit SHA may render your</span>
|
||||
<span class="doccomment">/// comment outdated if a subsequent commit modifies the line you specify as the position.</span>
|
||||
<span class="kw">pub</span> <span class="ident">commit_id</span>: <span class="ident">String</span>,
|
||||
|
||||
<span class="doccomment">/// Unique identifier of the user who authored the comment.</span>
|
||||
<span class="kw">pub</span> <span class="ident">poster_id</span>: <span class="ident">usize</span>,
|
||||
|
||||
<span class="comment">// TODO: add validation for format "date-time"</span>
|
||||
<span class="doccomment">/// Creation time</span>
|
||||
<span class="kw">pub</span> <span class="ident">created_at</span>: <span class="ident">String</span>,
|
||||
|
||||
<span class="comment">// TODO: add validation for format "date-time"</span>
|
||||
<span class="doccomment">/// Last update time</span>
|
||||
<span class="kw">pub</span> <span class="ident">updated_at</span>: <span class="ident">String</span>,
|
||||
|
||||
<span class="doccomment">/// List of reactions</span>
|
||||
<span class="kw">pub</span> <span class="ident">reactions</span>: <span class="prelude-ty">Option</span><span class="op"><</span><span class="ident">Vec</span><span class="op"><</span><span class="ident">Reaction</span><span class="op">></span><span class="op">></span>,
|
||||
}
|
||||
</code></pre></div>
|
||||
</section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="f3_rs" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
</body></html>
|
Loading…
Reference in a new issue