Struct db_core::Repository
source · pub struct Repository {
pub html_url: String,
pub tags: Option<Vec<String>>,
pub url: String,
pub name: String,
pub username: String,
pub description: Option<String>,
pub website: Option<String>,
pub import: bool,
}
Expand description
repository
Fields§
§html_url: String
html link to the repository
repository topic tags
url: String
url of the forge instance: with scheme but remove trailing slash url can be derived from html_link also, but used to link to user’s forge instance
name: String
repository name
username: String
repository owner
description: Option<String>
repository description, if any
website: Option<String>
repository website, if any
import: bool
is this repository an import
Trait Implementations§
source§impl Clone for Repository
impl Clone for Repository
source§fn clone(&self) -> Repository
fn clone(&self) -> Repository
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Repository
impl Debug for Repository
source§impl<'de> Deserialize<'de> for Repository
impl<'de> Deserialize<'de> for Repository
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Repository> for Repository
impl PartialEq<Repository> for Repository
source§fn eq(&self, other: &Repository) -> bool
fn eq(&self, other: &Repository) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.