diff --git a/f3_rs/all.html b/f3_rs/all.html index 7ba8334..1284126 100644 --- a/f3_rs/all.html +++ b/f3_rs/all.html @@ -3,5 +3,5 @@

List of all items

Structs

+

Crate f3_rs

List of all items

Structs

Enums

\ No newline at end of file diff --git a/f3_rs/comment/index.html b/f3_rs/comment/index.html new file mode 100644 index 0000000..b1c6b2e --- /dev/null +++ b/f3_rs/comment/index.html @@ -0,0 +1,12 @@ +f3_rs::comment - Rust + +
+

Module f3_rs::comment

source · []
Expand description

Comments associated to an issue or a pull/merge request within the repository of a forge +(Gitea, GitLab, etc.).“,

+

Structs

+

Comments associated to an issue or a pull/merge request within the repository of a forge (Gitea, GitLab, etc.).“,

+
+ \ No newline at end of file diff --git a/f3_rs/comment/sidebar-items.js b/f3_rs/comment/sidebar-items.js new file mode 100644 index 0000000..c2a58b3 --- /dev/null +++ b/f3_rs/comment/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"struct":[["Comment","Comments associated to an issue or a pull/merge request within the repository of a forge (Gitea, GitLab, etc.).“,"]]}); \ No newline at end of file diff --git a/f3_rs/comment/struct.Comment.html b/f3_rs/comment/struct.Comment.html new file mode 100644 index 0000000..5fc7ad0 --- /dev/null +++ b/f3_rs/comment/struct.Comment.html @@ -0,0 +1,47 @@ +Comment in f3_rs::comment - Rust + +
pub struct Comment {
+    pub issue_index: usize,
+    pub index: usize,
+    pub poster_id: usize,
+    pub created: String,
+    pub updated: String,
+    pub content: String,
+    pub reactions: Option<Vec<Reaction>>,
+}
Expand description

Comments associated to an issue or a pull/merge request within the repository of a forge (Gitea, GitLab, etc.).“,

+

Fields

issue_index: usize

Unique identifier of the issue or pull/merge request containing the comment

+
index: usize

Unique identifier of the comment

+
poster_id: usize

Unique identifier of the user who authored the comment

+
created: String

Creating time

+
updated: String

Last update time

+
content: String

Multiline content of the comment

+
reactions: Option<Vec<Reaction>>

Multiline content of the comment

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used +by ==. Read more

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

+
🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
+ \ No newline at end of file diff --git a/f3_rs/enum.OpenCloseState.html b/f3_rs/enum.OpenCloseState.html new file mode 100644 index 0000000..13b2ff5 --- /dev/null +++ b/f3_rs/enum.OpenCloseState.html @@ -0,0 +1,38 @@ +OpenCloseState in f3_rs - Rust + +
pub enum OpenCloseState {
+    Closed,
+    Open,
+}
Expand description

states of issue, milestone, etc with only “open” and “closed” states and “closed” states and +“closed” states and “closed” states

+

Variants

Closed

A ‘closed’ issue will not see any activity in the future

+

Open

An ‘open’ issue will see activity in the future

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used +by ==. Read more

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

+
🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
+ \ No newline at end of file diff --git a/f3_rs/identities/struct.Identities.html b/f3_rs/identities/struct.Identities.html index 84226bf..1954903 100644 --- a/f3_rs/identities/struct.Identities.html +++ b/f3_rs/identities/struct.Identities.html @@ -3,7 +3,7 @@

+

Identities

pub struct Identities {
     pub pairs: Vec<usize>,
 }
Expand description

Pairs of identities mapping one forge to another. The first element is the id in the source @@ -15,8 +15,11 @@ in the destination forge.

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used +by ==. Read more

+

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

diff --git a/f3_rs/index.html b/f3_rs/index.html index b53007a..db0ad8b 100644 --- a/f3_rs/index.html +++ b/f3_rs/index.html @@ -3,17 +3,24 @@

-

Crate f3_rs

source · []
Expand description

Welcome to F3 Documentation!

+

Crate f3_rs

+

Crate f3_rs

source · []
Expand description

Welcome to F3 Documentation!

Please refer to the main documentation for a complete overview. This is an incomplete Rust port of the F3 library created by the ForgeFriends project.

Re-exports

-
pub use identities::Identities;
pub use label::Label;
pub use reaction::Reaction;
pub use repository::Repository;
pub use topic::Topic;
pub use user::User;

Modules

-

Pairs of identities mapping one forge to another.

+
pub use comment::Comment;
pub use identities::Identities;
pub use issue::Issue;
pub use label::Label;
pub use milestone::Milestone;
pub use reaction::Reaction;
pub use repository::Repository;
pub use topic::Topic;
pub use user::User;

Modules

+

Comments associated to an issue or a pull/merge request within the repository of a forge +(Gitea, GitLab, etc.).“,

+

Pairs of identities mapping one forge to another.

+

Issues associated to a repository within a forge (Gitea, GitLab, etc.).

Label associated to an issue or a comment

+

Milestone associated to a repository within a forge

Reaction associated to an issue or a comment

VCS repository relative to a project.

A list of categories associated with a project.

A forge user

+

Enums

+

states of issue, milestone, etc with only “open” and “closed” states and “closed” states and +“closed” states and “closed” states

\ No newline at end of file diff --git a/f3_rs/issue/index.html b/f3_rs/issue/index.html new file mode 100644 index 0000000..67b9fe3 --- /dev/null +++ b/f3_rs/issue/index.html @@ -0,0 +1,11 @@ +f3_rs::issue - Rust + +
+

Module f3_rs::issue

source · []
Expand description

Issues associated to a repository within a forge (Gitea, GitLab, etc.).

+

Structs

+

Issues associated to a repository within a forge (Gitea, GitLab, etc.).

+
+ \ No newline at end of file diff --git a/f3_rs/issue/sidebar-items.js b/f3_rs/issue/sidebar-items.js new file mode 100644 index 0000000..4fb49cf --- /dev/null +++ b/f3_rs/issue/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"struct":[["Issue","Issues associated to a repository within a forge (Gitea, GitLab, etc.)."]]}); \ No newline at end of file diff --git a/f3_rs/issue/struct.Issue.html b/f3_rs/issue/struct.Issue.html new file mode 100644 index 0000000..701309c --- /dev/null +++ b/f3_rs/issue/struct.Issue.html @@ -0,0 +1,64 @@ +Issue in f3_rs::issue - Rust + +
+

Struct f3_rs::issue::Issue

source · []
pub struct Issue {
Show 14 fields + pub index: usize, + pub poster_id: usize, + pub title: String, + pub content: String, + pub reference: Option<String>, + pub milestone: Option<String>, + pub state: OpenCloseState, + pub is_locked: bool, + pub created: String, + pub updated: String, + pub closed: Option<String>, + pub labels: Option<Vec<String>>, + pub reactions: Option<Vec<Reaction>>, + pub assignees: Option<Vec<String>>, +
}
Expand description

