pub struct Project {Show 17 fields
pub id: Uuid,
pub name: String,
pub description: String,
pub github_url: String,
pub created_by: Uuid,
pub deleted: Option<bool>,
pub private: Option<bool>,
pub downloads: Option<i64>,
pub image: Option<String>,
pub long_description: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub organization_id: Option<Uuid>,
pub latest_version: Option<String>,
pub deprecated: Option<bool>,
pub organization_name: Option<String>,
pub organization_verified: Option<bool>,
}Expand description
A project (package) in the registry.
Fields§
§id: UuidThe unique ID for the project.
name: StringThe name of the project.
description: StringThe description of the project.
github_url: StringThe URL of the repository on GitHub.
created_by: UuidThe unique ID for the owner of the project.
deleted: Option<bool>Whether this project has been deleted.
private: Option<bool>Whether the project is private.
downloads: Option<i64>Other metadata below
image: Option<String>§long_description: Option<String>§created_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>§organization_id: Option<Uuid>§latest_version: Option<String>§deprecated: Option<bool>§organization_name: Option<String>§organization_verified: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
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
impl Eq for Project
impl StructuralPartialEq for Project
Auto Trait Implementations§
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnsafeUnpin for Project
impl UnwindSafe for Project
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more