pub struct UpdateProject {
pub name: Option<String>,
pub description: Option<Option<String>>,
pub avatar_id: Option<Option<String>>,
}Fields§
§name: Option<String>Удобочитаемое имя проекта. Максимальная длина — 255 символов.
description: Option<Option<String>>Описание проекта. Максимальная длина — 255 символов.
avatar_id: Option<Option<String>>ID аватара пользователя. Описание методов работы с аватарами появится позднее.
Implementations§
Source§impl UpdateProject
impl UpdateProject
pub fn new() -> UpdateProject
Trait Implementations§
Source§impl Clone for UpdateProject
impl Clone for UpdateProject
Source§fn clone(&self) -> UpdateProject
fn clone(&self) -> UpdateProject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateProject
impl Debug for UpdateProject
Source§impl Default for UpdateProject
impl Default for UpdateProject
Source§fn default() -> UpdateProject
fn default() -> UpdateProject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateProject
impl<'de> Deserialize<'de> for UpdateProject
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 UpdateProject
impl PartialEq for UpdateProject
Source§fn eq(&self, other: &UpdateProject) -> bool
fn eq(&self, other: &UpdateProject) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateProject
impl Serialize for UpdateProject
impl StructuralPartialEq for UpdateProject
Auto Trait Implementations§
impl Freeze for UpdateProject
impl RefUnwindSafe for UpdateProject
impl Send for UpdateProject
impl Sync for UpdateProject
impl Unpin for UpdateProject
impl UnsafeUnpin for UpdateProject
impl UnwindSafe for UpdateProject
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