Issues associated to a repository within a forge (Gitea, GitLab, etc.).

+

Fields

index: usize

Unique identifier, relative to the repository

+
poster_id: usize

Unique identifier of the user who authored the issue.

+
title: String

Short description displayed as the title.

+
content: String

Long, multiline, description

+
reference: Option<String>

Target branch in the repository.

+

NOTE: Actual property is called “ref” but it is a keyword in Rust so we are using +“reference”. However, “reference” will automatically be renamed to “ref” while serializing +and vice versa

+
milestone: Option<String>

Name of the milestone

+
state: OpenCloseState

state of the issue

+
is_locked: bool

A locked issue can only be modified by privileged users

+
created: String

Creating time

+
updated: String

Last update time

+
closed: Option<String>

The last time ‘state’ changed to ‘closed’

+
labels: Option<Vec<String>>

List of labels.

+
reactions: Option<Vec<Reaction>>

Multiline content of the comment

+
assignees: Option<Vec<String>>

List of assignees.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used +by ==. Read more

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

+
🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
+ \ No newline at end of file diff --git a/f3_rs/label/struct.Label.html b/f3_rs/label/struct.Label.html index 33f57bc..a72e308 100644 --- a/f3_rs/label/struct.Label.html +++ b/f3_rs/label/struct.Label.html @@ -3,7 +3,7 @@

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used +by ==. Read more

+

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

diff --git a/f3_rs/milestone/index.html b/f3_rs/milestone/index.html new file mode 100644 index 0000000..f91f81f --- /dev/null +++ b/f3_rs/milestone/index.html @@ -0,0 +1,11 @@ +f3_rs::milestone - Rust + +
Expand description

Milestone associated to a repository within a forge

+

Structs

+

Milestone associated to a repository within a forge

+
+ \ No newline at end of file diff --git a/f3_rs/milestone/sidebar-items.js b/f3_rs/milestone/sidebar-items.js new file mode 100644 index 0000000..22ff72c --- /dev/null +++ b/f3_rs/milestone/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"struct":[["Milestone","Milestone associated to a repository within a forge"]]}); \ No newline at end of file diff --git a/f3_rs/milestone/struct.Milestone.html b/f3_rs/milestone/struct.Milestone.html new file mode 100644 index 0000000..e626d80 --- /dev/null +++ b/f3_rs/milestone/struct.Milestone.html @@ -0,0 +1,49 @@ +Milestone in f3_rs::milestone - Rust + +
pub struct Milestone {
+    pub index: usize,
+    pub title: String,
+    pub description: String,
+    pub deadline: Option<String>,
+    pub created: String,
+    pub updated: String,
+    pub closed: String,
+    pub state: OpenCloseState,
+}
Expand description

Milestone associated to a repository within a forge

+

Fields

index: usize

Unique identifier

+
title: String

Short description

+
description: String

Long, multiline, description

+
deadline: Option<String>

Deadline after which the milestone is overdue

+
created: String

Creating time

+
updated: String

Last update time

+
closed: String

The last time ‘state’ changed to ‘closed’

+
state: OpenCloseState

A ‘closed’ milestone will not see any activity in the future, otherwise it is ‘open’.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used +by ==. Read more

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

+
🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
+ \ No newline at end of file diff --git a/f3_rs/reaction/struct.Reaction.html b/f3_rs/reaction/struct.Reaction.html index 7dd12e4..e65c9f5 100644 --- a/f3_rs/reaction/struct.Reaction.html +++ b/f3_rs/reaction/struct.Reaction.html @@ -3,7 +3,7 @@

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used +by ==. Read more

+

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used +by ==. Read more

+

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

diff --git a/f3_rs/sidebar-items.js b/f3_rs/sidebar-items.js index d315147..baeefc0 100644 --- a/f3_rs/sidebar-items.js +++ b/f3_rs/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"mod":[["identities","Pairs of identities mapping one forge to another."],["label","Label associated to an issue or a comment"],["reaction","Reaction associated to an issue or a comment"],["repository","VCS repository relative to a project."],["topic","A list of categories associated with a project."],["user","A forge user"]]}); \ No newline at end of file +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"],["reaction","Reaction associated to an issue or a comment"],["repository","VCS repository relative to a project."],["topic","A list of categories associated with a project."],["user","A forge user"]]}); \ No newline at end of file diff --git a/f3_rs/topic/struct.Topic.html b/f3_rs/topic/struct.Topic.html index 36564ef..d1aabae 100644 --- a/f3_rs/topic/struct.Topic.html +++ b/f3_rs/topic/struct.Topic.html @@ -3,7 +3,7 @@

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used +by ==. Read more

+

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used +by ==. Read more

+

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

