pub struct EditableProject {Show 19 fields
pub slug: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub categories: Option<Vec<String>>,
pub client_side: Option<ClientSide>,
pub server_side: Option<ServerSide>,
pub body: Option<String>,
pub status: Option<Status>,
pub requested_status: Option<Option<RequestedStatus>>,
pub additional_categories: Option<Vec<String>>,
pub issues_url: Option<Option<String>>,
pub source_url: Option<Option<String>>,
pub wiki_url: Option<Option<String>>,
pub discord_url: Option<Option<String>>,
pub donation_urls: Option<Vec<ProjectDonationUrl>>,
pub license_id: Option<String>,
pub license_url: Option<Option<String>>,
pub moderation_message: Option<Option<String>>,
pub moderation_message_body: Option<Option<String>>,
}
Fields§
§slug: Option<String>
The slug of a project, used for vanity URLs. Regex: ^[\\w!@$()`.+,\"\\-']{3,64}$
title: Option<String>
The title or name of the project
description: Option<String>
A short description of the project
categories: Option<Vec<String>>
A list of the categories that the project has
client_side: Option<ClientSide>
The client side support of the project
server_side: Option<ServerSide>
The server side support of the project
body: Option<String>
A long form description of the project
status: Option<Status>
The status of the project
requested_status: Option<Option<RequestedStatus>>
The requested status when submitting for review or scheduling the project for release
additional_categories: Option<Vec<String>>
A list of categories which are searchable but non-primary
issues_url: Option<Option<String>>
An optional link to where to submit bugs or issues with the project
source_url: Option<Option<String>>
An optional link to the source code of the project
wiki_url: Option<Option<String>>
An optional link to the project’s wiki page or other relevant information
discord_url: Option<Option<String>>
An optional invite link to the project’s discord
donation_urls: Option<Vec<ProjectDonationUrl>>
A list of donation links for the project
license_id: Option<String>
The SPDX license ID of a project
license_url: Option<Option<String>>
The URL to this license
moderation_message: Option<Option<String>>
The title of the moderators’ message for the project
moderation_message_body: Option<Option<String>>
The body of the moderators’ message for the project
Implementations§
Source§impl EditableProject
impl EditableProject
pub fn new() -> EditableProject
Trait Implementations§
Source§impl Clone for EditableProject
impl Clone for EditableProject
Source§fn clone(&self) -> EditableProject
fn clone(&self) -> EditableProject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more