pub struct PatchProjectsBody {Show 13 fields
pub categories: Option<Vec<String>>,
pub add_categories: Option<Vec<String>>,
pub remove_categories: Option<Vec<String>>,
pub additional_categories: Option<Vec<String>>,
pub add_additional_categories: Option<Vec<String>>,
pub remove_additional_categories: Option<Vec<String>>,
pub donation_urls: Option<Vec<ProjectDonationUrl>>,
pub add_donation_urls: Option<Vec<ProjectDonationUrl>>,
pub remove_donation_urls: Option<Vec<ProjectDonationUrl>>,
pub issues_url: Option<Option<String>>,
pub source_url: Option<Option<String>>,
pub wiki_url: Option<Option<String>>,
pub discord_url: Option<Option<String>>,
}
Fields§
§categories: Option<Vec<String>>
Set all of the categories to the categories specified here
add_categories: Option<Vec<String>>
Add all of the categories specified here
remove_categories: Option<Vec<String>>
Remove all of the categories specified here
additional_categories: Option<Vec<String>>
Set all of the additional categories to the categories specified here
add_additional_categories: Option<Vec<String>>
Add all of the additional categories specified here
remove_additional_categories: Option<Vec<String>>
Remove all of the additional categories specified here
donation_urls: Option<Vec<ProjectDonationUrl>>
Set all of the donation links to the donation links specified here
add_donation_urls: Option<Vec<ProjectDonationUrl>>
Add all of the donation links specified here
remove_donation_urls: Option<Vec<ProjectDonationUrl>>
Remove all of the donation links specified here
issues_url: Option<Option<String>>
An optional link to where to submit bugs or issues with the projects
source_url: Option<Option<String>>
An optional link to the source code of the projects
wiki_url: Option<Option<String>>
An optional link to the projects’ wiki page or other relevant information
discord_url: Option<Option<String>>
An optional invite link to the projects’ discord
Implementations§
Source§impl PatchProjectsBody
impl PatchProjectsBody
pub fn new() -> PatchProjectsBody
Trait Implementations§
Source§impl Clone for PatchProjectsBody
impl Clone for PatchProjectsBody
Source§fn clone(&self) -> PatchProjectsBody
fn clone(&self) -> PatchProjectsBody
Returns a duplicate 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 PatchProjectsBody
impl Debug for PatchProjectsBody
Source§impl Default for PatchProjectsBody
impl Default for PatchProjectsBody
Source§fn default() -> PatchProjectsBody
fn default() -> PatchProjectsBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchProjectsBody
impl<'de> Deserialize<'de> for PatchProjectsBody
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 for PatchProjectsBody
impl PartialEq for PatchProjectsBody
Source§impl Serialize for PatchProjectsBody
impl Serialize for PatchProjectsBody
impl StructuralPartialEq for PatchProjectsBody
Auto Trait Implementations§
impl Freeze for PatchProjectsBody
impl RefUnwindSafe for PatchProjectsBody
impl Send for PatchProjectsBody
impl Sync for PatchProjectsBody
impl Unpin for PatchProjectsBody
impl UnwindSafe for PatchProjectsBody
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