{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls/comments/211080406","pull_request_review_id":147434411,"id":211080406,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTA4MDQwNg==","diff_hunk":"@@ -0,0 +1,191 @@\n+// Copyright 2018 OpenST Ltd.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+//    http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+//! This module implements the Address struct and its methods.\n+\n+use blockchain::types::error::{Error, ErrorKind};\n+use std::cmp::PartialEq;\n+use std::fmt;\n+use std::fmt::{Debug, Formatter, LowerHex};\n+\n+/// An Address is represented by a 20-bytes address.\n+pub struct Address([u8; 20]);\n+\n+impl Address {\n+    /// Creates an address with the address given as 20 bytes.\n+    pub fn from_bytes(bytes: [u8; 20]) -> Self {\n+        Address(bytes)\n+    }\n+\n+    /// Creates an address from a string in hex format of the address.\n+    ///\n+    /// *Arguments*\n+    ///\n+    /// * `string` - A Strting in hex format that represents 20 bytes.\n+    ///              Must be exactly 40 characters long. Any leading `0x` will be removed.\n+    pub fn from_string(string: &str) -> Result<Self, Error> {\n+        let mut cleaned = &string.to_string()[..];\n+        cleaned = cleaned.trim();\n+\n+        // cut leading \"0x\" if present\n+        if &cleaned[..2] == \"0x\" {\n+            cleaned = &cleaned[2..];\n+        }\n+\n+        if cleaned.len() != 40 {\n+            return Err(Error::new(\n+                ErrorKind::InvalidAddress,\n+                format!(\n+                    \"Expected 40 characters. Got {} instead: {}\",\n+                    cleaned.len(),\n+                    cleaned\n+                ),\n+            ));\n+        }\n+\n+        // Convert byte by byte.\n+        let mut bytes = [0u8; 20];\n+        let mut index = 0;\n+        loop {\n+            let byte = u8::from_str_radix(&cleaned[..2], 16);\n+            let byte = match byte {\n+                Ok(byte) => byte,\n+                Err(error) => {\n+                    return Err(Error::new(\n+                        ErrorKind::InvalidAddress,\n+                        format!(\"Could not parse hex string into address bytes: {}\", error),\n+                    ))\n+                }\n+            };\n+\n+            bytes[index] = byte;\n+\n+            cleaned = &cleaned[2..];\n+            if cleaned.len() < 2 {\n+                break;\n+            }\n+            index += 1;\n+        }\n+\n+        Ok(Address(bytes))\n+    }\n+\n+    /// Returns the bytes representation of this address.\n+    pub fn bytes(&self) -> [u8; 20] {\n+        self.0\n+    }\n+}\n+\n+impl PartialEq for Address {\n+    /// Two addresss are equal if their byte representations are equal.\n+    fn eq(&self, other: &Address) -> bool {\n+        self.bytes() == other.bytes()\n+    }\n+}\n+\n+impl LowerHex for Address {\n+    /// Writes the bytes as hex with leading zeros to the given Formatter.\n+    fn fmt(&self, f: &mut Formatter) -> Result<(), fmt::Error> {\n+        for byte in &self.0 {\n+            write!(f, \"{:02x}\", byte)?;\n+        }\n+\n+        Ok(())\n+    }\n+}\n+\n+impl Debug for Address {\n+    /// Debug format is lower hex.\n+    fn fmt(&self, f: &mut Formatter) -> Result<(), fmt::Error> {\n+        write!(f, \"{:x}\", self)?;\n+\n+        Ok(())\n+    }\n+}\n+\n+// Converting other types to and from Addresss\n+pub trait AsAddress {\n+    fn as_address(&self) -> Address;\n+}\n+\n+pub trait FromAddress {\n+    fn from_address(address: Address) -> Self;\n+}\n+\n+#[cfg(test)]\n+mod test {\n+    use super::*;\n+\n+    #[test]\n+    fn address_from_string() {\n+        let mut address =\n+            Address::from_string(&\"0000000000000000000000000000000000000000\".to_owned()).unwrap();","path":"src/blockchain/types/address.rs","position":133,"original_position":133,"commit_id":"c91817482a91543b247f1b91ef75da3eb5f441f1","original_commit_id":"c91817482a91543b247f1b91ef75da3eb5f441f1","user":{"login":"benjaminbollen","id":5057507,"node_id":"MDQ6VXNlcjUwNTc1MDc=","avatar_url":"https://avatars0.githubusercontent.com/u/5057507?v=4","gravatar_id":"","url":"https://api.github.com/users/benjaminbollen","html_url":"https://github.com/benjaminbollen","followers_url":"https://api.github.com/users/benjaminbollen/followers","following_url":"https://api.github.com/users/benjaminbollen/following{/other_user}","gists_url":"https://api.github.com/users/benjaminbollen/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminbollen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminbollen/subscriptions","organizations_url":"https://api.github.com/users/benjaminbollen/orgs","repos_url":"https://api.github.com/users/benjaminbollen/repos","events_url":"https://api.github.com/users/benjaminbollen/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminbollen/received_events","type":"User","site_admin":false},"body":":)  -- I think `Address::from_string(\"0000000000000000000000000000000000000000\").unwrap();` does the trick 💃 ","created_at":"2018-08-18T16:29:31Z","updated_at":"2018-08-18T16:56:07Z","html_url":"https://github.com/OpenSTFoundation/rust-mosaic/pull/7#discussion_r211080406","pull_request_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls/7","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls/comments/211080406"},"html":{"href":"https://github.com/OpenSTFoundation/rust-mosaic/pull/7#discussion_r211080406"},"pull_request":{"href":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls/7","id":207356664,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MzU2NjY0","html_url":"https://github.com/OpenSTFoundation/rust-mosaic/pull/7","diff_url":"https://github.com/OpenSTFoundation/rust-mosaic/pull/7.diff","patch_url":"https://github.com/OpenSTFoundation/rust-mosaic/pull/7.patch","issue_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/issues/7","number":7,"state":"open","locked":false,"title":"Added example of how to use web3","user":{"login":"schemar","id":1196244,"node_id":"MDQ6VXNlcjExOTYyNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1196244?v=4","gravatar_id":"","url":"https://api.github.com/users/schemar","html_url":"https://github.com/schemar","followers_url":"https://api.github.com/users/schemar/followers","following_url":"https://api.github.com/users/schemar/following{/other_user}","gists_url":"https://api.github.com/users/schemar/gists{/gist_id}","starred_url":"https://api.github.com/users/schemar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schemar/subscriptions","organizations_url":"https://api.github.com/users/schemar/orgs","repos_url":"https://api.github.com/users/schemar/repos","events_url":"https://api.github.com/users/schemar/events{/privacy}","received_events_url":"https://api.github.com/users/schemar/received_events","type":"User","site_admin":false},"body":"Abstracted away from ethereum so that all web3 functionality should be\r\nwithin a single file (ethereum.rs).\r\n\r\nIn this simple example, all the accounts from the source chain are\r\nprinted to std out.\r\n\r\nError handling should definitely be improved.\r\nThere are no unit tests yet, as there is no meaningful functionality\r\nyet. It is important that testing is done well once concrete use cases\r\nget implemented and that we do not need to make actual calls to an\r\nethereum test net in order to run the mosaic tests.","created_at":"2018-08-09T15:29:54Z","updated_at":"2018-08-18T16:56:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b65bb2d5bc3d0f49dfe0c800e0ddf0e729396682","assignee":{"login":"schemar","id":1196244,"node_id":"MDQ6VXNlcjExOTYyNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1196244?v=4","gravatar_id":"","url":"https://api.github.com/users/schemar","html_url":"https://github.com/schemar","followers_url":"https://api.github.com/users/schemar/followers","following_url":"https://api.github.com/users/schemar/following{/other_user}","gists_url":"https://api.github.com/users/schemar/gists{/gist_id}","starred_url":"https://api.github.com/users/schemar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schemar/subscriptions","organizations_url":"https://api.github.com/users/schemar/orgs","repos_url":"https://api.github.com/users/schemar/repos","events_url":"https://api.github.com/users/schemar/events{/privacy}","received_events_url":"https://api.github.com/users/schemar/received_events","type":"User","site_admin":false},"assignees":[{"login":"schemar","id":1196244,"node_id":"MDQ6VXNlcjExOTYyNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1196244?v=4","gravatar_id":"","url":"https://api.github.com/users/schemar","html_url":"https://github.com/schemar","followers_url":"https://api.github.com/users/schemar/followers","following_url":"https://api.github.com/users/schemar/following{/other_user}","gists_url":"https://api.github.com/users/schemar/gists{/gist_id}","starred_url":"https://api.github.com/users/schemar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schemar/subscriptions","organizations_url":"https://api.github.com/users/schemar/orgs","repos_url":"https://api.github.com/users/schemar/repos","events_url":"https://api.github.com/users/schemar/events{/privacy}","received_events_url":"https://api.github.com/users/schemar/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"pgev","id":31165699,"node_id":"MDQ6VXNlcjMxMTY1Njk5","avatar_url":"https://avatars3.githubusercontent.com/u/31165699?v=4","gravatar_id":"","url":"https://api.github.com/users/pgev","html_url":"https://github.com/pgev","followers_url":"https://api.github.com/users/pgev/followers","following_url":"https://api.github.com/users/pgev/following{/other_user}","gists_url":"https://api.github.com/users/pgev/gists{/gist_id}","starred_url":"https://api.github.com/users/pgev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgev/subscriptions","organizations_url":"https://api.github.com/users/pgev/orgs","repos_url":"https://api.github.com/users/pgev/repos","events_url":"https://api.github.com/users/pgev/events{/privacy}","received_events_url":"https://api.github.com/users/pgev/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls/7/commits","review_comments_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls/7/comments","review_comment_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/issues/7/comments","statuses_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/statuses/c91817482a91543b247f1b91ef75da3eb5f441f1","head":{"label":"schemar:feature/web3_example","ref":"feature/web3_example","sha":"c91817482a91543b247f1b91ef75da3eb5f441f1","user":{"login":"schemar","id":1196244,"node_id":"MDQ6VXNlcjExOTYyNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1196244?v=4","gravatar_id":"","url":"https://api.github.com/users/schemar","html_url":"https://github.com/schemar","followers_url":"https://api.github.com/users/schemar/followers","following_url":"https://api.github.com/users/schemar/following{/other_user}","gists_url":"https://api.github.com/users/schemar/gists{/gist_id}","starred_url":"https://api.github.com/users/schemar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schemar/subscriptions","organizations_url":"https://api.github.com/users/schemar/orgs","repos_url":"https://api.github.com/users/schemar/repos","events_url":"https://api.github.com/users/schemar/events{/privacy}","received_events_url":"https://api.github.com/users/schemar/received_events","type":"User","site_admin":false},"repo":{"id":143749178,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM3NDkxNzg=","name":"rust-mosaic","full_name":"schemar/rust-mosaic","owner":{"login":"schemar","id":1196244,"node_id":"MDQ6VXNlcjExOTYyNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1196244?v=4","gravatar_id":"","url":"https://api.github.com/users/schemar","html_url":"https://github.com/schemar","followers_url":"https://api.github.com/users/schemar/followers","following_url":"https://api.github.com/users/schemar/following{/other_user}","gists_url":"https://api.github.com/users/schemar/gists{/gist_id}","starred_url":"https://api.github.com/users/schemar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schemar/subscriptions","organizations_url":"https://api.github.com/users/schemar/orgs","repos_url":"https://api.github.com/users/schemar/repos","events_url":"https://api.github.com/users/schemar/events{/privacy}","received_events_url":"https://api.github.com/users/schemar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/schemar/rust-mosaic","description":"Asynchronous, heterogeneous composition of blockchains","fork":true,"url":"https://api.github.com/repos/schemar/rust-mosaic","forks_url":"https://api.github.com/repos/schemar/rust-mosaic/forks","keys_url":"https://api.github.com/repos/schemar/rust-mosaic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/schemar/rust-mosaic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/schemar/rust-mosaic/teams","hooks_url":"https://api.github.com/repos/schemar/rust-mosaic/hooks","issue_events_url":"https://api.github.com/repos/schemar/rust-mosaic/issues/events{/number}","events_url":"https://api.github.com/repos/schemar/rust-mosaic/events","assignees_url":"https://api.github.com/repos/schemar/rust-mosaic/assignees{/user}","branches_url":"https://api.github.com/repos/schemar/rust-mosaic/branches{/branch}","tags_url":"https://api.github.com/repos/schemar/rust-mosaic/tags","blobs_url":"https://api.github.com/repos/schemar/rust-mosaic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/schemar/rust-mosaic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/schemar/rust-mosaic/git/refs{/sha}","trees_url":"https://api.github.com/repos/schemar/rust-mosaic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/schemar/rust-mosaic/statuses/{sha}","languages_url":"https://api.github.com/repos/schemar/rust-mosaic/languages","stargazers_url":"https://api.github.com/repos/schemar/rust-mosaic/stargazers","contributors_url":"https://api.github.com/repos/schemar/rust-mosaic/contributors","subscribers_url":"https://api.github.com/repos/schemar/rust-mosaic/subscribers","subscription_url":"https://api.github.com/repos/schemar/rust-mosaic/subscription","commits_url":"https://api.github.com/repos/schemar/rust-mosaic/commits{/sha}","git_commits_url":"https://api.github.com/repos/schemar/rust-mosaic/git/commits{/sha}","comments_url":"https://api.github.com/repos/schemar/rust-mosaic/comments{/number}","issue_comment_url":"https://api.github.com/repos/schemar/rust-mosaic/issues/comments{/number}","contents_url":"https://api.github.com/repos/schemar/rust-mosaic/contents/{+path}","compare_url":"https://api.github.com/repos/schemar/rust-mosaic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/schemar/rust-mosaic/merges","archive_url":"https://api.github.com/repos/schemar/rust-mosaic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/schemar/rust-mosaic/downloads","issues_url":"https://api.github.com/repos/schemar/rust-mosaic/issues{/number}","pulls_url":"https://api.github.com/repos/schemar/rust-mosaic/pulls{/number}","milestones_url":"https://api.github.com/repos/schemar/rust-mosaic/milestones{/number}","notifications_url":"https://api.github.com/repos/schemar/rust-mosaic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/schemar/rust-mosaic/labels{/name}","releases_url":"https://api.github.com/repos/schemar/rust-mosaic/releases{/id}","deployments_url":"https://api.github.com/repos/schemar/rust-mosaic/deployments","created_at":"2018-08-06T15:37:42Z","updated_at":"2018-08-16T08:14:33Z","pushed_at":"2018-08-16T08:16:39Z","git_url":"git://github.com/schemar/rust-mosaic.git","ssh_url":"git@github.com:schemar/rust-mosaic.git","clone_url":"https://github.com/schemar/rust-mosaic.git","svn_url":"https://github.com/schemar/rust-mosaic","homepage":"https://ost.com","size":1066,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"OpenSTFoundation:develop","ref":"develop","sha":"7c98b537aafcb4b7bafb153302871f7ccf299075","user":{"login":"OpenSTFoundation","id":31754790,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzU0Nzkw","avatar_url":"https://avatars2.githubusercontent.com/u/31754790?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenSTFoundation","html_url":"https://github.com/OpenSTFoundation","followers_url":"https://api.github.com/users/OpenSTFoundation/followers","following_url":"https://api.github.com/users/OpenSTFoundation/following{/other_user}","gists_url":"https://api.github.com/users/OpenSTFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSTFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSTFoundation/subscriptions","organizations_url":"https://api.github.com/users/OpenSTFoundation/orgs","repos_url":"https://api.github.com/users/OpenSTFoundation/repos","events_url":"https://api.github.com/users/OpenSTFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSTFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":121307253,"node_id":"MDEwOlJlcG9zaXRvcnkxMjEzMDcyNTM=","name":"rust-mosaic","full_name":"OpenSTFoundation/rust-mosaic","owner":{"login":"OpenSTFoundation","id":31754790,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzU0Nzkw","avatar_url":"https://avatars2.githubusercontent.com/u/31754790?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenSTFoundation","html_url":"https://github.com/OpenSTFoundation","followers_url":"https://api.github.com/users/OpenSTFoundation/followers","following_url":"https://api.github.com/users/OpenSTFoundation/following{/other_user}","gists_url":"https://api.github.com/users/OpenSTFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSTFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSTFoundation/subscriptions","organizations_url":"https://api.github.com/users/OpenSTFoundation/orgs","repos_url":"https://api.github.com/users/OpenSTFoundation/repos","events_url":"https://api.github.com/users/OpenSTFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSTFoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSTFoundation/rust-mosaic","description":"Asynchronous, heterogeneous composition of blockchains","fork":false,"url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic","forks_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/forks","keys_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/teams","hooks_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/hooks","issue_events_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/events","assignees_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/tags","blobs_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/languages","stargazers_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/stargazers","contributors_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/contributors","subscribers_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/subscribers","subscription_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/subscription","commits_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/merges","archive_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/downloads","issues_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/labels{/name}","releases_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/deployments","created_at":"2018-02-12T21:58:15Z","updated_at":"2018-08-14T16:05:41Z","pushed_at":"2018-08-16T08:16:41Z","git_url":"git://github.com/OpenSTFoundation/rust-mosaic.git","ssh_url":"git@github.com:OpenSTFoundation/rust-mosaic.git","clone_url":"https://github.com/OpenSTFoundation/rust-mosaic.git","svn_url":"https://github.com/OpenSTFoundation/rust-mosaic","homepage":"https://ost.com","size":1026,"stargazers_count":1,"watchers_count":1,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls/7"},"html":{"href":"https://github.com/OpenSTFoundation/rust-mosaic/pull/7"},"issue":{"href":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/issues/7"},"comments":{"href":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSTFoundation/rust-mosaic/statuses/c91817482a91543b247f1b91ef75da3eb5f441f1"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"benjaminbollen"}}