diff --git a/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index d3017bc..52eca28 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["f3_rs"] = [{"text":"impl Clone for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl Clone for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl Clone for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Clone for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl Clone for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl Clone for User","synthetic":false,"types":["f3_rs::user::User"]}]; +implementors["f3_rs"] = [{"text":"impl Clone for Comment","synthetic":false,"types":["f3_rs::comment::Comment"]},{"text":"impl Clone for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl Clone for Issue","synthetic":false,"types":["f3_rs::issue::Issue"]},{"text":"impl Clone for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl Clone for Milestone","synthetic":false,"types":["f3_rs::milestone::Milestone"]},{"text":"impl Clone for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Clone for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl Clone for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl Clone for User","synthetic":false,"types":["f3_rs::user::User"]},{"text":"impl Clone for OpenCloseState","synthetic":false,"types":["f3_rs::OpenCloseState"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.Eq.js b/implementors/core/cmp/trait.Eq.js new file mode 100644 index 0000000..16423a3 --- /dev/null +++ b/implementors/core/cmp/trait.Eq.js @@ -0,0 +1,3 @@ +(function() {var implementors = {}; +implementors["f3_rs"] = [{"text":"impl Eq for Comment","synthetic":false,"types":["f3_rs::comment::Comment"]},{"text":"impl Eq for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl Eq for Issue","synthetic":false,"types":["f3_rs::issue::Issue"]},{"text":"impl Eq for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl Eq for Milestone","synthetic":false,"types":["f3_rs::milestone::Milestone"]},{"text":"impl Eq for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Eq for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl Eq for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl Eq for User","synthetic":false,"types":["f3_rs::user::User"]},{"text":"impl Eq for OpenCloseState","synthetic":false,"types":["f3_rs::OpenCloseState"]}]; +if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.PartialEq.js b/implementors/core/cmp/trait.PartialEq.js new file mode 100644 index 0000000..ec3f08c --- /dev/null +++ b/implementors/core/cmp/trait.PartialEq.js @@ -0,0 +1,3 @@ +(function() {var implementors = {}; +implementors["f3_rs"] = [{"text":"impl PartialEq<Comment> for Comment","synthetic":false,"types":["f3_rs::comment::Comment"]},{"text":"impl PartialEq<Identities> for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl PartialEq<Issue> for Issue","synthetic":false,"types":["f3_rs::issue::Issue"]},{"text":"impl PartialEq<Label> for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl PartialEq<Milestone> for Milestone","synthetic":false,"types":["f3_rs::milestone::Milestone"]},{"text":"impl PartialEq<Reaction> for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl PartialEq<Repository> for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl PartialEq<Topic> for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl PartialEq<User> for User","synthetic":false,"types":["f3_rs::user::User"]},{"text":"impl PartialEq<OpenCloseState> for OpenCloseState","synthetic":false,"types":["f3_rs::OpenCloseState"]}]; +if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/default/trait.Default.js b/implementors/core/default/trait.Default.js index 9f79955..9a32723 100644 --- a/implementors/core/default/trait.Default.js +++ b/implementors/core/default/trait.Default.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["f3_rs"] = [{"text":"impl Default for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl Default for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl Default for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Default for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl Default for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl Default for User","synthetic":false,"types":["f3_rs::user::User"]}]; +implementors["f3_rs"] = [{"text":"impl Default for Comment","synthetic":false,"types":["f3_rs::comment::Comment"]},{"text":"impl Default for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl Default for Issue","synthetic":false,"types":["f3_rs::issue::Issue"]},{"text":"impl Default for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl Default for Milestone","synthetic":false,"types":["f3_rs::milestone::Milestone"]},{"text":"impl Default for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Default for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl Default for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl Default for User","synthetic":false,"types":["f3_rs::user::User"]},{"text":"impl Default for OpenCloseState","synthetic":false,"types":["f3_rs::OpenCloseState"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Debug.js b/implementors/core/fmt/trait.Debug.js index fd30e85..7579996 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["f3_rs"] = [{"text":"impl Debug for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl Debug for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl Debug for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Debug for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl Debug for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl Debug for User","synthetic":false,"types":["f3_rs::user::User"]}]; +implementors["f3_rs"] = [{"text":"impl Debug for Comment","synthetic":false,"types":["f3_rs::comment::Comment"]},{"text":"impl Debug for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl Debug for Issue","synthetic":false,"types":["f3_rs::issue::Issue"]},{"text":"impl Debug for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl Debug for Milestone","synthetic":false,"types":["f3_rs::milestone::Milestone"]},{"text":"impl Debug for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Debug for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl Debug for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl Debug for User","synthetic":false,"types":["f3_rs::user::User"]},{"text":"impl Debug for OpenCloseState","synthetic":false,"types":["f3_rs::OpenCloseState"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Freeze.js b/implementors/core/marker/trait.Freeze.js index ca61e2b..e761b3f 100644 --- a/implementors/core/marker/trait.Freeze.js +++ b/implementors/core/marker/trait.Freeze.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["f3_rs"] = [{"text":"impl Freeze for Identities","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl Freeze for Label","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl Freeze for Reaction","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Freeze for Repository","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl Freeze for Topic","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl Freeze for User","synthetic":true,"types":["f3_rs::user::User"]}]; +implementors["f3_rs"] = [{"text":"impl Freeze for Comment","synthetic":true,"types":["f3_rs::comment::Comment"]},{"text":"impl Freeze for Identities","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl Freeze for Issue","synthetic":true,"types":["f3_rs::issue::Issue"]},{"text":"impl Freeze for Label","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl Freeze for Milestone","synthetic":true,"types":["f3_rs::milestone::Milestone"]},{"text":"impl Freeze for Reaction","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Freeze for Repository","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl Freeze for Topic","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl Freeze for User","synthetic":true,"types":["f3_rs::user::User"]},{"text":"impl Freeze for OpenCloseState","synthetic":true,"types":["f3_rs::OpenCloseState"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Send.js b/implementors/core/marker/trait.Send.js index a6e40ba..d8847e7 100644 --- a/implementors/core/marker/trait.Send.js +++ b/implementors/core/marker/trait.Send.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["f3_rs"] = [{"text":"impl Send for Identities","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl Send for Label","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl Send for Reaction","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Send for Repository","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl Send for Topic","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl Send for User","synthetic":true,"types":["f3_rs::user::User"]}]; +implementors["f3_rs"] = [{"text":"impl Send for Comment","synthetic":true,"types":["f3_rs::comment::Comment"]},{"text":"impl Send for Identities","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl Send for Issue","synthetic":true,"types":["f3_rs::issue::Issue"]},{"text":"impl Send for Label","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl Send for Milestone","synthetic":true,"types":["f3_rs::milestone::Milestone"]},{"text":"impl Send for Reaction","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Send for Repository","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl Send for Topic","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl Send for User","synthetic":true,"types":["f3_rs::user::User"]},{"text":"impl Send for OpenCloseState","synthetic":true,"types":["f3_rs::OpenCloseState"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralEq.js b/implementors/core/marker/trait.StructuralEq.js new file mode 100644 index 0000000..fc1ad52 --- /dev/null +++ b/implementors/core/marker/trait.StructuralEq.js @@ -0,0 +1,3 @@ +(function() {var implementors = {}; +implementors["f3_rs"] = [{"text":"impl StructuralEq for Comment","synthetic":false,"types":["f3_rs::comment::Comment"]},{"text":"impl StructuralEq for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl StructuralEq for Issue","synthetic":false,"types":["f3_rs::issue::Issue"]},{"text":"impl StructuralEq for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl StructuralEq for Milestone","synthetic":false,"types":["f3_rs::milestone::Milestone"]},{"text":"impl StructuralEq for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl StructuralEq for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl StructuralEq for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl StructuralEq for User","synthetic":false,"types":["f3_rs::user::User"]},{"text":"impl StructuralEq for OpenCloseState","synthetic":false,"types":["f3_rs::OpenCloseState"]}]; +if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralPartialEq.js b/implementors/core/marker/trait.StructuralPartialEq.js new file mode 100644 index 0000000..c837ae8 --- /dev/null +++ b/implementors/core/marker/trait.StructuralPartialEq.js @@ -0,0 +1,3 @@ +(function() {var implementors = {}; +implementors["f3_rs"] = [{"text":"impl StructuralPartialEq for Comment","synthetic":false,"types":["f3_rs::comment::Comment"]},{"text":"impl StructuralPartialEq for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl StructuralPartialEq for Issue","synthetic":false,"types":["f3_rs::issue::Issue"]},{"text":"impl StructuralPartialEq for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl StructuralPartialEq for Milestone","synthetic":false,"types":["f3_rs::milestone::Milestone"]},{"text":"impl StructuralPartialEq for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl StructuralPartialEq for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl StructuralPartialEq for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl StructuralPartialEq for User","synthetic":false,"types":["f3_rs::user::User"]},{"text":"impl StructuralPartialEq for OpenCloseState","synthetic":false,"types":["f3_rs::OpenCloseState"]}]; +if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Sync.js b/implementors/core/marker/trait.Sync.js index 8ba212e..2ae71f8 100644 --- a/implementors/core/marker/trait.Sync.js +++ b/implementors/core/marker/trait.Sync.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["f3_rs"] = [{"text":"impl Sync for Identities","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl Sync for Label","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl Sync for Reaction","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Sync for Repository","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl Sync for Topic","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl Sync for User","synthetic":true,"types":["f3_rs::user::User"]}]; +implementors["f3_rs"] = [{"text":"impl Sync for Comment","synthetic":true,"types":["f3_rs::comment::Comment"]},{"text":"impl Sync for Identities","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl Sync for Issue","synthetic":true,"types":["f3_rs::issue::Issue"]},{"text":"impl Sync for Label","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl Sync for Milestone","synthetic":true,"types":["f3_rs::milestone::Milestone"]},{"text":"impl Sync for Reaction","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Sync for Repository","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl Sync for Topic","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl Sync for User","synthetic":true,"types":["f3_rs::user::User"]},{"text":"impl Sync for OpenCloseState","synthetic":true,"types":["f3_rs::OpenCloseState"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Unpin.js b/implementors/core/marker/trait.Unpin.js index e50e7b2..5afd877 100644 --- a/implementors/core/marker/trait.Unpin.js +++ b/implementors/core/marker/trait.Unpin.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["f3_rs"] = [{"text":"impl Unpin for Identities","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl Unpin for Label","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl Unpin for Reaction","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Unpin for Repository","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl Unpin for Topic","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl Unpin for User","synthetic":true,"types":["f3_rs::user::User"]}]; +implementors["f3_rs"] = [{"text":"impl Unpin for Comment","synthetic":true,"types":["f3_rs::comment::Comment"]},{"text":"impl Unpin for Identities","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl Unpin for Issue","synthetic":true,"types":["f3_rs::issue::Issue"]},{"text":"impl Unpin for Label","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl Unpin for Milestone","synthetic":true,"types":["f3_rs::milestone::Milestone"]},{"text":"impl Unpin for Reaction","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Unpin for Repository","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl Unpin for Topic","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl Unpin for User","synthetic":true,"types":["f3_rs::user::User"]},{"text":"impl Unpin for OpenCloseState","synthetic":true,"types":["f3_rs::OpenCloseState"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js index 1f46aa0..b2f9249 100644 --- a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["f3_rs"] = [{"text":"impl RefUnwindSafe for Identities","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl RefUnwindSafe for Label","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl RefUnwindSafe for Reaction","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl RefUnwindSafe for Repository","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl RefUnwindSafe for Topic","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl RefUnwindSafe for User","synthetic":true,"types":["f3_rs::user::User"]}]; +implementors["f3_rs"] = [{"text":"impl RefUnwindSafe for Comment","synthetic":true,"types":["f3_rs::comment::Comment"]},{"text":"impl RefUnwindSafe for Identities","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl RefUnwindSafe for Issue","synthetic":true,"types":["f3_rs::issue::Issue"]},{"text":"impl RefUnwindSafe for Label","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl RefUnwindSafe for Milestone","synthetic":true,"types":["f3_rs::milestone::Milestone"]},{"text":"impl RefUnwindSafe for Reaction","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl RefUnwindSafe for Repository","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl RefUnwindSafe for Topic","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl RefUnwindSafe for User","synthetic":true,"types":["f3_rs::user::User"]},{"text":"impl RefUnwindSafe for OpenCloseState","synthetic":true,"types":["f3_rs::OpenCloseState"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js index 2012504..da94979 100644 --- a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["f3_rs"] = [{"text":"impl UnwindSafe for Identities","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl UnwindSafe for Label","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl UnwindSafe for Reaction","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl UnwindSafe for Repository","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl UnwindSafe for Topic","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl UnwindSafe for User","synthetic":true,"types":["f3_rs::user::User"]}]; +implementors["f3_rs"] = [{"text":"impl UnwindSafe for Comment","synthetic":true,"types":["f3_rs::comment::Comment"]},{"text":"impl UnwindSafe for Identities","synthetic":true,"types":["f3_rs::identities::Identities"]},{"text":"impl UnwindSafe for Issue","synthetic":true,"types":["f3_rs::issue::Issue"]},{"text":"impl UnwindSafe for Label","synthetic":true,"types":["f3_rs::label::Label"]},{"text":"impl UnwindSafe for Milestone","synthetic":true,"types":["f3_rs::milestone::Milestone"]},{"text":"impl UnwindSafe for Reaction","synthetic":true,"types":["f3_rs::reaction::Reaction"]},{"text":"impl UnwindSafe for Repository","synthetic":true,"types":["f3_rs::repository::Repository"]},{"text":"impl UnwindSafe for Topic","synthetic":true,"types":["f3_rs::topic::Topic"]},{"text":"impl UnwindSafe for User","synthetic":true,"types":["f3_rs::user::User"]},{"text":"impl UnwindSafe for OpenCloseState","synthetic":true,"types":["f3_rs::OpenCloseState"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/de/trait.Deserialize.js b/implementors/serde/de/trait.Deserialize.js index a9756ba..525ebfe 100644 --- a/implementors/serde/de/trait.Deserialize.js +++ b/implementors/serde/de/trait.Deserialize.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["f3_rs"] = [{"text":"impl<'de> Deserialize<'de> for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl<'de> Deserialize<'de> for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl<'de> Deserialize<'de> for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl<'de> Deserialize<'de> for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl<'de> Deserialize<'de> for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl<'de> Deserialize<'de> for User","synthetic":false,"types":["f3_rs::user::User"]}]; +implementors["f3_rs"] = [{"text":"impl<'de> Deserialize<'de> for Comment","synthetic":false,"types":["f3_rs::comment::Comment"]},{"text":"impl<'de> Deserialize<'de> for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl<'de> Deserialize<'de> for Issue","synthetic":false,"types":["f3_rs::issue::Issue"]},{"text":"impl<'de> Deserialize<'de> for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl<'de> Deserialize<'de> for Milestone","synthetic":false,"types":["f3_rs::milestone::Milestone"]},{"text":"impl<'de> Deserialize<'de> for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl<'de> Deserialize<'de> for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl<'de> Deserialize<'de> for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl<'de> Deserialize<'de> for User","synthetic":false,"types":["f3_rs::user::User"]},{"text":"impl<'de> Deserialize<'de> for OpenCloseState","synthetic":false,"types":["f3_rs::OpenCloseState"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/ser/trait.Serialize.js b/implementors/serde/ser/trait.Serialize.js index 05e12cd..e5080ee 100644 --- a/implementors/serde/ser/trait.Serialize.js +++ b/implementors/serde/ser/trait.Serialize.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["f3_rs"] = [{"text":"impl Serialize for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl Serialize for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl Serialize for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Serialize for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl Serialize for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl Serialize for User","synthetic":false,"types":["f3_rs::user::User"]}]; +implementors["f3_rs"] = [{"text":"impl Serialize for Comment","synthetic":false,"types":["f3_rs::comment::Comment"]},{"text":"impl Serialize for Identities","synthetic":false,"types":["f3_rs::identities::Identities"]},{"text":"impl Serialize for Issue","synthetic":false,"types":["f3_rs::issue::Issue"]},{"text":"impl Serialize for Label","synthetic":false,"types":["f3_rs::label::Label"]},{"text":"impl Serialize for Milestone","synthetic":false,"types":["f3_rs::milestone::Milestone"]},{"text":"impl Serialize for Reaction","synthetic":false,"types":["f3_rs::reaction::Reaction"]},{"text":"impl Serialize for Repository","synthetic":false,"types":["f3_rs::repository::Repository"]},{"text":"impl Serialize for Topic","synthetic":false,"types":["f3_rs::topic::Topic"]},{"text":"impl Serialize for User","synthetic":false,"types":["f3_rs::user::User"]},{"text":"impl Serialize for OpenCloseState","synthetic":false,"types":["f3_rs::OpenCloseState"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/search-index.js b/search-index.js index b1b834a..25f7d6a 100644 --- a/search-index.js +++ b/search-index.js @@ -1,4 +1,4 @@ var searchIndex = JSON.parse('{\ -"f3_rs":{"doc":"Welcome to F3 Documentation!","t":[0,0,0,0,0,0,3,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,3,11,11,11,11,12,11,12,11,11,11,12,11,12,11,11,11,11,11,3,11,11,11,11,12,11,11,11,11,12,11,11,11,11,11,11,12,3,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,3,11,11,11,11,11,11,11,11,12,11,12,11,11,11,11,11,3,11,11,11,11,11,11,12,11,11,12,11,12,12,11,11,11,11,11,12],"n":["identities","label","reaction","repository","topic","user","Identities","borrow","borrow_mut","clone","clone_into","default","deserialize","fmt","from","into","pairs","serialize","to_owned","try_from","try_into","type_id","Label","borrow","borrow_mut","clone","clone_into","color","default","description","deserialize","fmt","from","index","into","name","serialize","to_owned","try_from","try_into","type_id","Reaction","borrow","borrow_mut","clone","clone_into","content","default","deserialize","fmt","from","index","into","serialize","to_owned","try_from","try_into","type_id","user_id","Repository","borrow","borrow_mut","clone","clone_into","default","deserialize","fmt","from","into","name","serialize","to_owned","try_from","try_into","type_id","Topic","borrow","borrow_mut","clone","clone_into","default","deserialize","fmt","from","index","into","name","serialize","to_owned","try_from","try_into","type_id","User","borrow","borrow_mut","clone","clone_into","default","deserialize","email","fmt","from","index","into","name","password","serialize","to_owned","try_from","try_into","type_id","username"],"q":["f3_rs","","","","","","f3_rs::identities","","","","","","","","","","","","","","","","f3_rs::label","","","","","","","","","","","","","","","","","","","f3_rs::reaction","","","","","","","","","","","","","","","","","","f3_rs::repository","","","","","","","","","","","","","","","","f3_rs::topic","","","","","","","","","","","","","","","","","f3_rs::user","","","","","","","","","","","","","","","","","","",""],"d":["Pairs of identities mapping one forge to another.","Label associated to an issue or a comment","Reaction associated to an issue or a comment","VCS repository relative to a project.","A list of categories associated with a project.","A forge user","Pairs of identities mapping one forge to another. The …","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","Label associated to an issue or a comment","","","","","Color code of the label","","Long, multi-line description","","","Returns the argument unchanged.","Unique identifier of the label","Calls U::from(self).","Name of the label, unique within the repository","","","","","","Reaction associated to an issue or a comment","","","","","Representation of the reaction","","","","Returns the argument unchanged.","Unique identifier of the reaction","Calls U::from(self).","","","","","","Unique identifier of the user who authored the reaction","VCS repository relative to a project.","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","Suffix to add to the clone URL of the project to access …","","","","","","A list of categories associated with a project.","","","","","","","","Returns the argument unchanged.","Unique identifier of the topic","Calls U::from(self).","Name of the category the project belongs to","","","","","","A forge user","","","","","","","Mail of the user","","Returns the argument unchanged.","Unique identifier of the user","Calls U::from(self).","User readable name of the user","Password of the user","","","","","","Unique name readable name of the user"],"i":[0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6],"f":[null,null,null,null,null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["identities",3]],[[["",0],["",0]]],[[],["identities",3]],[[],["result",4]],[[["",0],["formatter",3]],["result",6]],[[]],[[]],null,[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["label",3]],[[["",0],["",0]]],null,[[],["label",3]],null,[[],["result",4]],[[["",0],["formatter",3]],["result",6]],[[]],null,[[]],null,[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["reaction",3]],[[["",0],["",0]]],null,[[],["reaction",3]],[[],["result",4]],[[["",0],["formatter",3]],["result",6]],[[]],null,[[]],[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["repository",3]],[[["",0],["",0]]],[[],["repository",3]],[[],["result",4]],[[["",0],["formatter",3]],["result",6]],[[]],[[]],null,[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["topic",3]],[[["",0],["",0]]],[[],["topic",3]],[[],["result",4]],[[["",0],["formatter",3]],["result",6]],[[]],null,[[]],null,[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["user",3]],[[["",0],["",0]]],[[],["user",3]],[[],["result",4]],null,[[["",0],["formatter",3]],["result",6]],[[]],null,[[]],null,null,[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null],"p":[[3,"Identities"],[3,"Label"],[3,"Reaction"],[3,"Repository"],[3,"Topic"],[3,"User"]]}\ +"f3_rs":{"doc":"Welcome to F3 Documentation!","t":[13,13,4,11,11,11,11,0,11,11,11,11,11,0,11,0,0,0,0,0,11,11,0,11,11,11,0,3,11,11,11,11,12,12,11,11,11,11,11,12,11,12,11,12,12,11,11,11,11,11,12,3,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,3,12,11,11,11,11,12,12,12,11,11,11,11,11,12,11,12,12,12,11,12,12,12,11,12,12,11,11,11,11,12,3,11,11,11,11,12,11,12,11,11,11,11,12,11,12,11,11,11,11,11,11,3,11,11,11,11,12,12,12,11,12,11,11,11,11,12,11,11,11,12,12,11,11,11,11,12,3,11,11,11,11,12,11,11,11,11,11,12,11,11,11,11,11,11,11,12,3,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,12,11,12,11,11,11,11,11,11,3,11,11,11,11,11,11,12,11,11,11,12,11,12,11,12,11,11,11,11,11,12],"n":["Closed","Open","OpenCloseState","borrow","borrow_mut","clone","clone_into","comment","default","deserialize","eq","fmt","from","identities","into","issue","label","milestone","reaction","repository","serialize","to_owned","topic","try_from","try_into","type_id","user","Comment","borrow","borrow_mut","clone","clone_into","content","created","default","deserialize","eq","fmt","from","index","into","issue_index","ne","poster_id","reactions","serialize","to_owned","try_from","try_into","type_id","updated","Identities","borrow","borrow_mut","clone","clone_into","default","deserialize","eq","fmt","from","into","ne","pairs","serialize","to_owned","try_from","try_into","type_id","Issue","assignees","borrow","borrow_mut","clone","clone_into","closed","content","created","default","deserialize","eq","fmt","from","index","into","is_locked","labels","milestone","ne","poster_id","reactions","reference","serialize","state","title","to_owned","try_from","try_into","type_id","updated","Label","borrow","borrow_mut","clone","clone_into","color","default","description","deserialize","eq","fmt","from","index","into","name","ne","serialize","to_owned","try_from","try_into","type_id","Milestone","borrow","borrow_mut","clone","clone_into","closed","created","deadline","default","description","deserialize","eq","fmt","from","index","into","ne","serialize","state","title","to_owned","try_from","try_into","type_id","updated","Reaction","borrow","borrow_mut","clone","clone_into","content","default","deserialize","eq","fmt","from","index","into","ne","serialize","to_owned","try_from","try_into","type_id","user_id","Repository","borrow","borrow_mut","clone","clone_into","default","deserialize","eq","fmt","from","into","name","ne","serialize","to_owned","try_from","try_into","type_id","Topic","borrow","borrow_mut","clone","clone_into","default","deserialize","eq","fmt","from","index","into","name","ne","serialize","to_owned","try_from","try_into","type_id","User","borrow","borrow_mut","clone","clone_into","default","deserialize","email","eq","fmt","from","index","into","name","ne","password","serialize","to_owned","try_from","try_into","type_id","username"],"q":["f3_rs","","","","","","","","","","","","","","","","","","","","","","","","","","","f3_rs::comment","","","","","","","","","","","","","","","","","","","","","","","","f3_rs::identities","","","","","","","","","","","","","","","","","","f3_rs::issue","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","f3_rs::label","","","","","","","","","","","","","","","","","","","","","f3_rs::milestone","","","","","","","","","","","","","","","","","","","","","","","","","f3_rs::reaction","","","","","","","","","","","","","","","","","","","","f3_rs::repository","","","","","","","","","","","","","","","","","","f3_rs::topic","","","","","","","","","","","","","","","","","","","f3_rs::user","","","","","","","","","","","","","","","","","","","","",""],"d":["A ‘closed’ issue will not see any activity in the …","An ‘open’ issue will see activity in the future","states of issue, milestone, etc with only “open” and …","","","","","Comments associated to an issue or a pull/merge request …","","","","","Returns the argument unchanged.","Pairs of identities mapping one forge to another.","Calls U::from(self).","Issues associated to a repository within a forge (Gitea, …","Label associated to an issue or a comment","Milestone associated to a repository within a forge","Reaction associated to an issue or a comment","VCS repository relative to a project.","","","A list of categories associated with a project.","","","","A forge user","Comments associated to an issue or a pull/merge request …","","","","","Multiline content of the comment","Creating time","","","","","Returns the argument unchanged.","Unique identifier of the comment","Calls U::from(self).","Unique identifier of the issue or pull/merge request …","","Unique identifier of the user who authored the comment","Multiline content of the comment","","","","","","Last update time","Pairs of identities mapping one forge to another. The …","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","Issues associated to a repository within a forge (Gitea, …","List of assignees.","","","","","The last time ‘state’ changed to ‘closed’","Long, multiline, description","Creating time","","","","","Returns the argument unchanged.","Unique identifier, relative to the repository","Calls U::from(self).","A locked issue can only be modified by privileged users","List of labels.","Name of the milestone","","Unique identifier of the user who authored the issue.","Multiline content of the comment","Target branch in the repository.","","state of the issue","Short description displayed as the title.","","","","","Last update time","Label associated to an issue or a comment","","","","","Color code of the label","","Long, multi-line description","","","","Returns the argument unchanged.","Unique identifier of the label","Calls U::from(self).","Name of the label, unique within the repository","","","","","","","Milestone associated to a repository within a forge","","","","","The last time ‘state’ changed to ‘closed’","Creating time","Deadline after which the milestone is overdue","","Long, multiline, description","","","","Returns the argument unchanged.","Unique identifier","Calls U::from(self).","","","A ‘closed’ milestone will not see any activity in the …","Short description","","","","","Last update time","Reaction associated to an issue or a comment","","","","","Representation of the reaction","","","","","Returns the argument unchanged.","Unique identifier of the reaction","Calls U::from(self).","","","","","","","Unique identifier of the user who authored the reaction","VCS repository relative to a project.","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","Suffix to add to the clone URL of the project to access …","","","","","","","A list of categories associated with a project.","","","","","","","","","Returns the argument unchanged.","Unique identifier of the topic","Calls U::from(self).","Name of the category the project belongs to","","","","","","","A forge user","","","","","","","Mail of the user","","","Returns the argument unchanged.","Unique identifier of the user","Calls U::from(self).","User readable name of the user","","Password of the user","","","","","","Unique name readable name of the user"],"i":[1,1,0,1,1,1,1,0,1,1,1,1,1,0,1,0,0,0,0,0,1,1,0,1,1,1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,0,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,0,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10],"f":[null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["openclosestate",4]],[[["",0],["",0]]],null,[[]],[[],["result",4]],[[["",0],["openclosestate",4]],["bool",0]],[[["",0],["formatter",3]],["result",6]],[[]],null,[[]],null,null,null,null,null,[[["",0]],["result",4]],[[["",0]]],null,[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["comment",3]],[[["",0],["",0]]],null,null,[[],["comment",3]],[[],["result",4]],[[["",0],["comment",3]],["bool",0]],[[["",0],["formatter",3]],["result",6]],[[]],null,[[]],null,[[["",0],["comment",3]],["bool",0]],null,null,[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["identities",3]],[[["",0],["",0]]],[[],["identities",3]],[[],["result",4]],[[["",0],["identities",3]],["bool",0]],[[["",0],["formatter",3]],["result",6]],[[]],[[]],[[["",0],["identities",3]],["bool",0]],null,[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["issue",3]],[[["",0],["",0]]],null,null,null,[[],["issue",3]],[[],["result",4]],[[["",0],["issue",3]],["bool",0]],[[["",0],["formatter",3]],["result",6]],[[]],null,[[]],null,null,null,[[["",0],["issue",3]],["bool",0]],null,null,null,[[["",0]],["result",4]],null,null,[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["label",3]],[[["",0],["",0]]],null,[[],["label",3]],null,[[],["result",4]],[[["",0],["label",3]],["bool",0]],[[["",0],["formatter",3]],["result",6]],[[]],null,[[]],null,[[["",0],["label",3]],["bool",0]],[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["milestone",3]],[[["",0],["",0]]],null,null,null,[[],["milestone",3]],null,[[],["result",4]],[[["",0],["milestone",3]],["bool",0]],[[["",0],["formatter",3]],["result",6]],[[]],null,[[]],[[["",0],["milestone",3]],["bool",0]],[[["",0]],["result",4]],null,null,[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["reaction",3]],[[["",0],["",0]]],null,[[],["reaction",3]],[[],["result",4]],[[["",0],["reaction",3]],["bool",0]],[[["",0],["formatter",3]],["result",6]],[[]],null,[[]],[[["",0],["reaction",3]],["bool",0]],[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["repository",3]],[[["",0],["",0]]],[[],["repository",3]],[[],["result",4]],[[["",0],["repository",3]],["bool",0]],[[["",0],["formatter",3]],["result",6]],[[]],[[]],null,[[["",0],["repository",3]],["bool",0]],[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["topic",3]],[[["",0],["",0]]],[[],["topic",3]],[[],["result",4]],[[["",0],["topic",3]],["bool",0]],[[["",0],["formatter",3]],["result",6]],[[]],null,[[]],null,[[["",0],["topic",3]],["bool",0]],[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["user",3]],[[["",0],["",0]]],[[],["user",3]],[[],["result",4]],null,[[["",0],["user",3]],["bool",0]],[[["",0],["formatter",3]],["result",6]],[[]],null,[[]],null,[[["",0],["user",3]],["bool",0]],null,[[["",0]],["result",4]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null],"p":[[4,"OpenCloseState"],[3,"Comment"],[3,"Identities"],[3,"Issue"],[3,"Label"],[3,"Milestone"],[3,"Reaction"],[3,"Repository"],[3,"Topic"],[3,"User"]]}\ }'); if (window.initSearch) {window.initSearch(searchIndex)}; \ No newline at end of file diff --git a/source-files.js b/source-files.js index 6a96ef0..d6bd952 100644 --- a/source-files.js +++ b/source-files.js @@ -1,3 +1,3 @@ var N = null;var sourcesIndex = {}; -sourcesIndex["f3_rs"] = {"name":"","files":["identities.rs","label.rs","lib.rs","reaction.rs","repository.rs","topic.rs","user.rs"]}; +sourcesIndex["f3_rs"] = {"name":"","files":["comment.rs","identities.rs","issue.rs","label.rs","lib.rs","milestone.rs","reaction.rs","repository.rs","topic.rs","user.rs"]}; createSourceSidebar(); diff --git a/src/f3_rs/comment.rs.html b/src/f3_rs/comment.rs.html new file mode 100644 index 0000000..458cc22 --- /dev/null +++ b/src/f3_rs/comment.rs.html @@ -0,0 +1,104 @@ +comment.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
+
/*
+ * 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/>.
+ */
+//! Comments associated to an issue or a pull/merge request within the repository of a forge
+//! (Gitea, GitLab, etc.).",
+use serde::{Deserialize, Serialize};
+
+use crate::Reaction;
+
+/// Comments associated to an issue or a pull/merge request within the repository of a forge (Gitea, GitLab, etc.).",
+#[derive(Clone, Debug, Serialize, Deserialize, Default, Eq, PartialEq)]
+pub struct Comment {
+    /// Unique identifier of the issue or pull/merge request containing the comment
+    pub issue_index: usize,
+
+    /// Unique identifier of the comment
+    pub index: usize,
+
+    /// Unique identifier of the user who authored the comment
+    pub poster_id: usize,
+
+    // TODO: add validation for format "date-time"
+    /// Creating time
+    pub created: String,
+
+    // TODO: add validation for format "date-time"
+    /// Last update time
+    pub updated: String,
+
+    /// Multiline content of the comment
+    pub content: String,
+
+    /// Multiline content of the comment
+    pub reactions: Option<Vec<Reaction>>,
+}
+
+
+ \ No newline at end of file diff --git a/src/f3_rs/identities.rs.html b/src/f3_rs/identities.rs.html index b0cb439..07d388c 100644 --- a/src/f3_rs/identities.rs.html +++ b/src/f3_rs/identities.rs.html @@ -53,7 +53,7 @@ /// forge, the second element is the id in the destination forge.Pairs of identities mapping one /// forge to another. The first element is the id in the source forge, the second element is the id /// in the destination forge. -#[derive(Clone, Debug, Serialize, Deserialize, Default)] +#[derive(Clone, Debug, Serialize, Deserialize, Default, Eq, PartialEq)] pub struct Identities { pub pairs: Vec<usize>, } diff --git a/src/f3_rs/issue.rs.html b/src/f3_rs/issue.rs.html new file mode 100644 index 0000000..1734f8f --- /dev/null +++ b/src/f3_rs/issue.rs.html @@ -0,0 +1,156 @@ +issue.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
+
/*
+ * 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/>.
+ */
+//! Issues associated to a repository within a forge (Gitea, GitLab, etc.).
+use serde::{Deserialize, Serialize};
+
+use crate::{OpenCloseState, Reaction};
+
+/// Issues associated to a repository within a forge (Gitea, GitLab, etc.).
+#[derive(Clone, Debug, Serialize, Deserialize, Default, Eq, PartialEq)]
+pub struct Issue {
+    /// Unique identifier, relative to the repository
+    pub index: usize,
+
+    /// Unique identifier of the user who authored the issue.
+    pub poster_id: usize,
+
+    /// Short description displayed as the title.
+    pub title: String,
+
+    /// Long, multiline, description
+    pub content: String,
+
+    /// Target branch in the repository.
+    ///
+    /// NOTE: Actual property is called "ref" but it is a keyword in Rust so we are using
+    /// "reference". However, "reference" will automatically be renamed to "ref" while serializing
+    /// and vice versa
+    #[serde(rename(serialize = "ref", deserialize = "ref"))]
+    pub reference: Option<String>,
+
+    /// Name of the milestone
+    pub milestone: Option<String>,
+
+    /// state of the issue
+    pub state: OpenCloseState,
+
+    /// A locked issue can only be modified by privileged users
+    pub is_locked: bool,
+
+    // TODO: add validation for format "date-time"
+    /// Creating time
+    pub created: String,
+
+    // TODO: add validation for format "date-time"
+    /// Last update time
+    pub updated: String,
+
+    // TODO: add validation for format "date-time"
+    /// The last time 'state' changed to 'closed'
+    pub closed: Option<String>,
+
+    ///  List of labels.
+    pub labels: Option<Vec<String>>,
+
+    /// Multiline content of the comment
+    pub reactions: Option<Vec<Reaction>>,
+
+    ///  List of assignees.
+    pub assignees: Option<Vec<String>>,
+}
+
+
+ \ No newline at end of file diff --git a/src/f3_rs/label.rs.html b/src/f3_rs/label.rs.html index 329e77d..187cedc 100644 --- a/src/f3_rs/label.rs.html +++ b/src/f3_rs/label.rs.html @@ -59,7 +59,7 @@ use serde::{Deserialize, Serialize}; /// Label associated to an issue or a comment -#[derive(Clone, Debug, Serialize, Deserialize, Default)] +#[derive(Clone, Debug, Serialize, Deserialize, Default, Eq, PartialEq)] pub struct Label { /// Unique identifier of the label pub index: usize, diff --git a/src/f3_rs/lib.rs.html b/src/f3_rs/lib.rs.html index 36c29b8..e20906e 100644 --- a/src/f3_rs/lib.rs.html +++ b/src/f3_rs/lib.rs.html @@ -36,6 +36,31 @@ 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
/*
  * Copyright (C) 2023  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -56,19 +81,44 @@
 //!
 //! Please refer to the [main documentation](https://f3.forgefriends.org/) for a complete overview.
 //! This is an incomplete Rust port of the F3 library created by the ForgeFriends project.
+use serde::{Deserialize, Serialize};
+
+pub mod comment;
 pub mod identities;
+pub mod issue;
 pub mod label;
+pub mod milestone;
 pub mod reaction;
 pub mod repository;
 pub mod topic;
 pub mod user;
 
+pub use comment::Comment;
 pub use identities::Identities;
+pub use issue::Issue;
 pub use label::Label;
+pub use milestone::Milestone;
 pub use reaction::Reaction;
 pub use repository::Repository;
 pub use topic::Topic;
 pub use user::User;
+
+#[derive(Clone, Debug, Serialize, Deserialize, Eq, PartialEq)]
+#[serde(rename_all = "lowercase")]
+/// states of issue, milestone, etc with only "open" and "closed" states and "closed" states and
+/// "closed" states and "closed" states
+pub enum OpenCloseState {
+    /// A 'closed' issue will not see any activity in the future
+    Closed,
+    /// An 'open' issue will see activity in the future
+    Open,
+}
+
+impl Default for OpenCloseState {
+    fn default() -> Self {
+        Self::Open
+    }
+}
 
\ No newline at end of file diff --git a/src/f3_rs/milestone.rs.html b/src/f3_rs/milestone.rs.html new file mode 100644 index 0000000..0bf39c0 --- /dev/null +++ b/src/f3_rs/milestone.rs.html @@ -0,0 +1,112 @@ +milestone.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
+
/*
+ * 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/>.
+ */
+//! Milestone associated to a repository within a forge
+use serde::{Deserialize, Serialize};
+
+use crate::OpenCloseState;
+
+/// Milestone associated to a repository within a forge
+#[derive(Clone, Debug, Serialize, Deserialize, Default, Eq, PartialEq)]
+pub struct Milestone {
+    /// Unique identifier
+    pub index: usize,
+
+    /// Short description
+    pub title: String,
+
+    /// Long, multiline, description
+    pub description: String,
+
+    // TODO: add validation for format "date-time"
+    /// Deadline after which the milestone is overdue
+    pub deadline: Option<String>,
+
+    // TODO: add validation for format "date-time"
+    /// Creating time
+    pub created: String,
+
+    // TODO: add validation for format "date-time"
+    /// Last update time
+    pub updated: String,
+
+    // TODO: add validation for format "date-time"
+    /// The last time 'state' changed to 'closed'
+    pub closed: String,
+
+    /// A 'closed' milestone will not see any activity in the future, otherwise it is 'open'.
+    pub state: OpenCloseState,
+}
+
+
+ \ No newline at end of file diff --git a/src/f3_rs/reaction.rs.html b/src/f3_rs/reaction.rs.html index 3ad2fc8..bba58d2 100644 --- a/src/f3_rs/reaction.rs.html +++ b/src/f3_rs/reaction.rs.html @@ -54,7 +54,7 @@ use serde::{Deserialize, Serialize}; /// Reaction associated to an issue or a comment -#[derive(Clone, Debug, Serialize, Deserialize, Default)] +#[derive(Clone, Debug, Serialize, Deserialize, Default, Eq, PartialEq)] pub struct Reaction { /// Unique identifier of the reaction pub index: usize, diff --git a/src/f3_rs/repository.rs.html b/src/f3_rs/repository.rs.html index 3b1debd..71d214a 100644 --- a/src/f3_rs/repository.rs.html +++ b/src/f3_rs/repository.rs.html @@ -48,7 +48,7 @@ use serde::{Deserialize, Serialize}; /// VCS repository relative to a project. -#[derive(Clone, Debug, Serialize, Deserialize, Default)] +#[derive(Clone, Debug, Serialize, Deserialize, Default, Eq, PartialEq)] pub struct Repository { /// Suffix to add to the clone URL of the project to access the repository. pub name: String, diff --git a/src/f3_rs/topic.rs.html b/src/f3_rs/topic.rs.html index f2468c8..0eceedb 100644 --- a/src/f3_rs/topic.rs.html +++ b/src/f3_rs/topic.rs.html @@ -51,7 +51,7 @@ use serde::{Deserialize, Serialize}; /// A list of categories associated with a project. -#[derive(Clone, Debug, Serialize, Deserialize, Default)] +#[derive(Clone, Debug, Serialize, Deserialize, Default, Eq, PartialEq)] pub struct Topic { /// Unique identifier of the topic pub index: usize, diff --git a/src/f3_rs/user.rs.html b/src/f3_rs/user.rs.html index a76206f..35c69a7 100644 --- a/src/f3_rs/user.rs.html +++ b/src/f3_rs/user.rs.html @@ -60,7 +60,7 @@ use serde::{Deserialize, Serialize}; /// A forge user -#[derive(Clone, Debug, Serialize, Deserialize, Default)] +#[derive(Clone, Debug, Serialize, Deserialize, Default, Eq, PartialEq)] pub struct User { /// Unique identifier of the user pub index: usize,